diff options
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 | 121 |
1 files changed, 53 insertions, 68 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 24253e2033a..52bca74dca4 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.cbx @@ -1,11 +1,11 @@ -% $Id: philosophy-verbose.cbx,v 0.7c 2011/05/16 17:00:00 15:42:33 valbusa beta $ -% Copyright 2009-2011 Ivan Valbusa. This package is author-maintained. +% $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. \ProvidesFile{philosophy-verbose.cbx} -[$Id: philosophy-verbose.cbx,v 0.7c 2011/05/16 valbusa beta $] +[$Id: philosophy-verbose.cbx,v 0.8b 2012/05/06 Valbusa$] \RequireCitationStyle{verbose-trad2} @@ -26,28 +26,32 @@ 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}} -% MACROS -%*********************************** + +\newbibmacro*{cite:opcit}{% + \printtext[bibhyperlink]{\bibstring[\mkibid]{opcit}}} + \newbibmacro*{cite:loccit}{% \printtext{% \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{% @@ -61,75 +65,56 @@ \bibhyperlink{cite\csuse{cbx@lastcite@\thefield{entrykey}}}{% \bibstring[\mkibid]{ibidem}}}}}% - \renewbibmacro*{cite:title}{% - \ifsingletitle{\bibstring[\mkibid]{opcit}}{ +\renewbibmacro*{cite:title}{%OK + \ifsingletitle{\usebibmacro{cite:opcit}}{% \printtext[bibhyperlink]{% \printfield[citetitle]{labeltitle}% - \iftoggle{cbx:commacit}{\setunit{\addcomma\space}} + \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}% {\setunit{\addspace\midsentence}}}% - \bibstring{cit}\midsentence}} + \bibstring{cited}\midsentence}} - \renewbibmacro*{cite:full}{% + \renewbibmacro*{cite:full}{%OK \usebibmacro{cite:full:citepages}% \global\toggletrue{cbx:fullcite}% \printtext[bibhypertarget]{% \usedriver - {\iftoggle{cbx:scauthorscite}{\DeclareNameAlias{sortname}{scdefault}}{\DeclareNameAlias{sortname}{default}}} + {\iftoggle{cbx:scauthorscite}{% + \DeclareNameAlias{sortname}{scdefault}}% + {\DeclareNameAlias{sortname}{default}}}% {\thefield{entrytype}}}% \usebibmacro{shorthandintro}} -\newbibmacro*{ccite}{% - \global\togglefalse{cbx:loccit}% - \bibhypertarget{cite\the\value{instcount}}{% - \ifciteseen - {\iffieldundef{shorthand} - {\ifciteibid - {\usebibmacro{cite:ibid}} - {\usebibmacro{cite:title}}% - \usebibmacro{cite:save}} - {\usebibmacro{cite:shorthand}}} - {\usebibmacro{ccite:full}% - \usebibmacro{cite:save}}}} - -\newbibmacro*{ccite:full}{% - \renewbibmacro*{author}{}% - \renewbibmacro*{editor}{}% - \renewbibmacro*{translator}{}% - \renewbibmacro*{editor+others}{}% - \printtext[bibhypertarget]{% - \usedriver - {\DeclareNameAlias{sortname}{default}} - {\thefield{entrytype}}}% - \usebibmacro{shorthandintro}} +\DeclareNameFormat{noname}{} -% COMMANDS -%*********************************** -\DeclareCiteCommand{\ccite} - {\usebibmacro{prenote}} - {\usebibmacro{citeindex}% - \usebibmacro{ccite}} - {\multicitedelim} - {\usebibmacro{cite:postnote}} +\DeclareCiteCommand{\ccite} + {\usebibmacro{prenote}\unspace\addspace}% + {\global\togglefalse{cbx:loccit}% + \usedriver{\DeclareNameAlias{sortname}{noname}} + {\thefield{entrytype}}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} \DeclareCiteCommand{\cbx@crossref} - {\let\scshape\normalfont}% per evitare il maiuscoletto all'interno della voce + {}% {\ifciteseen{\usebibmacro{editor+others}% \setunit*{\addcomma\space}\printtext[bibhyperlink]{% \printfield[citetitle]{labeltitle}% \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}% {\setunit{\addspace\midsentence}}% - \bibstring{cit}}}{\usebibmacro{incollection:full}}}% + \bibstring{cited}}}{\usebibmacro{incollection:full}}}% {}% {}% \DeclareCiteCommand{\cbx@inbookcrossref} - {\let\scshape\normalfont}% per evitare il maiuscoletto all'interno della voce - {\ifciteseen{\usebibmacro{bybookauthor}% - \setunit*{\addcomma\space}\printtext[bibhyperlink]{% - \printfield[citetitle]{labeltitle}% - \iftoggle{cbx:commacit}{\setunit{\addcomma\space}}% - {\setunit{\addspace\midsentence}}% - \bibstring{cit}}}{\usebibmacro{inbook:full}}}% + {}% + {\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}}}% {}% {}% |