summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx72
1 files changed, 59 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
index e2f9fc82d9a..9bb0cdbb994 100644
--- a/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
+++ b/Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx
@@ -1,11 +1,11 @@
-% $Id: philosophy-modern.bbx,v 0.7a 2010/04/03 Valbusa$
+% $Id: philosophy-modern.bbx,v 0.7b 2010/11/20 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-modern.bbx}[philosophy-modern.bbx,v 0.7a 2010/04/03 valbusa beta$]
+\ProvidesFile{philosophy-modern.bbx}[philosophy-modern.bbx,v 0.7b 2010/11/20 valbusa beta$]
\RequireBibliographyStyle{philosophy-classic}
@@ -49,14 +49,14 @@ yearleft=false}
}
\AtBeginShorthands{%
- \renewcommand{\postsep}{}
+ \renewcommand{\postsep}{}%
\renewcommand{\labelnamepunct}{\addcomma\space}}
%%---------------------------------------------------------------------------------------------
% Macro
%%---------------------------------------------------------------------------------------------
-
+%
\renewbibmacro*{date+extrayear}{%
\iffieldundef{year}%
{}%
@@ -70,13 +70,14 @@ yearleft=false}
\iffieldundef{label}%
{\iffieldundef{shorttitle}
{\printfield{title}%
- \clearfield{title}}
- {\printfield[title]{shorttitle}}}
+ \clearfield{title}}%
+ {\printfield[title]{shorttitle}}}%
{\printtext{\printfield{label}}%
\postsep}}
% macro 'author' OKKKKK
%%----------------------------------------------------
+
\renewbibmacro*{author}{%
\ifthenelse{\ifuseauthor\AND\NOT\ifnameundef{author}}
{\ifthenelse{\iffieldequals{fullhash}{\bbx@lasthash}\AND
@@ -86,14 +87,13 @@ yearleft=false}
{}%MOD
{\usebibmacro{bbx:savehash}%
\printnames{author}%
- \postsep%ADD
\iffieldundef{authortype}
- {\setunit{\addspace}}
- {\setunit{\addcomma\space}}}%
- \iffieldundef{authortype}
- {}
- {\usebibmacro{authorstrg}%
- \setunit{\addspace}}}%
+ {}%
+ {\setunit{\addcomma\space}}%
+ \usebibmacro{authorstrg}%
+ \setunit{\addspace}
+ \postsep%ADD
+ }}%
{\global\undef\bbx@lasthash
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
@@ -124,6 +124,52 @@ yearleft=false}
% BIBLIOGRAPHY DRIVERS
%%---------------------------------------------------------------------------------------------
+\newbibmacro*{crosslabeltitle}{%
+ \iffieldundef{label}%
+ {\iffieldundef{shorttitle}
+ {\printfield{title}%
+ \clearfield{title}}%
+ {\printfield[title]{shorttitle}}}%
+ {\printtext{\printfield{label}}}}
+
+\DeclareCiteCommand{\bbx@crossref}
+ {}%
+ {\ifuseeditor{\ifthenelse{\value{listtotal}=2}
+ {\printnames[][-\value{maxnamesincross}]{labelname}}
+ {\printnames[][-\value{minnamesincross}]{labelname}}}
+ {\usebibmacro{crosslabeltitle}}
+ \setunit*{\addspace}%
+ \printtext{\usebibmacro{crossdate+extrayear}}}%
+ {}%
+ {}%
+
+\DeclareBibliographyDriver{periodical}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor}%
+ \ifuseeditor{% trick for entry with ``label'' field
+ \setunit{\addcomma\space}}
+ {}\newblock
+ %\setunit{\labelnamepunct}\newblock
+ \usebibmacro{title+issuetitle}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \usebibmacro{finentry}}
+
\DeclareBibliographyDriver{collection}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%