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, 18 insertions, 4 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 59c38d371b9..8b73823b7c7 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.cbx
@@ -1,11 +1,11 @@
-% $Id: philosophy-classic.cbx,v 0.6 2010/03/23 Valbusa$
+% $Id: philosophy-classic.cbx,v 0.7 2010/03/30 Valbusa$
% Copyright 2009-2010 Ivan Valbusa. This package is author-maintained.
% Permission is granted to copy, distribute and/or modify this software under the
% terms of the LaTeX Project Public License, version 1.3c
% http://www.ctan.org/tex-archive/macros/latex/base/lppl.txt.
-\ProvidesFile{philosophy-classic.cbx}[philosophy-classic.cbx,v 0.6 2010/03/23 valbusa beta$]
+\ProvidesFile{philosophy-classic.cbx}[philosophy-classic.cbx,v 0.7 2010/03/230 valbusa beta$]
\RequireCitationStyle{authoryear-comp}
\DeclareLanguageMapping{italian}{italian-philosophy}
@@ -26,7 +26,9 @@ scauthorscite=false
%***********************************************************************************************************
\AtEveryCite{%
\ifbool{cbx:scauthorscite}%
- {\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}}
+ {\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}%
+ \renewcommand*{\mkbibnamefirst}[1]{\textsc{#1}}%
+ \renewcommand*{\mkbibnameprefix}[1]{\textsc{#1}}}%
{}%
}
@@ -74,6 +76,18 @@ scauthorscite=false
{\printtext[bibhyperref]{\printfield{year}}}
{\multicitedelim}
{\usebibmacro{postnote}}
-%***********************************************
+
+\DeclareCiteCommand{\sdcite}
+ {\boolfalse{citetracker}%
+ \boolfalse{pagetracker}%
+ \usebibmacro{prenote}}
+ {\indexnames{labelname}%
+ \printtext[bibhyperref]{\printnames{labelname}}%
+ \setunit{\addcomma\space}%
+ \indexfield{indextitle}%
+ \printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}}
+
\endinput