Tag Info

New answers tagged

1

The answer is very simple: the formatting of the urldate in the bibliography is controlled by the urldate option of the biblatex package. Thus \documentclass{article} \usepackage[backend=biber,urldate=comp]{biblatex} \addbibresource{test.bib} \begin{document} Test 1 \cite{IPAustraliaStandardPatentApplication} \printbibliography \end{document} will ...


3

No clue why, but the citation style invokes \clearfield{extrayear} before printing the year label even when origyear is unavailable. Under cmsdate=both you can avoid this by adding the following to your preamble. \makeatletter % citations \renewbibmacro*{cite:bothyear+oldstyle}{% \iftoggle{cms@switchdates} {\printtext[bibhyperref]{% \bibopenparen% ...


1

From verbose-trad2.cbx it is apparent that, for all citation commands except \textcite and \textcites, names in subsequent/short citation labels are printed by the cite:name bibliography macro: \newbibmacro*{cite:name}{% \printnames{labelname}% \setunit*{\nametitledelim}} In your document preamble you can redefine this to print the same name list as ...


1

The problem was that \shoulddoibid wasn't working. I looked in the biblatex manual, and it turns out that iffirsonpage is context-dependent. I think that the parser was evaluating it in the context of \newcommand, making it a literal, rather than evaluating it each time as expected. I've added the final command in case anyone finds it useful. ...


7

Paul Stanley's solution also works, but it is possible to have your biblatex cake and eat it too, you simply have to tell biblatex to use the original definition of footnote in its autocite commands. Luckily as Audrey notes in the comments, this can be done with the \AtEveryCite hook that biblatex provides. This code is executed at the beginning of each ...


2

If you don't have footnotes, biblatex can't put citations into footnotes! All \autocite is doing is putting citations into a \footnote, and your redefinition is working to remove them all. If you want to create a "personal" footnote command which can be switched off, could you not define your own command to use in place of \footnote: ...


3

The macro \mkbibdataapalongextra is defined in the language specific files american-apa.lbx, austrian-apa.lbx, etc., so if these are not loaded correctly then that macro is not defined, which leads to the issue you observed. Be default, biblatex does not know to load american-apa, which is why you need \DeclareLanguageMapping{american}{american-apa}. ...


1

\citeyear is a generic citing command provided by biblatex that is not modified by biblatex-chicago - it literally just prints the date field. To get the behaviour you wanted, you have to modify its definition so that it knowns about origyear and the like. In the code below, I have redefined \citeyear so that it checks if origyear exists, and prints ...


2

You don't want to 'hardcode' parentheses in your bibmacros. See § 4.11.7.2 of the manual (my version is currently 2.5): it is essential reading for what you are trying to achieve. A simple-minded implementation of your bibmacro would be: % Publishing information \renewbibmacro*{publisher+edition+date}{% \printtext[parens]{% <-- added ...


1

At the moment I have the following work flow: I manage my paper collection with Zotero. It makes it very easy to add a newly read paper or a paper that is still to be read to the collection. It is just one click, once you found the paper in the internet! With the help of tags you can organize your collection by topic. While it is possible to export the ...


4

try [...] \usepackage{polyglossia} % support for languages \makeatletter \def\bbl@main@language{russian} \makeatother [...}


1

Finally, I found a suitable workaround for this problem. The tweaking should not be from within later tool chains, like biblatex, but rather should be dealt with right from the beginning, i.e., from within the citation manager backend, from Zotero, even at the very moment when you automagically grab your reference from the web (BTW that what makes Zotero an ...


2

You can use the refsection environment in biblatex to divide your reference list into several section. For a CV I'd suggest something like: \begin{refsection} \nocite{key1} \printbibliography[heading=Publications] \end{refsection} \begin{refsection} \nocite{key2} \printbibliography[heading=Conference presentations] \end{refsection} And so on


1

Assuming that the tag you have set is correct (you are using biblatex) you should not use multibib or other packages, which are not compatible. It can all be done within biblatex. The basic method is as follows: Instead of a simple \printbibliography command, you enter \printbibliography[] The optional command (which I have shown with []) limits that ...


1

I had the same problem today, and here is my simple solution: I just define a single column using the "columns" environment. By default, Beamer will put that column in the center of the page, so this should take care of both margins. \begin{frame}[allowframebreaks]{References} \begin{columns} \column{0.85\paperwidth} \printbibliography \end{columns} ...


2

You have to put the commands \bibopenbracket and \bibclosebracket outsite of the cite-loop: \DeclareCiteCommand{\supercite}[\mkbibsuperscript] {\iffieldundef{prenote} {} {\BibliographyWarning{Ignoring prenote argument}}% \iffieldundef{postnote} {} {\BibliographyWarning{Ignoring postnote argument}}% \bibopenbracket}% ...


0

I use Zotero + Biblatex + Biber backend + TexStudio as workflow for automation of bibliography citations. You may want to have a look at my answer here, you can give it a try and let me know if that works fine with you.


12

I use Zotero and I found this workflow works well so far, let me know if you find a better way to get the same job done. The following workflow will provide automated human-error-proof bibliography citation in LaTeX, or a road map for bibliogrpahy management and citation in PhD thesis Workflow settings: The below workflow makes use of Zotero ...


7

This is a result of the disambiguation performed by biblatex for authoryear type styles - to avoid mistaking people with the same surname (but different initals or names), it dynamically adds initials or full names (as set by options). The apa style adapts that to add square brackets around those. For details see section 4.11.4.1 of the biblatex manual. To ...


3

I think this will do the job: it's largely a matter of copying the definitions pertinent to \supercite into the commands that define \textcite. Please note that I have "hardwired" this, in other words it will not adapt automatically to changes in "autocite", so if you stopped using "autocite=superscript" you would need to delete the redefinitions too. Also, ...


8

Try the biber option --tool-resolve. This resolves crossref/xref and xdata. To reverse the standard biblatex mappings you mention (which are implemented in biblatex.def using the standard macros in the documentation), copy the standard mappings to your preamble and edit as necessary to reverse them: \DeclareSourcemap[datatype=bibtex]{ \map{ ...


7

This answer is more related to the question “Biblatex guide?”, but because of [duplicate] mark on it — with which I strongly disagree :) — I post it here. Let me introduce a biblatex-related document I prepared some time ago. It consists of three parts http://www.khirevich.com/latex/bibliography/ http://www.khirevich.com/latex/biblatex/ ...


4

biblatex gives some small stretchability in URL breaking using url package \Urlmuskip parameter. This is there whether or not multicolumn is used, it's just that in the narrow measure of a multi column setting the stretchability is more likely to be used if available. There is probably a higher level biblatex setting for this, but this just patches the ...


3

The default in biblatex is to use the uniquelist option. APA style also uses this. This option dynamically changes the maxnames/minnames settings in order to make citations unique. This is required by APA. APA style also applies APA rules regarding citation list truncation after the first cite within a paragraph. You are probably noticing the effects of ...


0

I discovered that the problem was due to multicolumn. My solution was to disable multicolum for the reference list. If anyone has a solution that doesn't require disabling multicolumn for the reference list I will be very interested.


2

The following achieves the customization that you wanted. It is a lot of code (but mostly repetition of default code) purely because I wanted to make it a bit more robust. It's not perfect ( I ran out of time and hacked a bit) but it should work. Note: As the solutions stands the comma and space before the number field in incollection will only be present ...


0

The solution I found was to replace citestyle=apa with citestyle=authoryear. This fixes the problem.


1

(Too long for a comment...) There are two obvious ways to format the term 'Heliobacter pylori' consistently: either in the preamble of your document define: \newcommand\helicobacter{\emph{Helicobacter pylori}} and use that string in your .bib file; or, to couple the definition more closely with your .bib file, you could put this it the file itself: ...


11

You could: Set the skipbib option on the particular key in your .bib file. Define a category with \DeclareBibliographyCategory{dontbib} and then \addtocategory{dontbib}{key} to put individual works into that category, followed by \printbibliography[notcategory=dontbib]. Create a cite command to add to that category automatically, if you needed this often. ...


3

Biber can do this for you in "tool" mode. Put this in your biber.conf file (or in any file which you then tell biber about with the -g option): <config> <sourcemap> <maps datatype="bibtex" map_overwrite="1"> <map> <map_step map_field_source="entrykey" map_match="^(?!(?:key1|key2))" map_final="1"/> ...


2

I wrote, or at least adopted from the answers to this question on Stack Overflow, the following (in Python) to extract a regular expression from a .bcf file: def xmltocitekeys(file): from xml.dom import minidom xmldoc = minidom.parse(file) taglist = xmldoc.getElementsByTagName('bcf:citekey') keylist = [] for x in taglist: ...


3

You can redefine the bibliography macro which prints the label. For authoryear the order is: label shorttitle title So you can change the order to: label title shorttitle Here the mwe: \documentclass{article} \usepackage{filecontents} \usepackage[style=authoryear]{biblatex} \begin{filecontents}{\jobname.bib} @BOOK{ipa1999, TITLE = "Handbook of ...


4

The format of names is specified by the command \DeclareNameFormat and \DeclareNameAlias. The default definitions are done inside biblatex.def. The relevant part of the file is: biblatex.def % Used in the bibliography \DeclareNameAlias{sortname}{last-first/first-last} \DeclareNameAlias{author}{default} \DeclareNameAlias{bookauthor}{author} ...


3

To achieve your required result you have to do two steps: Change the order of editor names and the string editor Put parens around the editor string. The first can be achieved by a redefinition of the bibmacro {byeditor+others}. \renewbibmacro*{byeditor+others}{% \ifnameundef{editor} {} {\printnames[byeditor]{editor}% ...


3

As an ugly suggestion you can redefine \supercite which normally doesn't use postnote fields: \newbibmacro*{postnotesub}{% \iffieldundef{postnote}% {} {\printfield{postnote}}% } \newrobustcmd{\mkbibsubscript}[1]{% \unspace\allowhyphens\textsubscript{% \begingroup \protected\long\def\mkbibsuperscript##1{% \blx@warning{Nested ...


4

You can test the first token of the input of pages. If it is zero you can use \mkbibbrackets: \documentclass{article} \usepackage[]{biblatex} \usepackage{filecontents} \begin{filecontents*}{refs.bib} @article{1126-6708-2001-01-010, author={Gennaro Corcella and Ian G. Knowles and Giuseppe Marchesini and Stefano Moretti and Kosuke Odagiri and Peter ...


4

You want to switch to a numeric style -- add style=numeric to the biblatex package options or (as numeric is the default style) simply omit other style specifications. With numeric, the standard \cite command will produce only a number (by default within square brackets). For citations in the flow of the text that require the author name plus the number of ...


3

I get the impression that you are attempting to make rather extensive changes to the standard authoryear style. Can I focus on the problem you raise as the most immediate, which is the publisher and location point. You were basically on the right track. The relevant macro is actually called publisher+location+date (though, for reasons that don't matter now, ...


3

EDITED ANSWER AFTER COMMENTS The period at the end of a reference is inserted by the bibmacro finentry, which is the last instruction of standard biblatex entry drivers. One of the thing finenty does is to print the final period using \finentrypunct. Thus to avoid to print the period at the end one has to redefine it: ...


5

There are different approaches. First on LaTeX-level you can use \AtEveryCitekey{\clearfield{url}} \AtEveryBibitem works only for \printbibliography. Or you use a Biber solution: \DeclareSourcemap{ \maps[datatype=bibtex ]{ \map{ \step [ fieldset = url , null ] } } } MWE: \documentclass{article} \usepackage{filecontents} ...


4

The file biblatex.def contains all defined headings. All are using \markboth. So you can simple redefine the original definition and remove markboth: \defbibheading{bibliography}[\refname]{% \section*{#1}% %\markboth{\MakeUppercase{#1}}{\MakeUppercase{#1}} } Please note \section* hasn't a section number so you will get the last defined section number. ...


3

This issue is similar to the one raised in a previous question related to csquotes. Taking Lev Bishop's answer, you can incorporate the needed left protrusion for the first subentry into the set driver originally defined in numeric.bbx: \DeclareBibliographyDriver{set}{% \quitvmode\kern\dimexpr-0.001em*\the\lpcode\font`(\relax% \entryset ...


1

The trouble is that the article driver doesn't include a new block before pages, whereas inbook does, as you have correctly surmised. Remove your alteration to the pages field format, and include the following in your preamble to change the article driver. I'm afraid I'm not sufficiently au fait with the patching commands to work out how to place such a ...


4

Localization strings are capitalized following terminal or sentence-ending punctuation characters specified by \DeclareCapitalPunctuation. By default: \DeclareCapitalPunctuation{.!?} The manual's description of this command also mentions that strings at the beginning of paragraphs (e.g. after \par) are also capitalized. To avoid this in paragraph-ending ...


2

A solution using the xpatch packages (\usepackage{xpatch}) \xpatchbibmacro{textcite} {\multicitedelim} {\ifnumequal{\value{citecount}}{\value{citetotal}} {\addspace\bibstring{and}\addspace} {\multicitedelim}} {} {}


3

The layout of the shorthand list is controlled by the bibenvironment in which it is set. This is usually the shorthands environment, which is designed to have prominent labels. To change this, you need to define an appropriate alternative environment. For instance, if you define \defbibenvironment{myshorthands} {\list{\thefield{shorthand}}{% ...


3

Biblatex has a number of different ways of doing subdivided bibliographies (including keywords and categories for topic division). But for the sort of use case you have in mind what you really want is the shorthand field which sets abbreviations which can be explained in a list of shorthands using \printshorthands. It's well explained in section 3 of the ...


1

Based on the answer above and comments, what I used was this: @misc{author1:year, author={Author 1 and Author 2}, title={Title in Portuguese [Title in english]}, howpublished={Institution}, month={December}, year={2010}, url={some_place_internet.pdf}, urldate={2013-05}, note={Original document in Portuguese}, }


1

With BibLaTeX 2.x it suffices to add the following lines to your biblatex-dm.cfg: \DeclareDatamodelFields[type=field,datatype=literal,nullok=false]{mrnumber} \DeclareDatamodelEntryfields[article,book]{mrnumber}


1

This solution gives you a format very similar to plainnat. \usepackage[style=authoryear-comp,firstinits=true,citestyle=authoryear,natbib=true,backend=bibtex]{biblatex} \renewcommand\nameyeardelim{, } \DeclareNameAlias{sortname}{last-first} \renewcommand*{\multinamedelim}{\addcomma\space} \renewcommand*{\finalnamedelim}{\addcomma\space} ...



Top 50 recent answers are included