diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx | 71 |
1 files changed, 60 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx index c0ec21ec6b6..8613af82194 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-verbose.cbx} -[2017/03/14 v1.9.2 A set of styles for biblatex] +[2017/03/17 v1.9.3 A set of styles for biblatex] @@ -35,14 +35,6 @@ \renewcommand*{\mkibid}{\iftoggle{cbx:latinemph}{\emph}{}} \AtEveryCite{% \togglefalse{bbx:annotation}% - \renewcommand*{\mkbibnamefamily}[1]{% - \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}% - \renewcommand*{\mkbibnamegiven}[1]{% - \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}% - \renewcommand*{\mkbibnameprefix}[1]{% - \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}% - \renewcommand*{\mkbibnamesuffix}[1]{% - \iffootnote{\iftoggle{cbx:scauthorscite}{\mkbibsc{#1}}{#1}}{#1}}% \renewbibmacro*{name:andothers}{% \ifboolexpr{% test {\ifnumequal{\value{listcount}}{\value{liststop}}}% @@ -65,7 +57,60 @@ {}% \andmoredelim\bibstring[\mkibid]{andmore}}% {}}% +\DeclareNameFormat{labelname}{% +\iftoggle{cbx:scauthorscite}{% + \iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnamesuffix\mkbibsc}{}}{}% + \nameparts{#1}% + \bibhyperref{\ifcase\value{uniquename}% + \usebibmacro{name:family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \or + \ifuseprefix + {\usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefix}% + {\namepartsuffixi}}% + {\usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefixi}% + {\namepartsuffixi}}% + \or + \usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}% + \fi + \usebibmacro{name:andothers}}}% }% +\DeclareNameFormat{scdefault}{% +\iffootnote{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnamesuffix\mkbibsc}{}% + \nameparts{#1}% + \ifgiveninits + {\usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiveni}% + {\namepartprefix}% + {\namepartsuffix}}% + {\usebibmacro{name:given-family}% + {\namepartfamily}% + {\namepartgiven}% + {\namepartprefix}% + {\namepartsuffix}}% + \usebibmacro{name:andothers}}% \newbibmacro*{cite:opcit}{% \printtext[bibhyperlink]{\bibstring[\mkibid]{opcited}}} @@ -96,7 +141,9 @@ \global\toggletrue{cbx:fullcite}% \printtext[bibhypertarget]{% \usedriver - {\DeclareNameAlias{sortname}{default}}% + {\iftoggle{cbx:scauthorscite}{% + \DeclareNameAlias{sortname}{scdefault}}% + {\DeclareNameAlias{sortname}{default}}}% {\thefield{entrytype}}}% \usebibmacro{shorthandintro}}% {\usebibmacro{cite:shorthand}}} @@ -129,7 +176,9 @@ \DeclareCiteCommand{\fullcite} {\usebibmacro{prenote}} {\usedriver - {\DeclareNameAlias{sortname}{default}}% + {\iftoggle{cbx:scauthorscite}% + {\DeclareNameAlias{sortname}{scdefault}}% + {\DeclareNameAlias{sortname}{default}}}% {\thefield{entrytype}}} {\multicitedelim} {\usebibmacro{postnote}} |