diff options
author | Karl Berry <karl@freefriends.org> | 2013-03-17 21:52:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-03-17 21:52:06 +0000 |
commit | e6826e3bb3139f2329f722784dfa24c5cbb824dc (patch) | |
tree | e770a052734db40bf9e6b77d167444b5ff6c4634 /Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx | |
parent | f6ebf7e69e4c372ab549c769ce5058a8f864336d (diff) |
biblatex-philosophy
git-svn-id: svn://tug.org/texlive/trunk@29411 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx | 137 |
1 files changed, 66 insertions, 71 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx index 52bca74dca4..8bdc3830958 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx @@ -1,63 +1,72 @@ -% $Id: philosophy-verbose.cbx,v 0.8b 2012/05/06 valbusa beta $ -% Copyright 2009-2012 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. - +%% +%% This is file `philosophy-verbose.cbx', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% biblatex-philosophy.dtx (with options: `verbose-cbx') +%% ______________________________________________________ +%% The biblatex-philosophy package +%% Copyright (C) 2009-2013 Ivan Valbusa +%% All rights reserved +%% +%% License information appended +%% \ProvidesFile{philosophy-verbose.cbx} -[$Id: philosophy-verbose.cbx,v 0.8b 2012/05/06 Valbusa$] + [2013/03/15 v0.8c valbusa beta] \RequireCitationStyle{verbose-trad2} \newtoggle{cbx:scauthorscite} \newtoggle{cbx:latinemph} \newtoggle{cbx:commacit} + \DeclareBibliographyOption{scauthorscite}[true]{% \settoggle{cbx:scauthorscite}{#1}} \DeclareBibliographyOption{latinemph}[true]{% \settoggle{cbx:latinemph}{#1}} \DeclareBibliographyOption{commacit}[true]{% \settoggle{cbx:commacit}{#1}} + \ExecuteBibliographyOptions{% - idemtracker=false, - loccittracker=strict, - scauthorscite=false, - latinemph=false, - commacit=false} +idemtracker=false, +loccittracker=strict, +scauthorscite=false, +latinemph=false, +commacit=false} \AtEveryCite{% - \togglefalse{bbx:annotation}% - \iftoggle{cbx:latinemph}{\renewcommand*{\mkibid}{\emph}}{}% - \iftoggle{cbx:scauthorscite}{\DeclareNameFormat{labelname}{% - \ifcase\value{uniquename}% - \usebibmacro{name:last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}{\textsc{#7}}% - \or - \ifuseprefix - {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#5}}{\textsc{#8}}}% - {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#6}}{\textsc{#8}}}% - \or - \usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}{\textsc{#7}}% - \fi - \usebibmacro{name:andothers}}}{}} +\togglefalse{bbx:annotation}% +\iftoggle{cbx:latinemph}{\renewcommand*{\mkibid}{\emph}}{}% +\iftoggle{cbx:scauthorscite}{% +\DeclareNameFormat{labelname}{% +\ifcase\value{uniquename}% + \usebibmacro{name:last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}{\textsc{#7}}% +\or + \ifuseprefix + {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#5}}{\textsc{#8}}}% + {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#6}}{\textsc{#8}}}% +\or + \usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}{\textsc{#7}}% +\fi +\usebibmacro{name:andothers}}}{}} \DeclareNameFormat{scdefault}{% - \iffirstinits - {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#5}}{\textsc{#7}}} - {\ifblank{#3}% - {\usebibmacro{name:first-last}{\textsc{#1}}{#3}{#5}{\textsc{#7}}}% - {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}{\textsc{#7}}}}% - \usebibmacro{name:andothers}} - - +\iffirstinits + {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#4}}{\textsc{#5}}{\textsc{#7}}} + {\ifblank{#3}% + {\usebibmacro{name:first-last}{\textsc{#1}}{#3}{#5}{\textsc{#7}}}% + {\usebibmacro{name:first-last}{\textsc{#1}}{\textsc{#3}}{\textsc{#5}}{\textsc{#7}}}}% +\usebibmacro{name:andothers}} \newbibmacro*{cite:opcit}{% \printtext[bibhyperlink]{\bibstring[\mkibid]{opcit}}} - + \newbibmacro*{cite:loccit}{% \printtext{% \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{% \bibstring[\mkibid]{loccit}}}% \global\toggletrue{cbx:loccit}} - + \renewbibmacro*{cite:ibid}{% \ifloccit {\usebibmacro{cite:loccit}}{% @@ -83,39 +92,25 @@ {\DeclareNameAlias{sortname}{default}}}% {\thefield{entrytype}}}% \usebibmacro{shorthandintro}} - -\DeclareNameFormat{noname}{} - -\DeclareCiteCommand{\ccite} - {\usebibmacro{prenote}\unspace\addspace}% - {\global\togglefalse{cbx:loccit}% - \usedriver{\DeclareNameAlias{sortname}{noname}} - {\thefield{entrytype}}} - {\multicitedelim} - {\usebibmacro{cite:postnote}} - -\DeclareCiteCommand{\cbx@crossref} - {}% - {\ifciteseen{\usebibmacro{editor+others}% - \setunit*{\addcomma\space}\printtext[bibhyperlink]{% - \printfield[citetitle]{labeltitle}% - \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}% - {\setunit{\addspace\midsentence}}% - \bibstring{cited}}}{\usebibmacro{incollection:full}}}% - {}% - {}% - -\DeclareCiteCommand{\cbx@inbookcrossref} - {}% - {\ifciteseen - {\usebibmacro{bybookauthor}\setunit*{\addcomma\space}% - \printtext[bibhyperlink]{% - \printfield[citetitle]{labeltitle}% - \iftoggle{cbx:commacit} - {\setunit{\addcomma\space}}% - {\setunit{\addspace\midsentence}}% - \bibstring{cited}}}{\usebibmacro{inbook:full}}}% - {}% - {}% - -\endinput +\DeclareNameFormat{noname}{} +\DeclareCiteCommand{\ccite} +{\usebibmacro{prenote}\unspace\addspace}% +{\global\togglefalse{cbx:loccit}% +\usedriver{\DeclareNameAlias{sortname}{noname}} +{\thefield{entrytype}}} +{\multicitedelim} +{\usebibmacro{cite:postnote}} +%% +%% Copyright 2009-2013 by Ivan Valbusa +%% +%% This program is provided under the terms of the +%% LaTeX Project Public License distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt. +%% +%% Author: Ivan Valbusa +%% ivan dot valbusa at univr dot it +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% +%% End of file `philosophy-verbose.cbx'. |