diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-24 23:34:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-24 23:34:23 +0000 |
commit | c7c99b452b090a42ce16b2c9fb28a5eed5fd1481 (patch) | |
tree | cba8093c9d2c0cd664522f7653c4817dc29f918c /Master/texmf-dist/tex | |
parent | 919f85285a2f8bdf4ef6d7f5b49a4bc61d443a27 (diff) |
historische-zeitschrift 0.9a (19oct10)
git-svn-id: svn://tug.org/texlive/trunk@20170 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/historische-zeitschrift/bbx/historische-zeitschrift.bbx | 11 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx | 62 |
2 files changed, 53 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/historische-zeitschrift/bbx/historische-zeitschrift.bbx b/Master/texmf-dist/tex/latex/historische-zeitschrift/bbx/historische-zeitschrift.bbx index 70bddda31fa..627c48edd6a 100644 --- a/Master/texmf-dist/tex/latex/historische-zeitschrift/bbx/historische-zeitschrift.bbx +++ b/Master/texmf-dist/tex/latex/historische-zeitschrift/bbx/historische-zeitschrift.bbx @@ -1,6 +1,6 @@ % historische-zeitschrift.bbx, Dominik Waßenhoven 2008 -\ProvidesFile{historische-zeitschrift.bbx}[2010/03/11 v0.9 HZ bibliography style] +\ProvidesFile{historische-zeitschrift.bbx}[2010/10/18 v0.9a HZ bibliography style] \@ifpackagelater{biblatex}{2010/02/14} {} @@ -31,6 +31,9 @@ eprint=false } +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} + %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% Reformatting %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% @@ -166,7 +169,7 @@ {\printfield{month}% \setunit{\addspace}% \printfield{year}} - {\printtext{\bibdate}}}} + {\printdate}}} {\printfield{issue}% \setunit{\addspace}% \printfield{year}}% @@ -230,10 +233,6 @@ \savefield{namehash}{\bbx@lasthash}}} {\global\undef\bbx@lasthash}} -\newbibmacro*{in:}{% - \bibstring{in}\addcolon - \setunit{\space}} - \newbibmacro*{maintitle+title}{% \iffieldsequal{maintitle}{title} {\clearfield{maintitle}% diff --git a/Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx b/Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx index 1c00cfc8b44..08e92340a78 100644 --- a/Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx +++ b/Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx @@ -1,13 +1,47 @@ % historische-zeitschrift.cbx, Dominik Waßenhoven 2008 -\ProvidesFile{historische-zeitschrift.cbx}[2010/03/11 v0.9 citation style] +\ProvidesFile{historische-zeitschrift.cbx}[2010/10/18 v0.9a citation style] + +\DeclareBibliographyOption{postnote}{% + \ifcsdef{hz@opt@postnote@#1} + {\csuse{hz@opt@postnote@#1}} + {\PackageError{historische-zeitschrift} + {Invalid option 'postnote=#1'\MessageBreak + Valid values are 'afterparen', 'inparen'}}} + +\def\hz@opt@postnote@afterparen{% + \renewbibmacro*{postnote}{% + \ifbool{cbx@seenote} + {\iffieldundef{postnote} + {\printtext{\bibrightparen}} + {\printtext{\bibrightparen}% + \postnotedelim + \printfield{postnote}}} + {\iffieldundef{postnote} + {} + {\postnotedelim + \printfield{postnote}}}}} + +\def\hz@opt@postnote@inparen{% + \renewbibmacro*{postnote}{% + \ifbool{cbx@seenote} + {\iffieldundef{postnote} + {\printtext{\bibrightparen}} + {\postnotedelim + \printfield{postnote}% + \printtext{\bibrightparen}}} + {\iffieldundef{postnote} + {} + {\postnotedelim + \printfield{postnote}}}}} \ExecuteBibliographyOptions{ citetracker=context, ibidtracker=constrict, singletitle=false,%<---------------- pagetracker, - autocite=footnote + autocite=footnote, + postnote=afterparen } \providecommand*{\mkibid}[1]{#1} @@ -48,18 +82,18 @@ %%%%% Postnote %%%%% %%%%% %%%%% %%%%% %%%%% % has to be redefined, because the 'see note' phrase -% is in parentheses -\renewbibmacro*{postnote}{% - \ifbool{cbx@seenote} - {\iffieldundef{postnote} - {\printtext{\bibrightparen}} - {\postnotedelim - \printfield{postnote}% - \printtext{\bibrightparen}}} - {\iffieldundef{postnote} - {} - {\postnotedelim - \printfield{postnote}}}} +% might be in parentheses (option 'postnote') +% \renewbibmacro*{postnote}{% +% \ifbool{cbx@seenote} +% {\iffieldundef{postnote} +% {\printtext{\bibrightparen}} +% {\postnotedelim +% \printfield{postnote}% +% \printtext{\bibrightparen}}} +% {\iffieldundef{postnote} +% {} +% {\postnotedelim +% \printfield{postnote}}}} %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% Cite bibmacros %%%%% |