I use biblatex
with the following call:
\usepackage[style=authoryear,
mergedate=false,
maxcitenames=1,
mincitenames=1,
maxbibnames=999,
minbibnames=999,
uniquename=false,
uniquelist=minyear,
ibidtracker=context,
labeldate=true,
hyperref=true,
isbn=false,
dashed=false,
eprint=false,
doi=false,
url=true]{biblatex}
However, because of some templating reasons (*) I want to set the package options separately after I load the package. So I wnat to do something like this:
\usepackage{biblatex}
and then later (but still before the \begin{document}
):
\setbiblatexoptions[style=authoryear,
mergedate=false,
maxcitenames=1,
mincitenames=1,
maxbibnames=999,
minbibnames=999,
uniquename=false,
uniquelist=minyear,
ibidtracker=context,
labeldate=true,
hyperref=true,
isbn=false,
dashed=false,
eprint=false,
doi=false,
url=true]
How can I do this?
(*) The tex file is created by pandoc
from a markdown document; pandoc
uses a template system wheer the main template already contains a plain call to \usepackage{biblatex}
while the local customisations are inserted later (just before the \begin{document}
). In these customisations I can easily add biblatex options or I could even reload the package with the style=authoryear
option if this were possible.
style=authoryear
with\ExecuteBibliographyOptions
.biblatex
documentation can be passed tobiblatex
with\ExecuteBibliographyOptions
. The load-time options are(cite/bib)style
,backend
,natbib
,mcite
.style
when loadingbiblatex
and it cannot be changed afterwards. You will have to change your template appropriately. (Which seems possible here) See also tex.stackexchange.com/q/208296/35864