Closed lcnittl closed 1 year ago
@lcnittl The behavior you observe has nothing to do with subfiles. Eliminate the subfiles
package from one of the subfiles, e.g. from sub_1.tex
, by copying the preamble to the file (see below), and you will observe the same phenomenon. So the question really is: Is it possible to suppress the effect of @Preamble
? Best ask this question on tex.stackexchange.com
and tag it with biblatex
.
\documentclass{report}
\usepackage[
backend=biber,
style=chem-angew,
subentry=true,
sortsets=true,
alldates=iso,
seconds=true,
date=year,
]{biblatex} % doi=true % Load before 'hyperref'
\addbibresource{../data/main.bib}
\begin{document}
This is the reference from sub\textunderscore{}1 \autocite{Kaminskyy2011a}.
\end{document}
Oh my! Sorry for the waste of time!
I very cleverly managed to a) test the main file without subfiles
, yet also without \autocite
and b) drop the @Preamble
during playing around, giving me the impression subfiles caused it.
But you are right, can reproduce in the sub files and also the main file (having an \autocite
kills it).
As I am already here: Thanks for maintaining this amazing package. Helps a lot in reducing compilation times!
Having the following directory tree
with the following file contents
.latexmkrc
main.tex
sub_1.tex
sub_2.tex
main.bib
Outputs the
@Preamble
content at the beginning of all documents:main.pdf
sub_1.pdf
sub_2.pdf
Any ideas on how to resolve this, besides removing the
@Preamble
?