% $Id: philosophy-verbose.bbx,v 0.6 2010/03/23 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-verbose.bbx}[$Id: philosophy-verbose.bbx,v 0.6 2010/03/23 valbsua beta $] \RequireBibliographyStyle{authortitle} \RequireBibliographyStyle{philosophy-standard} %*********************************************************************************************************** % % AT BEGIN BILIOGRAPHY % %*********************************************************************************************************** \AtBeginBibliography{% \global\boolfalse{cbx:loccit}% \citetrackerfalse } % Macro per la forma ``Publisher, Location Year''. %*********************************************************************************************************** \newbibmacro*{commaloc}{% \iflistundef{publisher}% {}% {\printlist{publisher}} \setunit*{\addcomma\space}% \printlist{location}% \setunit*{\addspace}% \usebibmacro{date}% \newunit} % Macro per la forma ``Location: Publisher, Year'' %*********************************************************************************************************** \newbibmacro*{colonloc}{% \printlist{location}% \iflistundef{publisher}% {\setunit*{\addspace}} {\setunit*{\addcolon\space}}% \printlist{publisher}% \setunit*{\addcomma\space}% \usebibmacro{date}% \newunit} %*********************************************************************************************************** %*********************************************************************************************************** \renewbibmacro*{bbx:editor}[1]{% \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}} {\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND \NOT\iffirstonpage\AND \(\NOT\boolean{bbx@inset}\OR \iffieldequalstr{entrysetcount}{1}\)} {\bibnamedash} {\printnames{editor}% \setunit{\addspace}% #MOD# \usebibmacro{bbx:savehash}}% \usebibmacro{#1}% \clearname{editor}} {\global\undef\bbx@lasthash}} \DeclareBibliographyDriver{incollection}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/translator+others}% \setunit{\labelnamepunct}\newblock \usebibmacro{title}% \newunit \printlist{language}% \newunit\newblock \usebibmacro{byauthor}% \newunit\newblock \usebibmacro{in:}% \iffootnote{% \iffieldundef{crossref}% {\usebibmacro{incollection:full}}% {\printtext{\setunit{\unspace}}% Thanks to Sander Gliboff \cbx@crossref{\thefield{crossref}}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}}}{\usebibmacro{incollection:full}}% } \DeclareBibliographyDriver{inbook}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% \usebibmacro{author/translator+others}% \setunit{\labelnamepunct}\newblock \usebibmacro{title}% \newunit \printlist{language}% \newunit\newblock \usebibmacro{byauthor}% \newunit\newblock \usebibmacro{in:}% \iffootnote{% \iffieldundef{crossref}% {\usebibmacro{inbook:full}}% {\printtext{\setunit{\unspace}}% Thanks to Sander Gliboff \cbx@inbookcrossref{\thefield{crossref}}% \newunit\newblock \usebibmacro{pageref}% \usebibmacro{finentry}}}{\usebibmacro{inbook:full}}% } \endinput