summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/historische-zeitschrift/cbx/historische-zeitschrift.cbx62
1 files changed, 48 insertions, 14 deletions
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 %%%%%