diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-10 23:21:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-10 23:21:45 +0000 |
commit | 23ceffcff36fa84c87cb45cd5cba0851311b99fd (patch) | |
tree | cf6b9ae65aca41e370089a4175394b79c58f751b /Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx | |
parent | 69f5b03cb244e91d7890b23c761ec2ceb318b957 (diff) |
biblatex-philosophy (10mar16)
git-svn-id: svn://tug.org/texlive/trunk@39987 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx | 63 |
1 files changed, 50 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx index aa81774e6e6..c8e6ccdcd36 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-standard.bbx @@ -13,7 +13,7 @@ %% License information appended %% \ProvidesFile{philosophy-standard.bbx} - [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: @@ -111,22 +111,59 @@ {}} \AtBeginBibliography{% \iftoggle{bbx:scauthorsbib}{% -\DeclareNameFormat{sortname}{% - \let\mkbibnamelast\mkbibsc% - \let\mkbibnamefirst\mkbibsc% +\ifblx@load@version@legacy +\DeclareNameFormat{family-given/given-family}{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% \let\mkbibnameprefix\mkbibsc% - \let\mkbibnameaffix\mkbibsc + \let\mkbibnameaffix\mkbibsc% \ifnumequal{\value{listcount}}{1} {\iffirstinits - {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}% - {\usebibmacro{name:last-first}{#1}{#3}{#5}{#7}}% + {\usebibmacro{name:family-given}{#1}{#4}{#5}{#7}}% + {\usebibmacro{name:family-given}{#1}{#3}{#5}{#7}}% \ifblank{#3#5} {} {\usebibmacro{name:revsdelim}}} {\iffirstinits - {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}} - {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}}% - \usebibmacro{name:andothers}}}% + {\usebibmacro{name:given-family}{#1}{#4}{#5}{#7}} + {\usebibmacro{name:given-family}{#1}{#3}{#5}{#7}}}% + \usebibmacro{name:andothers}}% +\else +\DeclareNameFormat{sortname}{% + \let\mkbibnamefamily\mkbibsc% + \let\mkbibnamegiven\mkbibsc% + \let\mkbibnameprefix\mkbibsc% + \let\mkbibnameaffix\mkbibsc% + \nameparts{#1}% + \ifnumequal{\value{listcount}}{1} + {\ifgiveninits + {\usebibmacro{name:family-given} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:family-given} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}% + \ifempty{\namepartgiven\namepartprefix} + {} + {\usebibmacro{name:revsdelim}}} + {\ifgiveninits + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiveni} + {\namepartprefix} + {\namepartsuffix}} + {\usebibmacro{name:given-family} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}}}% + \usebibmacro{name:andothers}} +\fi + }% {}}% \renewcommand*{\newunitpunct}{\addcomma\space} \renewcommand*{\subtitlepunct}{\addperiod\space} @@ -337,7 +374,7 @@ \newbibmacro*{origtitle:article-inbook-incoll}{% \iffieldundef{origtitle}{}{% \printfield[origtitle]{origtitle}% -\setunit{\addcomma\space}} +\setunit{\addcomma\space}}% \iffieldundef{usera}{}{% \usebibmacro{in:}% \printfield{usera}% @@ -1594,7 +1631,7 @@ \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}} -\ifblx@load@version@one +\ifblx@load@version@legacy \else \DeclareStyleSourcemap{ \maps[datatype=bibtex]{ @@ -1615,8 +1652,8 @@ } } } -\fi \DeclareDataInheritance{*}{*}{\noinherit{annotation}} +\fi \DeclareFieldAlias[jurisdiction]{usera}[jurisdiction]{notacomm} \DeclareFieldAlias[jurisdiction]{nameadddon}[jurisdiction]{section} |