From 23ceffcff36fa84c87cb45cd5cba0851311b99fd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Mar 2016 23:21:45 +0000 Subject: biblatex-philosophy (10mar16) git-svn-id: svn://tug.org/texlive/trunk@39987 c570f23f-e606-0410-a88d-b1316a301751 --- .../biblatex-philosophy/philosophy-classic.cbx | 48 ++++++++++++++++++---- 1 file changed, 40 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx') diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx index c6a65b94d38..b538ca9bc5b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-classic.cbx} - [2015/10/09 v1.3 valbusa beta] + [2016/03/10 v1.4 valbusa beta] %% These style redefines the \cmd{bibrangedash} and \cmd{bibdatedash} commands in order to get a simple hyphen (-) instead of an en dash (--) in the page and date ranges. If you prefer the en dash use the following code: @@ -33,23 +33,55 @@ \AtEveryCite{% \iftoggle{cbx:scauthorscite}% - {\let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% + {\let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc} + \let\mkbibnameaffix\mkbibsc}% {}}% + +\ifblx@load@version@legacy \DeclareNameFormat{labelname}{% \bibhyperref{% \ifcase\value{uniquename}% - \usebibmacro{name:last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:family}{#1}{#3}{#5}{#7}% + \or + \ifuseprefix + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#8}}% + {\usebibmacro{name:given-family}{#1}{#4}{#6}{#8}}% + \or + \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% + \fi + \usebibmacro{name:andothers}}} + \else +\DeclareNameFormat{labelname}{% + \nameparts{#1}% +\bibhyperref{\ifcase\value{uniquename}% + \usebibmacro{name:family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}% \or \ifuseprefix - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}% - {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}% + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffixi}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefixi} + {\namepartsuffixi}}% \or - \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}% \fi \usebibmacro{name:andothers}}} + \fi %%%% \newcommand{\switchclass}[2]{% -- cgit v1.2.3