Hot answers tagged

5

The bcf-file is rather long, but it is also well structured, and you are only interested in the cite keys. So if you search for bcf:citekey you get quite fast to the list of citekeys starting with <bcf:citekey order="1">goepel:2020</bcf:citekey> <bcf:citekey order="2">boyd:un:2019</bcf:citekey> There you only ...


4

Short answer: No -- unless you're also loading the underscore package or have otherwise modified the default properties of the _ character. (If you've done so, I would assume that you're sufficiently familiar with TeX and LaTeX so as not to have the ask the question in the first place...) Longer answer: Try to compile the following minimal working example ...


3

The standard citation commands in author/year styles in biblatex are \textcite which yields Author (year) and \parencite which yields (Author, year). Depending on the style \cite is supported but aliased to one of the other citation commands. In the case of apa it's aliased to a version of \parencite but without the parentheses. So instead of \cite you ...


3

Just use citestyle=numeric instead of citestyle=numeric-comp: \documentclass{article} \begin{filecontents}{\jobname.bib} @ARTICLE{smit54, AUTHOR = {J. G. Smith and H. K. Weston}, TITLE = {Nothing Particular in this Year's History}, YEAR = {1954}, JOURNAL = {J. Geophys. Res.}, VOLUME = {2}, PAGES = {14-15} ...


3

I was able to generate the bibliography by adding --citeproc: pandoc --bibliography=test.bib --citeproc -o test.pdf test.md


2

For anyone finding this in the future, changing: \usepackage[resetlabels,labeled]{multibib} To: \usepackage[resetlabels]{multibib} Fixed this problem for me.


2

Biblatex also dissables the page prefix if you are adding the paragraph symbol. Input: \cite[\S1.2.3]{sigfridsson} Output: [Foo, §1.2.3]


2

Doesn't \cite[]{} do the job? \documentclass{report} \begin{document} See \cite[lemma 1]{foo} \begin{thebibliography}{1} \bibitem{foo} Foo \& Bar, {\em Treaty of mathematics}, 2021 \end{thebibliography} \end{document}


2

Alan Munn's answer is spot on with respect to the source of the spurious spaces in your document, but I'd like to offer a slightly different answer in which we use the new name wrapper format to shorten the code a bit. We can avoid the whole \DeclareNameFormat{labelname:poss} code block and effectively replace it with \DeclareNameWrapperFormat{labelname:poss}...


2

People might be interested in What is best practice re. handling legal sources with Biblatex/Biber for disciplines other than law?. There are some biblatex styles for German legal citations (biblatex-jura [abandoned, last update 2008], biblatex-juradiss [based on biblate-dw, sometimes gets emergency bugfixes by Herbert Voß, but not actively developed], ...


2

biblatex currently does not mention the line number for entries that could not be found if they are marked as missing by Biber. If you want to get the line number even in this cases, apply the following redefinition to \blx@citation@entry \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[backend=...


1

The definition of \supercite was missing two brackets. This appears to be a small bug in biblatex-ieee. (Reported at https://github.com/josephwright/biblatex-ieee/pull/62. Fix already merged.) Until a fixed version of biblatex-ieee is released, you can use the following redefinition \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{babel} ...


1

Since you want to use biblatex-juradiss as base I think it's the simplest to adjust the cite macro. To avoid interactions I'd define a new one. [Edit: add loccit support & example] \documentclass{article} \usepackage[style=biblatex-juradiss, sortcites=true, sorting=none, defernumbers=true, minbibnames=3, % cite up to three authors in bib backref=true, ...


1

As with many questions involving extra spaces, you need to be very careful to not have spaces at the ends of lines in your macro definitions if those macros are producing printable text. The end of line is treated as a space. So you need to remove the spaces before the comment marker % in the first two lines of your \DeclareNameFormat command: \...


1

From the entries you have shared so far I cannot reproduce the behaviour you describe. With \documentclass[american]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[backend=biber, style=apa]{biblatex} \begin{filecontents}{\jobname.bib} @article{felder1988learning, title = {Learning and teaching styles in ...


1

I also had the idea of using binary search, only the other way around to Marijn's suggestion. I put a non-existing marker citation in the middle of the document and moved that in decreasing log2 steps forward or backward depending on how the order of the biber warnings changed. That way I was able to pin down two paragraphs with the errors: \parencite[vgl.][]...


1

There's nothing special about creating a cross-reference to an equation from within, say, a table environment. If there's an equation in your document with \label{eq:whatever}, both (\ref{eq:whatever}) and \eqref{eq:whatever} (assuming you've loaded the amsmath package) will work well. \documentclass{article} \usepackage{tabularx,booktabs,enumitem,amsmath} \...


1

I think I agree with Ulrike's comments under the question: This is probably overdoing it. You can hide your commands by giving the correct definitions in \NumCheckSetup \NumCheckSetup{% \def\Line#1{}% \def\Lines#1#2{}% \def\pa{}% \def\pp{}% \def\Linebot#1{}% \def\Linesbot#1#2{}% \def\Linestopbot#1#2{}% } A command taking arguments should ...


1

Solved. I didn't know that you have to run a different TeX distribution (or indeed what TeX distributions were). I solved it by doing two things: Via preferences -> commands (using macOS) I changed the bib(la)tex command to " biber % ". Originally it was some bibtex command. I haven't checked if it would have worked with the original command ...


1

Some comments and suggestions: \documentclass[] cannot possibly go well. The command requires an argument enclosed in curly braces. The command \cite{} must generate an error message. \cite and friends require the argument to be non.empty. You should change \bibliography{bibliography.bib} to \addbibresource{bibliography.bib}. You won't get a typeset ...


1

Here's the solution I came up with. Thanks to Ivan for pointing me to this question, which took me to section 4.5.3 of the biblatex documentation: 'Dynamic Modification of Data'. This answer is very specific to my use case, but that section includes everything one might need to expand it to other, similar cases. \usepackages{biblatex} \usepackage{pgfkeys} \...


1

I changed the document class from its original form: \documentclass[10pt,twocolumn]{revtex4} to \documentclass[10pt,twocolumn, nofootinbib]{revtex4-1} which allows me to add footnotes in both the section title and the main body of the text. I cannot cite within the footnote in the section title but I can cite within the footnote in the main body of ...


1

With the new name wrapper format introduced in biblatex v3.12 (2018-10-30), Audrey's answer can be simplified quite a bit. We no longer need to redefine the whole labelname name format, we just append 's with the name wrapper. \documentclass{article} \usepackage[style=authoryear-comp]{biblatex} \DeclareNameWrapperFormat{labelname:poss}{#1's} \...


Only top voted, non community-wiki answers of a minimum length are eligible