diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx | 82 |
1 files changed, 46 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx index e5581d8fbb6..8e1e4a698c8 100644 --- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-verbose.bbx @@ -1,18 +1,49 @@ -% $Id: philosophy-verbose.bbx,v 0.7c 2011/05/16 Valbusa$ -% Copyright 2009-2011 Ivan Valbusa. This package is author-maintained. +% $Id: philosophy-verbose.bbx,v 0.8b 2012/05/06 Valbusa$ +% 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.bbx}[$Id: philosophy-verbose.bbx,v 0.7c 2011/05/16valbsua beta $] +\ProvidesFile{philosophy-verbose.bbx}[$Id: philosophy-verbose.bbx,v 0.8b 2012/05/06 valbsua beta $] \RequireBibliographyStyle{authortitle} \RequireBibliographyStyle{philosophy-standard} +\renewbibmacro*{bbx:editor}[1]{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\printnames{editor}% + \setunit{\addspace}% #MOD# + \usebibmacro{bbx:savehash}}% + \usebibmacro{#1}% + \clearname{editor}} + {\global\undef\bbx@lasthash}} + +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\printnames{author}% + \iffieldundef{nameaddon}{}% + {\setunit{\addspace}% + \printtext[brackets]{\printfield{nameaddon}}}% + \setunit{\addcomma\space}% + \usebibmacro{bbx:savehash}}% + \usebibmacro{authorstrg}} + {\global\undef\bbx@lasthash}} %************************************************************** -% Macro per la forma ``Publisher, Location Year''. +%``Publisher, Location Year''. %************************************************************** \newbibmacro*{publocyear}{% \iflistundef{publisher}% @@ -23,7 +54,6 @@ \setunit*{\addspace}% \usebibmacro{date}% \newunit} - \newbibmacro*{inpublocyear}{% \iflistundef{institution}% {}% @@ -33,7 +63,6 @@ \setunit*{\addspace}% \usebibmacro{date}% \newunit} - \newbibmacro*{orgpublocyear}{% \iflistundef{organization}% {}% @@ -44,7 +73,7 @@ \usebibmacro{date}% \newunit} %************************************************************** -% Macro per la forma ``Location: Publisher, Year'' +%``Location: Publisher, Year'' %************************************************************** \newbibmacro*{loccolonpub}{% \printlist{location}% @@ -55,7 +84,6 @@ \setunit*{\addcomma\space}% \usebibmacro{date}% \newunit} - \newbibmacro*{inloccolonpub}{% \printlist{location}% \iflistundef{institution} @@ -65,7 +93,6 @@ \setunit*{\addcomma\space}% \usebibmacro{date}% \newunit} - \newbibmacro*{orgloccolonpub}{% \printlist{location}% \iflistundef{organization} @@ -76,7 +103,7 @@ \usebibmacro{date}% \newunit} %************************************************************** -% Macro per la forma ``Location, Publisher, Year'' +%``Location, Publisher, Year'' %************************************************************** \newbibmacro*{locpubyear}{% \printlist{location}% @@ -87,7 +114,6 @@ \setunit*{\addcomma\space}% \usebibmacro{date}% \newunit} - \newbibmacro*{inlocpubyear}{% \printlist{location}% \iflistundef{institution} @@ -97,7 +123,6 @@ \setunit*{\addcomma\space}% \usebibmacro{date}% \newunit} - \newbibmacro*{orglocpubyear}{% \printlist{location}% \iflistundef{organization} @@ -108,31 +133,18 @@ \usebibmacro{date}% \newunit} -%******************************************************************** -\renewbibmacro*{bbx:editor}[1]{% - \ifboolexpr{ - test \ifuseeditor - and - not test {\ifnameundef{editor}} - } - {\usebibmacro{bbx:dashcheck} - {\bibnamedash} - {\printnames{editor}% - \setunit{\addspace}% #MOD# - \usebibmacro{bbx:savehash}}% - \usebibmacro{#1}% - \clearname{editor}} - {\global\undef\bbx@lasthash}} - +%----------------------------------------------------------------- +% +% DRIVERS +% +%----------------------------------------------------------------- -%************************************************************** -% DRIVERS -%************************************************************** \DeclareBibliographyDriver{incollection}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/translator+others}% - \setunit{\labelnamepunct}\newblock + \setunit{\labelnamepunct} + \newblock \usebibmacro{title}% \newunit \printlist{language}% @@ -143,8 +155,7 @@ \iffootnote{% \iffieldundef{crossref}% {\usebibmacro{incollection:full}}% - {\printtext{\setunit{\unspace}}% Thanks to Sander Gliboff - \cbx@crossref{\thefield{crossref}}% + {\cbx@crossref{\thefield{crossref}}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}}}{\usebibmacro{incollection:full}}% @@ -165,8 +176,7 @@ \iffootnote{% \iffieldundef{crossref}% {\usebibmacro{inbook:full}}% - {\printtext{\setunit{\unspace}}% Thanks to Sander Gliboff - \cbx@inbookcrossref{\thefield{crossref}}% + {\cbx@inbookcrossref{\thefield{crossref}}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}}}{\usebibmacro{inbook:full}}% |