diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/bbx/debug.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/bbx/debug.bbx | 48 |
1 files changed, 32 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/bbx/debug.bbx b/Master/texmf-dist/tex/latex/biblatex/bbx/debug.bbx index afd8b5e311e..319b26e0553 100644 --- a/Master/texmf-dist/tex/latex/biblatex/bbx/debug.bbx +++ b/Master/texmf-dist/tex/latex/biblatex/bbx/debug.bbx @@ -35,22 +35,38 @@ {\endlist} {\item} -\DeclareNameFormat{debug}{% - \bbx@mklabel{\currentname}% - \ifblank{#3}{}{\detokenize{#3}\space}% - \ifblank{#5}{}{\detokenize{#5}\ifpunctmark{'}{}{\space}}% - \detokenize{#1}% - \ifblank{#7}{}{\space\detokenize{#7}}% - \ifblank{#3}{}{\bbx@mksublabel{first}\detokenize{#3}}% - \ifblank{#1}{}{\bbx@mksublabel{last}\detokenize{#1}}% - \ifblank{#5}{}{\bbx@mksublabel{prefix}\detokenize{#5}}% - \ifblank{#7}{}{\bbx@mksublabel{affix}\detokenize{#7}}% - \bbx@mksublabel{inits}% - \ifblank{#4}{}{\detokenize{#4}\space}% - \ifblank{#6}{}{\detokenize{#6}\ifpunctmark{'}{}{\space}}% - \detokenize{#2}% - \ifblank{#8}{}{\space\detokenize{#8}}% -} +\@ifpackageloaded{biblatex_legacy} + {\DeclareNameFormat{debug}{% + \bbx@mklabel{\currentname}% + \ifblank{#3}{}{\detokenize{#3}\space}% + \ifblank{#5}{}{\detokenize{#5}\ifpunctmark{'}{}{\space}}% + \detokenize{#1}% + \ifblank{#7}{}{\space\detokenize{#7}}% + \ifblank{#3}{}{\bbx@mksublabel{given}\detokenize{#3}}% + \ifblank{#1}{}{\bbx@mksublabel{family}\detokenize{#1}}% + \ifblank{#5}{}{\bbx@mksublabel{prefix}\detokenize{#5}}% + \ifblank{#7}{}{\bbx@mksublabel{affix}\detokenize{#7}}% + \bbx@mksublabel{inits}% + \ifblank{#4}{}{\detokenize{#4}\space}% + \ifblank{#6}{}{\detokenize{#6}\ifpunctmark{'}{}{\space}}% + \detokenize{#2}% + \ifblank{#8}{}{\space\detokenize{#8}}}} + {\DeclareNameFormat{debug}{% + \nameparts{#1}% + \bbx@mklabel{\currentname}% + \ifdefvoid{\namepartgiven}{}{\expandafter\detokenize\expandafter{\namepartgiven}\space}% + \ifdefvoid{\namepartprefix}{}{\expandafter\detokenize\expandafter{\namepartprefix}\ifpunctmark{'}{}{\space}}% + \expandafter\detokenize\expandafter{\namepartfamily}% + \ifdefvoid{\namepartsuffix}{}{\expandafter\space\expandafter\detokenize\expandafter{\namepartsuffix}}% + \ifdefvoid{\namepartgiven}{}{\bbx@mksublabel{given}\expandafter\detokenize\expandafter{\namepartgiven}}% + \ifdefvoid{\namepartfamily}{}{\bbx@mksublabel{family}\expandafter\detokenize\expandafter{\namepartfamily}}% + \ifdefvoid{\namepartprefix}{}{\bbx@mksublabel{prefix}\expandafter\detokenize\expandafter{\namepartprefix}}% + \ifdefvoid{\namepartsuffix}{}{\bbx@mksublabel{suffix}\expandafter\detokenize\expandafter{\namepartsuffix}}% + \bbx@mksublabel{inits}% + \ifdefvoid{\namepartgiveni}{}{\expandafter\detokenize\expandafter{\namepartgiveni}\space}% + \ifdefvoid{\namepartprefixi}{}{\expandafter\detokenize\expandafter{\namepartprefixi}\ifpunctmark{'}{}{\space}}% + \expandafter\detokenize\expandafter{\namepartfamilyi}% + \ifdefvoid{\namepartsuffixi}{}{\expandafter\space\expandafter\detokenize\expandafter{\namepartsuffixi}}}} \DeclareListFormat{debug}{% \bbx@mklabel{\currentlist}% |