summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx96
1 files changed, 89 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
index 1bc6244b70f..b5023b6e0e8 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-classic.bbx
@@ -1,11 +1,11 @@
-% $Id: philosophy-classic.bbx,v 0.6 2010/03/023 Valbusa$
+% $Id: philosophy-classic.bbx,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.bbx}[philosophy-classic.bbx,v 0.6 2010/03/23 valbusa beta$]
+\ProvidesFile{philosophy-classic.bbx}[philosophy-classic.bbx,v 0.7 2010/03/30 valbusa beta$]
\RequireBibliographyStyle{authoryear}
\RequireBibliographyStyle{philosophy-standard}
@@ -43,7 +43,7 @@ square=false}
\AtBeginShorthands{%
\boolfalse{bbx:annotation}
\renewcommand{\labelnamepunct}{\addcomma\space}
-\renewbibmacro*{commaloc}{%
+\renewbibmacro*{publocyear}{%
\iflistundef{publisher}{}
{\printlist{publisher}}
\setunit*{\addcomma\space}%
@@ -51,7 +51,7 @@ square=false}
\setunit*{\space}%
\printtext{\printfield{labelyear}}%
\newunit}
-\renewbibmacro*{colonloc}{%
+\renewbibmacro*{loccolonpub}{%
\printlist{location}%
\iflistundef{publisher}
{\setunit*{\addspace}}
@@ -60,7 +60,16 @@ square=false}
\setunit*{\addcomma\space}%
\printtext{\printfield{labelyear}}%
\newunit}
-\renewbibmacro*{date+extrayear}{}}
+\renewbibmacro*{locpubyear}{%
+ \printlist{location}%
+ \iflistundef{publisher}
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\space}%
+ \printtext{\printfield{labelyear}}%
+ \newunit}
+ \renewbibmacro*{date+extrayear}{}}
%***********************************************************************************************************
%
@@ -88,6 +97,18 @@ square=false}
{}%
{\printtext[parens]{\printfield{labelyear}\printfield{extrayear}}}}
+\renewbibmacro*{issue+date}{%
+\ifdefstring{\bbx@volnumformat}{volnumparens}
+{\printtext{%
+ \iffieldundef{issue}
+ {\printfield{month}}%
+ {\printfield{issue}}}}%
+ {\printtext[parens]{%
+ \iffieldundef{issue}
+ {\printfield{month}}
+ {\printfield{issue}}}}
+ \newunit}
+
% changed
\renewbibmacro*{bbx:editor}[1]{%
\ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}
@@ -109,7 +130,9 @@ square=false}
}%
}
-\newbibmacro*{commaloc}{%
+% Macro per la forma ``Publisher, Location Year''.
+%***********************************************************************************************************
+\newbibmacro*{publocyear}{%
\iflistundef{publisher}%
{}
{\printlist{publisher}}
@@ -117,14 +140,73 @@ square=false}
\printlist{location}%
\newunit}
-\newbibmacro*{colonloc}{%
+\newbibmacro*{inpublocyear}{%
+ \iflistundef{institution}%
+ {}
+ {\printlist{institution}}
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \newunit}
+
+\newbibmacro*{orgpublocyear}{%
+ \iflistundef{organization}%
+ {}
+ {\printlist{organization}}
+ \setunit*{\addcomma\space}%
+ \printlist{location}%
+ \newunit}
+
+% Macro per la forma ``Location: Publisher, Year''
+%***********************************************************************************************************
+\newbibmacro*{loccolonpub}{%
\printlist{location}%
\iflistundef{publisher}%
{\setunit*{\addspace}}
{\setunit*{\addcolon\space}}%
\printlist{publisher}%
\newunit}
+
+\newbibmacro*{inloccolonpub}{%
+ \printlist{location}%
+ \iflistundef{institution}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+\newunit}
+
+\newbibmacro*{orgloccolonpub}{%
+ \printlist{location}%
+ \iflistundef{organization}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{organization}%
+\newunit}
+% Macro per la forma ``Location, Publisher, Year''
+%***********************************************************************************************************
+\newbibmacro*{locpubyear}{%
+ \printlist{location}%
+ \iflistundef{publisher}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{publisher}%
+\newunit}
+
+\newbibmacro*{inlocpubyear}{%
+ \printlist{location}%
+ \iflistundef{institution}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{institution}%
+\newunit}
+
+\newbibmacro*{orglocpubyear}{%
+ \printlist{location}%
+ \iflistundef{organization}%
+ {\setunit*{\addspace}}
+ {\setunit*{\addcomma\space}}%
+ \printlist{organization}%
+\newunit}
%*********************************************************************
%% BIBLIOGRAPHY DRIVERS