summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
diff options
context:
space:
mode:
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.cbx22
1 files changed, 12 insertions, 10 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 b538ca9bc5b..c711671463d 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
@@ -7,13 +7,13 @@
%% biblatex-philosophy.dtx (with options: `classic-cbx')
%% ______________________________________________________
%% The biblatex-philosophy package
-%% Copyright (C) 2009-2015 Ivan Valbusa
+%% Copyright (C) 2009-2016 Ivan Valbusa
%% All rights reserved
%%
%% License information appended
%%
\ProvidesFile{philosophy-classic.cbx}
- [2016/03/10 v1.4 valbusa beta]
+ [2016/05/18 v1.5 A set of styles for biblatex]
%% 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:
@@ -40,7 +40,11 @@
{}}%
\ifblx@load@version@legacy
-\DeclareNameFormat{labelname}{%
+ \expandafter\@firstoftwo
+\else
+ \expandafter\@secondoftwo
+\fi
+{\DeclareNameFormat{labelname}{%
\bibhyperref{%
\ifcase\value{uniquename}%
\usebibmacro{name:family}{#1}{#3}{#5}{#7}%
@@ -51,9 +55,8 @@
\or
\usebibmacro{name:given-family}{#1}{#3}{#5}{#7}%
\fi
- \usebibmacro{name:andothers}}}
- \else
-\DeclareNameFormat{labelname}{%
+ \usebibmacro{name:andothers}}}}
+{\DeclareNameFormat{labelname}{%
\nameparts{#1}%
\bibhyperref{\ifcase\value{uniquename}%
\usebibmacro{name:family}
@@ -80,9 +83,8 @@
{\namepartprefix}
{\namepartsuffix}%
\fi
- \usebibmacro{name:andothers}}}
- \fi
-%%%%
+ \usebibmacro{name:andothers}}}}
+ %%%%
\newcommand{\switchclass}[2]{%
\iffieldequalstr{entrysubtype}{classic}%
@@ -375,7 +377,7 @@
{\multicitedelim}
{\usebibmacro{postnote}}
%%
-%% Copyright 2009-2015 by Ivan Valbusa
+%% Copyright 2009-2016 by Ivan Valbusa
%%
%% This program is provided under the terms of the
%% LaTeX Project Public License distributed from CTAN