diff --git a/doc/latex/biblatex/biblatex.tex b/doc/latex/biblatex/biblatex.tex index dd97452a3..31591cfe9 100644 --- a/doc/latex/biblatex/biblatex.tex +++ b/doc/latex/biblatex/biblatex.tex @@ -9017,7 +9017,7 @@ \subsubsection{Labels} \begin{ltxsyntax} -\cmditem{DeclareLabelalphaTemplate}[entrytype, \dots]{specification} +\cmditem{DeclareLabelalphaTemplate}[]{specification} Defines the alphabetic label template for the given entrytypes. If no entrytypes are specified in the first argument, then the global label template is defined. The \prm{specification} is an undelimited list of \cmd{labelelement} directives which specify the elements used to build the label. Spaces, tabs, and line endings may be used freely to visually arrange the \prm{specification}. Blank lines are not permissible. This command may only be used in the preamble. diff --git a/tex/latex/biblatex/biblatex.sty b/tex/latex/biblatex/biblatex.sty index 0dac5d839..a0727fd05 100644 --- a/tex/latex/biblatex/biblatex.sty +++ b/tex/latex/biblatex/biblatex.sty @@ -23,7 +23,7 @@ % This is not updated by build script as the control file version % does not necessarily change with the package version. % This is used when writing the .bcf -\def\blx@bcfversion{3.12} +\def\blx@bcfversion{3.11} % This is not updated by build script as the bbl version % does not necessarily change with the package version. @@ -13336,9 +13336,9 @@ \xdef\blx@xml@labelalpha@part#1#2{% ~~~~~~#2\blx@nl} -\xdef\blx@xml@extradate#1#2{% - ~~\blx@nl - #2% +\xdef\blx@xml@extradate#1{% + ~~\blx@nl + #1% ~~\blx@nl} \xdef\blx@xml@extradatescope#1{% ~~~~\blx@nl @@ -13747,12 +13747,8 @@ \dolistloop\blx@latem@type % extradate specification \eappto\blx@tempa{% - \blx@xml@comment{EXTRADATE}}% - \def\do##1{% - \eappto\blx@tempa{% - \blx@xml@extradate{##1}{% - \csuse{blx@extradate@##1}}}}% - \dolistloop\blx@ed@type + \blx@xml@comment{EXTRADATE}% + \blx@xml@extradate{\csuse{blx@bcf@extradatespec}}}% % data inheritance \eappto\blx@tempa{% \blx@xml@comment{INHERITANCE}% @@ -14270,7 +14266,7 @@ {\eappto\blx@tempc{ substring\string_side="right"}} {\eappto\blx@tempc{ substring\string_side="left"}}} -% []{} +% []{} \newrobustcmd*{\DeclareLabelalphaTemplate}[2][]{% \ifblank{#1} {\blx@latem{#2}{global}} @@ -14843,31 +14839,19 @@ \def\blx@sortinclude@i#1{% \appto\blx@tempa{\blx@xml@include{#1}}} -% []{} -\newrobustcmd*{\DeclareExtradate}[2][]{% - \ifblank{#1} - {\blx@ed{#2}{global}} - {\forcsvlist{\blx@ed{#2}}{#1}}} -\@onlypreamble\DeclareExtradate -\blx@DeclareBackendOption{global,type}[xml]{extradatespec} - -\def\blx@ed#1#2{% +% {} +\newrobustcmd*{\DeclareExtradate}[1]{% \begingroup \let\blx@tempa\@empty \let\scope\blx@extradate@scope #1% - \ifdef\blx@ed@type - {\ifinlist{#2}\blx@ed@type - {\global\cslet{blx@extradate@#2}\blx@tempa} - {\listgadd\blx@ed@type{#2}% - \global\cslet{blx@extradate@#2}\blx@tempa}} - {\listgadd\blx@ed@type{#2}% - \global\cslet{blx@extradate@#2}\blx@tempa}% + \global\let\blx@bcf@extradatespec\blx@tempa \endgroup} +\@onlypreamble\DeclareExtradate +\blx@DeclareBackendOption{global}[xml]{extradatespec} \newrobustcmd*{\blx@extradate@scope}[1]{% \let\blx@tempb\@empty - \blx@tempcnta\z@ \let\field\blx@ordereded@field #1% \csxappto{blx@tempa}{% @@ -14893,7 +14877,7 @@ \endgroup} \@onlypreamble\DeclareExtradateContext \blx@DeclareBackendOption{global,type}[xml]{extradatecontext} - + \newrobustcmd*{\DeclareLabelname}[2][]{% \begingroup \let\blx@tempa\@empty