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.cbx32
1 files changed, 20 insertions, 12 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 85fc80370e6..e35b417505a 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,6 +1,6 @@
-% historische-zeitschrift.cbx, Dominik Waßenhoven 2012
+% historische-zeitschrift.cbx, Dominik Waßenhoven 2014
-\ProvidesFile{historische-zeitschrift.cbx}[2012/06/11 v1.0 HZ citation style]
+\ProvidesFile{historische-zeitschrift.cbx}2014/06/05 v1.1 HZ citation style]
\DeclareBibliographyOption{postnote}{%
\ifcsdef{hz@opt@postnote@#1}
@@ -15,11 +15,11 @@
{\iffieldundef{postnote}
{\printtext{\bibrightparen}}
{\printtext{\bibrightparen}%
- \postnotedelim
- \printfield{postnote}}}
+ \postnotedelim%
+ \printfield{postnote}}}%
{\iffieldundef{postnote}
{}
- {\postnotedelim
+ {\postnotedelim%
\printfield{postnote}}}}}
\def\hz@opt@postnote@inparen{%
@@ -27,12 +27,12 @@
\ifbool{cbx@seenote}
{\iffieldundef{postnote}
{\printtext{\bibrightparen}}
- {\postnotedelim
+ {\postnotedelim%
\printfield{postnote}%
- \printtext{\bibrightparen}}}
+ \printtext{\bibrightparen}}}%
{\iffieldundef{postnote}
{}
- {\postnotedelim
+ {\postnotedelim%
\printfield{postnote}}}}}
\ExecuteBibliographyOptions{
@@ -44,6 +44,7 @@
postnote=afterparen
}
+\providecommand*{\mkidem}[1]{#1}
\providecommand*{\mkibid}[1]{#1}
\newbool{cbx@loccit}
% to check if a 'see note' phrase is in use:
@@ -54,6 +55,13 @@
{\ExecuteBibliographyOptions{loccittracker=constrict}}
{\ExecuteBibliographyOptions{loccittracker=false}}}
+%% 'Ders.' bei inbook, wenn gleicher Autor
+\renewbibmacro*{bybookauthor}{%
+ \ifnamesequal{author}{bookauthor}
+ {\midsentence*\bibstring[\mkidem]{idem\thefield{gender}}\addcolon}
+ {\printnames{bybookauthor}}}
+% {\printnames[byauthor]{bookauthor}%
+% \newunit\newblock}}
%%%%% %%%%% %%%%% %%%%% %%%%%
%%%%% Reformatting %%%%%
@@ -104,7 +112,7 @@
\iffieldundef{shorthand}
{\usedriver
{\DeclareNameAlias{sortname}{default}}
- {\thefield{entrytype}}}
+ {\thefield{entrytype}}}%
{\printfield{shorthand}}}
\newbibmacro*{footcite}{%
@@ -114,8 +122,8 @@
{\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
{\usebibmacro{footcite:ibid}}
- {\usebibmacro{footcite:note}}}
- {\usebibmacro{footcite:shorthand}}}
+ {\usebibmacro{footcite:note}}}%
+ {\usebibmacro{footcite:shorthand}}}%
{\usebibmacro{footcite:full}%
\usebibmacro{footcite:save}}}
@@ -124,7 +132,7 @@
{\ifundef\@theenmark % endnotes.sty
{\csgdef{cbx@note@\thefield{entrykey}}{%
\BibliographyWarning{Missing footnote mark}\textbf{??}}}
- {\global\cslet{cbx@note@\thefield{entrykey}}\@theenmark}}
+ {\global\cslet{cbx@note@\thefield{entrykey}}\@theenmark}}%
{\global\cslet{cbx@note@\thefield{entrykey}}\@thefnmark}%
\csxdef{cbx@first@\thefield{entrykey}}{\the\value{instcount}}}