New answers tagged

1

The class cannot be used with biblatex because although it doesn't load the natbib package, it uses a macro from natbib (\bibsep). So this means that you need to use the apacite package with the [natbibapa] option to get APA 6 style: \documentclass[a4paper,fleqn]{cas-dc} \begin{filecontents}{\jobname.bib} @article{Ha89, Author = {Peter M. Haas}, Date-Added ...


1

With biblatex, \insertbiblabel only works with styles that have a labelled bibliography list (numeric and alphabetic styles; to see what it means to have a 'labelled' bibliography list compare the output of style=alphabetic, and style=authoryear, with \documentclass{article}). The authoryear style does not have a labelled bibliography list and it does not ...


1

For a one-off it is probably easiest to force the name order of the full name with curly braces and fill the shortauthor field with just the family name. \documentclass[american]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[backend=biber, authordate]{biblatex-chicago} \begin{filecontents}{\jobname.bib} @article{Li:...


3

With \DeclareDelimFormat you can change the delimiter between names per citation command. \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[style=ext-authoryear-comp, natbib=true]{biblatex} \DeclareDelimFormat[textcite]{multinamedelim}{\textendash} \DeclareDelimAlias[textcite]{finalnamedelim}{...


3

At the moment this looks like a Biber bug to me, so I reported the issue at https://github.com/plk/biber/issues/370. In the following example \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[backend=biber, style=authoryear]{biblatex} \begin{filecontents}{\jobname.bib} @book{book1, title = {...


0

The problem is, you have to treat lists of things as names of lists, mostly. That means, elements must be separated by and, what you did not do. The following code gives the expected result and changes the separator for the last list element into "&" for better visualization: \documentclass{article} \usepackage{biblatex} \renewcommand*{\...


2

It seems that \nolinkurl is redefined to \url by TeX4ht. In this case, \nolinkurl is used by Biblatex to print just part of DOI and \href outputs the full address. This results in double link, where the partial link that doesn't point anywhere is contained in the correct link. Unfortunately, the wrong link is picked by browser. To workaround this, you can ...


2

The command you are looking for is \ppspace, which by default is defined as (see biblatex.sty, l. 3734 in v3.16) \newcommand*{\ppspace}{\addnbspace} If you want a non-breaking thin space, you can redefine this macro accordingly \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[backend=biber, style=apa, backref=true]{biblatex} \renewcommand*{\...


1

The feature to change the title of the References section has been added in apa7.cls version 2.08 \printbibliography[title={New Reference Title}]{} Will now work in an apa7 document without modifications.


0

Thank you for everyone's comments! Long story short everyone was right. However, what wasn't working was the Makefile to execute the commands. Here was the previous Makefile: # variables FILE = Dissertation TEX = pdflatex -synctex=1 -interaction=nonstopmode --shell-escape BIBTOOL = biber tex: ${TEX} ${FILE} bib: ${BIBTOOL} ${FILE} I noticed that ...


1

The biblatex-dw styles have an option and an customisable punctuation command for these sort of things. \documentclass[ngerman]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[backend=biber, style=authortitle-dw, series=afteryear]{biblatex} \renewcommand*{\seriespunct}{=\addspace} \begin{filecontents}{\jobname.bib} @...


1

I suggest a number of changes: Use the date=short option so you use the proper format for the date field (your current format is not valid). Use an @online type, not @misc. Use the url field, not the address field which will cause you problems if the URL has special characters. Redefine the urlseen string rather than hard coding it in the urldate format. ...


2

It is probably easiest to inject code for an epigraph into the bibliography heading definition similar to what the epigraph documentation suggests for thebibliography in section 2.5. The heading definition below is based on bibintoc for book/report (cf. biblatex.def, ll. 1911-1914 in v3.16) \documentclass[british]{book} \usepackage[T1]{fontenc} \usepackage{...


1

Update Following https://github.com/dan-weiss/apa7-latex-cls-source/issues/20, version 2.08 and above of apa7.cls no longer hard code the bibliography title and make it possible to use the title argument to \printbibliography. Old answer apa7.cls hard-codes the bibliography heading as follows \AtEndPreamble{% \@ifpackageloaded{biblatex}{% the user has ...


0

This change of course means that the document is no longer APA style compliant. If you do not want APA style it is usually easier to use one of the generic author-year standard styles (style=authoryear,) as basis than to base your custom style on biblatex-apa or biblatex-apa6. Just add \sort{\citeorder} in the right place to your current sorting template to ...


1

The exact location of your .bib files does not matter. Most sensible things that work in a 'normal' (non-subfiles) setup also work with subfiles, but you need to factor in the effect changes in working/compile directory have on relative paths. You haven't shared a whole lot about your folder setup, so I will assume something that looks roughly like this ...


0

Here is a complete working example \documentclass[nobib,twoside,symmetric,justified,marginals=raggedouter]{tufte-book} \usepackage{calc} \usepackage{adjmulticol} \newlength{\rmarginW} \setlength{\rmarginW}{\marginparwidth +\marginparsep} \newcommand{\full}[1]{% \begin{adjmulticols}{1}{0cm}{-\rmarginW} #1 \end{adjmulticols}} \usepackage{...


1

As Ivan says in the comments, you probably want to use @incollection instead of @inbook here. \documentclass{scrartcl} \usepackage[ backend=biber, style=ext-authoryear, innamebeforetitle=true, ]{biblatex} \DeclareDelimFormat{editortypedelim}{\addspace} \DeclareFieldFormat{editortype}{\mkbibparens{#1}} \DeclareDelimAlias{translatortypedelim}{...


2

This is caused by a bug in biblatex.4ht. Try this updated version: % biblatex.4ht (2021-01-29-14:14), generated from tex4ht-4ht.tex % Copyright 2007-2009 Eitan M. Gurari % Copyright 2009-2021 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3c of this license or (...


1

can you show in more detail how you made TeXlipse digest BibLaTeX with biber? I can't see from your last answer how to do it. Thx. [Sorry for putting another question into an answer, but as a new user I can't add a comment asking for clarification. What shall I do?]


1

For Çabej I suggest you use an indexing tool that can deal with non-ASCII characters: xindy. Load imakeidx with the xindy option and call xindy (via texindy) with the option -C utf8 texindy -C utf8 personenregister.idx For van den Berg you can redefine \mkbibindexname to issue Berg, Horst van den@van den Berg, Horst Together you get \documentclass[12pt,...


2

I completely agree with your advisor that page numbers in citations are a good things. So unless there are very good reasons to remove them, I would not do that. That said, here is a fairly simple method that removes prenotes and postnotes from all citation commands using the standard \AtEveryCitekey-\clearfield trick (cf. Guidelines for customizing biblatex ...


1

Store the old \parencite and redefine it to ignore any optional arguments: \documentclass{article} \begin{filecontents*}[overwrite]{references.bib} @article{einstein, author = {Albert Einstein}, year = {1905} } \end{filecontents*} \usepackage[style=authoryear]{biblatex} \addbibresource{references.bib} \NewCommandCopy\oldparencite\parencite% Copy \...


0

On the LaTeX (or rather biblatex) side \addbibresource{<filename>.bib} and \bibliography{<filename>} do very similar things and are implemented in terms of the same auxiliary macros, so there should be no difference whether you use \addbibresource{<filename>.bib} or \bibliography{<filename>} The former is preferred over the latter, ...


1

The error was cased by an old .fmt file in ~/Library/texmf/web2c that I had fashioned out of the document's preamble. That format used older versions of packages, including biblatex and babel. As soon as I trashed that .fmt, the document compiled normally. I remembered that now-obsolete format only after using the \NewBibliographyString fix from https://tex....


0

The styles of the biblatex-ext bundle have an option called citexref that allows for slightly shorter bibliography entries. Just replace style=authortitle-icomp, with style=ext-authortitle-icomp, and add citexref=true to the options. \documentclass[]{scrartcl} \usepackage[backend=biber,style=ext-authortitle-icomp, citexref=true]{biblatex} \begin{...


0

Before we start, a word of warning: If this style is for a submission of a paper to a journal or a publisher, biblatex might not be your best bet. Very often publishers have their own templates that come with a BibTeX style or at least with instructions how to generate the bibliography. Generally, publishers do not accept biblatex submissions. (See also ...


1

The style from Biblatex style short name is just the biblatex standard style authortitle with two small adjustments: Name initials with giveninits (which was called firstinits a while ago) and different name order with \DeclareNameAlias{sortname}{given-family} (\DeclareNameAlias{sortname}{first-last} in old biblatex versions). If you switch to the standard ...


2

As Alan Munn points out in the comments, the citation trackers like \ifciteibid are documented in the biblatex manual. The tests like \ifciteibid etc. are documented in §4.6.2 Stand-alone Tests, the corresponding options that control some of the behaviour of those tests are explained in §3.1.2.3 [Preamble Options > ] Internal. The implementation of a test ...


2

A possible solution using the usera field and renewing the doi+eprint+url bibmacro: \begin{filecontents}[overwrite]{\jobname.bib} @book{Feynman2007_1_en, author = {Feynman, R. P. and Leighton, R. B. and Sands, M.}, title = {Feynman Lectures on Physics}, volume = {1}, publisher = {Basic Books}, year = {2011}, address ...


2

I guess the idea is that the start of a new bib entry is sort of like the start of a sentence. Even a "von" is usually capitalised at the start of a sentence, so it is natural that the "von" would be capitalised here as well. If you do not want this behaviour, you can tell biblatex not to treat the start of a bibliography entry like the ...


0

The field format that is used for those short citations is called citetitle, so I just used the same format you set for title also for citetitle, but you can change that as you wish. We can disable the links biblatex-chicago produces for citations by disabling the macro \cmshyper. (Though I wouldn't do that, those links are really convenient.) \documentclass[...


4

The Basque localisation was added to biblatex about three months ago (2020-11-10) and is included in v3.16 of biblatex (released 2020-12-31). If your mylanguagestrings.lbx is based on an .lbx file from biblatex v3.16 or was grabbed from GitHub after 2020-11-10, it might include reference to langbasque. The .log shows that the rest of your biblatex ...


0

With a sourcemap you essentially manipulate your entry data just when it is read from the .bib file. This means that for all intents and purposes overwriting journaltitle with shortjournal with a sourcemap means that journaltitle now contains the contents of the shortjournal field and that the old field value cannot be recovered on the biblatex side. One ...


1

ANSWER: After playing around in the document for a while, I found that the image did not convert from bitmap to a PNG correctly so after exporting the image as a PNG once more and then adding it into the document solved this problem.


1

Unfortunately, when \citesetup is used we cannot yet access the delimiter context to branch on the exact citation command we are in. A straightforward, but slightly more tedious solution is to use the wrapper command of \DeclareCiteCommand to wrap \parencite (which is what \autocite becomes here) not only in parentheses, but in tiny parentheses. The original ...


3

date fields are a bit special in biblatex, since they are parsed during the Biber run and split up for biblatex into its date parts. Apparently data model constraint verification happens at a very late stage where date parsing and splitting has already occurred, so you don't want to test for presence of the urldate field, you want to check for urlyear, ...


0

Looks like they changed extrayear to extradate. So to update @moewe's answer: \AtEveryCitekey{\clearfield{extradate}} \AtEveryBibitem{\clearfield{extradate}} https://github.com/CarlOrff/biblatex-archaeology/issues/7


2

Here is a slightly different solution using name wrappers. I figured that the idea is to have the whole author list (including possible "et al."s) in italics and to format the editor list normally. biblatex-gost already defines a special name format called heading for the authors at the beginning of the entry. If we make use of the name wrapper, we ...


0

There is a spurious space in the \extrasngerman call \documentclass[british,ngerman]{article} \usepackage[T1]{fontenc} \usepackage{babel} \addto\extrasngerman{% \def\equationautorefname~#1\null{(#1)\null} %Reference to equations in parentheses }% \begin{document} A\selectlanguage{ngerman}B\selectlanguage{british}C \end{document} The space before the %...


3

For this solution I will use the xpatch package but if you want you can do without it. First of all, let's remove the square brackets: \xpatchbibmacro{name:andothers}{\mkbibbrackets}{}{}{} Then we create the new macros name:andothers:it and name:andothers:rm and modify the first one so that it prints the string andothers in italics: \letbibmacro{name:...


1

The styles of my biblatex-ext bundle have an option called citexref to do this. So you can just replace style=alphabetic, with style=ext-alphabetic, and add citexref=true, to the biblatex options and are good to go. \documentclass[]{article} \usepackage[backend=biber, style=ext-alphabetic, citexref=true]{biblatex} \begin{filecontents}{\jobname.bib} @...


2

biblatex-apa comes with an extensive example .bib file which includes many - if not all - examples from the APA manual. Especially for more complex and less common entry types I highly recommend you have a look at that file if you don't know how to format your .bib entries. For court decisions have a look at the entry 11.4:3 (ll. 2488-2497 in biblatex-apa-...


1

Using \AtEveryBibitem does not work since in biblatex the \bibitems are loaded at the beginning of a document and not when a list of references is printed (e.g., \printbibliography). An alternative is to add a hook to the instruction for printing the records. An option is to insert the information about the category in the finentry bib macro that is called ...


1

Another way is to postprocess the label, for example if you use a bibliography that you cannot change. You have to put a separator between the name and the year so that the postprocessing macro can split it there, and then split off the part after the space. \documentclass[ngerman]{article} \usepackage{babel} \usepackage{csquotes} \usepackage{filecontents} ...


3

One way to force a particular name for the label is to use the shortauthor field. \documentclass[ngerman]{article} \usepackage{babel} \usepackage{csquotes} \usepackage[ backend=biber, style=ieee-alphabetic, maxnames=99, maxcitenames=2, minalphanames=1, maxalphanames=1, giveninits=true, useprefix=false, doi=false, isbn=false, url=false, dashed=...


1

You can add an XOR constraint to the datamodel, which means that exactly one of series or optseries needs to be present. Since we don't need optseries except for datamodel validation we can declare it skipout, so it does not appear in the .bbl file. \documentclass{article} \begin{filecontents}{seriescheck.dbx} \DeclareDatamodelFields[type=field, datatype=...


1

The simplest way to manually insert a line break in a field content in the bibliography is to write \\ into the .bib entry. Of course this is not a very sustainable solution, since .bib files are supposed to be re-usable and this is a very situation-dependent fix. In general I would advise against putting those kind of ad hoc fixes into the .bib file because ...


2

Update with your new requirements (not much needs to change). It's not ideal, but probably the easiest way to do this is simply to construct the citations by hand. You can use a macro that deals with subsequent citations. The \paul@blx@trackentry@global macro allows me to manually add an entry to the list of seen entries (at global scope). This is needed ...


1

I don't think there is a good way to do that if you want to be able to cite entries in your document. biblatex really needs a unique number for each entry. Plus, if you just relabel entries in different bibliographies your readers wouldn't know what number refers to which entry. There are ways to get independent and separate labelling for the same entry if ...


Top 50 recent answers are included