New answers tagged

0

Regardless of the output you actually want, the output you get at the moment doesn't look quite right. Geer, I. de Earl, Saint, Bishop, Skald – and Music, The Orkney Earldom of the Twelfth Century. A Musicological Study., Ph.D. Thesis, Uppsala: Uppsala Universitet, 1985. The double punctuation ".," would be regarded as a mistake by most people. I have ...


2

You can add the option mergedate=false to your biblatex options. I'd probably be inclined to use \usebibmacro{date} instead of \printfield{year} to be more consistent with the default macro and allow for more flexibility. \RequirePackage{filecontents} \begin{filecontents*}{biblatextest2.bib} @Book{Gali2015, author = {Galí, Jordi}, title = {...


10

Biber translates \'\i into the Unicode sequence U+0131 ı LATIN SMALL LETTER DOTLESS I U+0301 ́ COMBINING ACUTE ACCENT It seems like the Latin Modern fonts do not like this (valid) sequence. XeLaTeX uses directly U+00ED í LATIN SMALL LETTER I WITH ACUTE which causes no problem with Latin Modern. As workaround you can either use \'i or í in ...


2

Apparently, the field names need to be in lowercase. As far as I can see this isn't mentioned in the biblatex manual. I guess it should be (or alternatively biber should be modified to allow for case insensitive field names in the data model). I opened an issue at https://github.com/plk/biber/issues/278 for this. MWE \RequirePackage{filecontents} \begin{...


1

Just add the option maxbibnames. \usepackage[% style=authoryear, backend=biber, maxcitenames=2, maxbibnames=99, giveninits ]{biblatex}


1

To get what you want you need to add the following code to your preamble: \DeclareCiteCommand{\citeyear} % <====================================== {} {(\bibhyperref{\printdate})} {\multicitedelim} {} \DeclareCiteCommand{\parencite} % <===================================== {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \...


1

Some of the style elements of BibTeX bibliographies rendered in beamer presentations don't actually come from the style, but from clever modifications that beamer applies to the bibliography environment and some relevant commands. Similar modifications are applied when biblatex is loaded (for example you also get the icons instead of numbers by default in ...


0

I think I found the solution by trial-and-error by myself. The combination of uniquename=mininit and uniquelist=minyear does only show one author and et al. when the year is different, but does add a,b,c etc. when the authors and the year are identical. So the whole bibtex include is: \usepackage[backend=biber,style=authoryear,mincitenames=1,maxcitenames=2,...


0

It's a really old post. I'm not sure anyone still encountered the problem. I had a similar issue on the Texpad macOS. But I found the declaration of the biblatex package is unnecessary. When I simply deleted the \usepackage{bibletax}, everything worked well.


2

Well, you have some errors in your given code I corrected in the following MWE. To solve your issue add the code \DeclareCiteCommand{\citeauthor} {\boolfalse{citetracker}% \boolfalse{pagetracker}% \usebibmacro{prenote}} {\ifciteindex {\indexnames{labelname}} {}% \printtext[bibhyperref]{\printnames{labelname}}} {\multicitedelim} ...


2

As mentioned in my previous answer, there is no straight forward way to do this in biblatex-sbl yet. From the next release, this answer will work, but until then you have to patch every single cite:… driver from the file sbl.cbx and every driver from sbl.bbx. I've gone through the two files and done this for you for every entry type that biblatex-sbl ...


1

There is a typo in the author field of the entry @report{lumiconcept, author = {Herr, W. and Muratori, B.}}, title = {Concept of luminosity}, date = {2006}, type = {techreport}, url = {https://cds.cern.ch/record/941318}, urldate = {2019-08-19}, institution = {{CERN}}...


0

You don't need to use a completely different citation style, it should be enough to redefine the labelname name format. In the example I use biblatex-ext's ext-authoryear as a simple way to obtain parentheses around the year in the footnotes, but there are other methods to do that as well. \documentclass[british]{article} \usepackage[T1]{fontenc} \...


3

Apparently, \settowidth does not work as intended with tikzposter in all contexts. In particular the command returns 0pt unless invoked within a block. With a modern biblatex a quick workaround would be to use the locallabelwidth option, which defers length calculations to the actual \printbibliography and only takes the entries actually appearing in that ...


1

Your .bib file probably contains a line like author = {József Zimányi}, (all credits for the detective work of figuring out the name go to LianTze Lim in the comments). Quite likely your .bib file is encoded in UTF-8 or another non-ASCII encoding. But with your preamble (and the outdated TeX system on Overleaf) LaTeX expects US-ASCII input only (a more ...


4

No, in general we can't say that (\cite{sigfridsson}) and \parencite{sigfridsson} give the same result. For many styles the result is the same, since \parencite is intended to produce parenthetical citations or at least citations in some kind of brackets, but this is nothing we can rely on. For example \documentclass[british]{article} \usepackage[T1]{...


0

With packages (e.g., biblatex, natbib) that provide facilities to split citations in their components (e.g., title, authors, year) one can use (using fo instance \biblatex commands) According to \citeauthor{author1}'s studies (\citeyear{author1}), blablabla ... to obtain the desired result. Clearly, a new citation command can be defined to automatise the ...


0

This was posted by OP as an edit to the question, but it's clearly an answer. Slightly enhancing @Marco's original answer: If it should be totally like in the original but with a line break, use \DeclareFieldFormat{url}{\newline\mkbibacro{URL}\addcolon\space\url{#1}} \newbibmacro*{url+urldate}{% \printfield[url]{url}% \iffieldundef{urlyear} {} ...


0

I think the cleanest solution is to just redefine the corresponding field format. I would replace the \space after "URL" with a \nobreakspace instead of explicitly adding a line break. This allows TeX to decide if a line break is the best solution. (I recommend setting the bibliography \raggedright in order to give TeX some more wiggle room here.) \...


1

The code for date printing varies with the chosen mergedate setting. The preset is mergedate=true which is equivalent to mergedate=compact, where the modifications can be kept at bay as follows. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[british]{babel} \usepackage{csquotes} \usepackage[style=ext-authoryear, ...


2

The following redefinitions for journal+issuetitle and volume+number+eid are copied from the code for biblatex-ext. That's why they contain a few customisable macros. Instead of using \clearfield to suppress month and days in the date, it should be simpler to just say date=year, in the load-time options. \documentclass{article} \usepackage{lmodern} \...


1

With a current version of biblatex I would use name wrappers to apply the boldface to the names. If you want the mixed family-given/given-family order, you still need to redefine the name format as well (because the default for numeric styles is given-family order). \documentclass{scrreprt} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[english]{...


0

The space between footnote number and footnote text is hard-coded in \@makefntext as .5em \long\def\@makefntext#1{\leavevmode \@makefnmark\nobreak \hskip.5em\relax#1% } You can modify the space and if you want no space at all between footnote mark and text you can completely remove the \hskip. The space between footnotes is controlled by \footglue ...


1

To do this we need to do three things. This isn't quite as obvious as I would have suspected, which makes me wonder if there are some other issues with context sensitive delimiters in biblatex-sbl. (e.g., I would have thought that I should have to specify I want context citecommand with \printdelim, but it doesn't work without this. Change the delimiter ...


0

I ran into the same problem. Instead of using a text editor, I opened the .bib file in jabref. You can change the library encoding using 'Library Properties' from the 'File' menu. Then save the library. This also changed the encoding specification on the first line of the .bib file, which I would otherwise have had to change manually (when I would have used ...


1

Even though the actual definition of \mkbibindexname looks a bit daunting, the user is supposed to change that macro if they don't like the output it produces. So it would be perfectly fine to patch the macro as you suggest. There is a general question of whether it is better to patch or to redefine a macro (see for example Biblatex's bibmacros, ...


0

A quit nice cheatsheet is available here: https://www.ctan.org/pkg/biblatex-cheatsheet


1

replacing \printdateextra by \printdate in the data+extradate macro: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[british]{babel} \usepackage{csquotes} \usepackage[style=ext-authoryear, backend=biber, maxcitenames=1, uniquename=false, uniquelist=false, introcite=label, dashed=false]{biblatex} \usepackage{...


4

If you are preparing a manuscript for submission with a journal, double check that they can accept biblatex submissions. Compared to BibTeX biblatex requires quite a different workflow on the publisher's side and their tools might not be equipped to deal with biblatex as required. Furthermore, publishers aren't generally known to run the most up-to-date ...


1

Your MWE does not compile as there are a few bugs. You load babel, but then use the polyglossia macro \setmainlanguage. You just want \usepackage[ngerman]{babel} and remove \setmainlanguage[variant=new]{ngerman} (which I don't think is valid anyway). You also use \setmainfont{Times New Roman}, but you don't load fontspec which defines this macro. In your ...


2

The alphabetic label gets produced by Biber and is passed on to biblatex in the .bbl file. biblatex doesn't really have a sense of what the label is composed of and only sees the complete label, so the formatting has to be shoehorned in at label creation. We can modify the label format with \DeclareLabelalphaTemplate and apply formatting there. But we have ...


1

In the smallcaps section we find the following % smallcaps \newtoggle{bbx@journalauthor} \DeclareEntryOption[boolean]{journalauthor}[true]{% \settoggle{bbx@journalauthor}{#1}} \renewcommand{\mkbibnamefamily}[1]{% \ifitemannotation{journalauthor} {\mkbibemph{#1}} {\textsc{#1}}} \newtoggle{bbx@director} \DeclareEntryOption[boolean]{director}[true]{...


0

As mentioned by David Purton in the comments, nameyeardelim is a context-sensitive delimiter. This means that you can give it different definitions for the bibliography and citations. The introcite label has the context bbx@introcite, which is different from the context bib for the rest of the bibliography, so we can use different values for nameyeardelim ...


2

biblate-ieee applies \MakeSentenceCase* to titles of some (but not all) entry types. @articles get their title sentence-cased, but @books don't, that explains the observation in the comments. \MakeSentenceCase is a very complex and fragile macro since string manipulation is somewhat tricky in LaTeX. In particular \MakeSentenceCase performs quite a lot of ...


1

If I understand the comments in https://blog.apastyle.org/apastyle/2014/01/when-to-use-author-initials-for-text-citations.html correctly, APA style only wants initials to disambiguate different authors with the same family name for lead authors. This would mean that the behaviour we are observing is the outcome the APA wants. Fortunately, in this case it is ...


3

The biblatex-phys style loads biblatex with these options: maxnames=999, maxcitenames=2 So you just need to override the value of maxcitenames when you load biblatex. You can just use the maxnames option which sets both maxcitenames and maxbibnames. \usepackage[sorting=none,style=phys, maxnames=999, biblabel=brackets, pageranges=false, chaptertitle=false]{...


1

You'll need to patch the (cite:)book, cite:commentary, (cite:)suppbook, and (cite:)incollection drivers to remove the printing of the edition in its usual place, adjust the date printing macro to include the edition, and then change the format of the edition. Hopefully, this won't have any unintended side effects. MWE \documentclass{article} \usepackage{...


2

This is a specific feature of biblatex-gost styles, which implement the requirements of the Russian bibliography standard ГОСТ 7.0.5—2008, so I assume this behaviour is wanted. The styles support the option movenames=false, to stop moving names to after the title. Unfortunately, I don't read Russian very well, but the documentation of the style has some ...


1

In recent versions of biblatex origlanguage is a list and not a normal (single-value) field. That makes it much harder to check against the contents of origlanguage. (Checking for specific content of a proper field is quite simple as biblatex filter on arbitrary field shows, but there is no equivalent to \iffieldequalstr for list fields.) A simple workaround ...


2

There are two issues here Firstly, dateusetime=1, does not enable dateusetime. The option expects the values true or false, anything that is not true will be treated as false. But even with dateusetime=true, the output is not as expected since the default truncated date formats forgot about times. This is a bug that should be fixed in the next version of ...


1

Most of this is pretty straightforward if the .bib database is properly formatted. The type of publication (article, book, proceedings, ...) can be filtered with the type option, which checks the entry type of the .bib entry. If we want to distinguish published entries from work that is still under review, we can add the keyword underreview to entries ...


4

biblatex-apa uses the test \ifciteseen to check if a citation should use the long or short form. This tracker can be reset completely with \citereset. biblatex-apa also defines an additional special tracker which can be reset with \citeresetapa (this tracker is only used in very special circumstances with shortauthor/shorteditor fields, so forgetting to ...


0

I was mixing up Biber and Bibtex. I also didn't have keys for my sources.


1

The same effect can be reproduced in the following simplified MWE \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{fancyhdr} \usepackage[titletoc, title, header]{appendix} \usepackage{lipsum} \fancypagestyle{general}{% \fancyhf{}% \renewcommand{\headrulewidth}{0.4pt}% \renewcommand{\footrulewidth}{0.4pt}% \fancyhead[R]{\itshape\...


1

Try this, taken mostly from https://github.com/plk/biblatex/issues/868. Much of the code won't be needed once biblatex 3.13 is released. But is still required for biblatex 3.12. MWE \documentclass{article} \usepackage[style=authoryear-ibid]{biblatex} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @mvbook{exampl, date = {2000}, ...


0

You can just do it manually using a text editor, like Sublime. Activate the Regex function (option+command+R on Mac) and look for: abstract = {.*}, and substitute it with nothing. This removes anything between abstract = { and }, You can apply this to other fields.


3

You are using biblatex with style=alphabetic, so you are getting citations in the form of [ABC00]. You need to use style=authoryear to get author year citations. The citations labels are in Greek, because you need to add language=auto to your biblatex options. By default, it's language=autobib, so the language is only changed in the bibliography. You can ...


1

biblatex-apa was specifically written to meet all the complex requirements of the Publication Manual of the American Psychological Association. This means that it can be quite tricky to modify the style to deviate from its intended APA output. As Alan Munn mentions in the comments it is usually better to use one of the standard styles or a style of the ...


1

For this particular example (and I guess for most website with their own URL) I would just use @online to refer to the complete website and give the 'section' in the postnote of the citation to refer to the specific part. Much like one normally adds the complete @book to the bibliography, but only cites a specific page. \documentclass[british]{article} \...


Top 50 recent answers are included