diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/biblatex1.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/biblatex1.sty | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty b/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty index e672b64d927..6a9aeac7dd9 100644 --- a/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty +++ b/Master/texmf-dist/tex/latex/biblatex/biblatex1.sty @@ -426,7 +426,7 @@ \newtoggle{blx@mcite} \newtoggle{blx@loadfiles} \newtoggle{blx@singletitle} -\newtoggle{blx@terseinits}% BibTeX only +\newtoggle{blx@terseinits} \newtoggle{blx@firstinits} \newtoggle{blx@useauthor} \newtoggle{blx@useeditor} @@ -3159,6 +3159,7 @@ \def\ifuseauthor{\iftoggle{blx@useauthor}}% \def\ifuseeditor{\iftoggle{blx@useeditor}}% \def\ifusetranslator{\iftoggle{blx@usetranslator}}% + \def\ifterseinits{\iftoggle{blx@terseinits}}% \def\iffirstinits{\iftoggle{blx@firstinits}}% \def\ifsingletitle{\iftoggle{abx@bool@singletitle}}% \def\ifandothers#1{\iftoggle{abx@bool@more#1}}% @@ -4835,16 +4836,18 @@ {\ifdef\blx@thelangenv {\def\blx@beglang{% \blx@clearlang - \begingroup + \begingroup \blx@imc@iffieldundef{hyphenation} {} - {\blx@hook@initlang - \def\blx@endlang{% - \blx@hook@endlang - \csname end\blx@thelangenv\endcsname - \endgroup}% - \csname\blx@thelangenv\expandafter\endcsname - \expandafter{\abx@field@hyphenation}}}} + {\ifcsundef{l@\abx@field@hyphenation} + {\blx@warn@nohyph{\abx@field@hyphenation}} + {\blx@hook@initlang + \def\blx@endlang{% + \blx@hook@endlang + \csname end\blx@thelangenv\endcsname + \endgroup}% + \csname\blx@thelangenv\expandafter\endcsname + \expandafter{\abx@field@hyphenation}}}}} {}% \blx@langsetup\bbl@main@language} {\blx@err@patch{'babel' package}% @@ -5835,7 +5838,10 @@ \blx@addchecksum{#1}{#4}}} \AtEndDocument{% - \def\abx@aux@number#1#2#3#4{\blx@addchecksum{#1}{#4}}} + \def\abx@aux@number#1#2#3#4{% + \ifblank{#4} + {} + {\blx@addchecksum{#1}{#4}}}} \def\blx@addlabelnumber{% \begingroup @@ -6928,8 +6934,8 @@ \global\advance\blx@maxsegment\@ne \global\c@refsegment\blx@maxsegment \blx@inf@refseg - \blx@info{Setting label 'refsegment:\the\c@refsegment'}% - \label{refsegment:\the\c@refsegment}% + \blx@info{Setting label 'refsegment:\the\c@refsection\the\c@refsegment'}% + \label{refsegment:\the\c@refsection\the\c@refsegment}% \ifcsundef{blx@segm@\the\c@refsection @\the\c@refsegment} {\global\cslet{blx@segm@\the\c@refsection @\the\c@refsegment}\@empty} {}} @@ -8486,6 +8492,7 @@ \def\ifuseauthor{\blx@TE{\iftoggle{blx@useauthor}}}% \def\ifuseeditor{\blx@TE{\iftoggle{blx@useeditor}}}% \def\ifusetranslator{\blx@TE{\iftoggle{blx@usetranslator}}}% + \def\ifterseinits{\blx@TE{\iftoggle{blx@terseinits}}}% \def\iffirstinits{\blx@TE{\iftoggle{blx@firstinits}}}% \def\ifsingletitle{\blx@TE{\iftoggle{abx@bool@singletitle}}}% \def\ifandothers#1{\blx@TE{\iftoggle{abx@bool@more#1}}}}} @@ -9653,11 +9660,11 @@ \DeclareBibliographyOption{terseinits}[true]{% \ifstrequal{#1}{true} - {\toggletrue{blx@terseinits}% BibTeX only + {\toggletrue{blx@terseinits} \renewrobustcmd*{\bibinitperiod}{} \renewrobustcmd*{\bibinitdelim}{} \renewrobustcmd*{\bibinithyphendelim}{}} - {\togglefalse{blx@terseinits}% BibTeX only + {\togglefalse{blx@terseinits} \renewrobustcmd*{\bibinitperiod}{\adddot} \renewrobustcmd*{\bibinitdelim}{\addnbspace} \renewrobustcmd*{\bibinithyphendelim}{\adddot\mbox{-}}}} |