summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-10 23:21:45 +0000
committerKarl Berry <karl@freefriends.org>2016-03-10 23:21:45 +0000
commit23ceffcff36fa84c87cb45cd5cba0851311b99fd (patch)
treecf6b9ae65aca41e370089a4175394b79c58f751b /Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
parent69f5b03cb244e91d7890b23c761ec2ceb318b957 (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-classic.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx48
1 files changed, 40 insertions, 8 deletions
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]{%