diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-22 00:35:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-22 00:35:44 +0000 |
commit | 85f7041e0b2f447c48856bffbd4943c0ffc0a94c (patch) | |
tree | fc3bf72fedb71b11353c25de929ab51d86404146 /Master/texmf-dist/tex/latex/biblatex-philosophy/philosophy-modern.bbx | |
parent | 7e6df8f048b4e07863f71df4d22ed7761ee38913 (diff) |
biblatex-philosophy (21nov10)
git-svn-id: svn://tug.org/texlive/trunk@20530 c570f23f-e606-0410-a88d-b1316a301751
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.bbx | 72 |
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}% |