diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-03 23:13:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-03 23:13:13 +0000 |
commit | 2b60ba1b42d43ea46d6a02d7d2dac28c83eb8b46 (patch) | |
tree | 6d361e278148d44c2b80a85ec0e39bd55ef0d495 /Master/texmf-dist/tex | |
parent | fd075c8e55d935a0b5e68825a1c43f1af04c272f (diff) |
historische-zeitschrift runtime files restored
git-svn-id: svn://tug.org/texlive/trunk@42635 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
3 files changed, 1172 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.bbx b/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.bbx new file mode 100644 index 00000000000..2b156253373 --- /dev/null +++ b/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.bbx @@ -0,0 +1,858 @@ +% historische-zeitschrift.bbx, Dominik Waßenhoven 2014-2016 +% +\ProvidesFile{historische-zeitschrift.bbx}[2016/12/01 v1.2 HZ bibliography style] + +\@ifpackagelater{biblatex}{2016/03/01} + {} + {\PackageError{biblatex} + {Outdated 'biblatex' package} + {The version of the 'historische-zeitschrift' style\MessageBreak + you are using requires biblatex v3.3 or later.\MessageBreak + You are using: '\csuse{ver@biblatex.sty}'.\MessageBreak + This is a fatal error. I'm aborting now.}% + \endinput} + +\ExecuteBibliographyOptions{pagetracker} + +\DeclareBibliographyOption{dashed}[true]{% + \ifstrequal{#1}{true} + {\renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} + {\renewbibmacro*{bbx:savehash}{}}} + +\newtoggle{bbx:url} +\newtoggle{bbx:doi} +\newtoggle{bbx:eprint} + +\DeclareBibliographyOption{url}[true]{% + \settoggle{bbx:url}{#1}} +\DeclareBibliographyOption{doi}[true]{% + \settoggle{bbx:doi}{#1}} +\DeclareBibliographyOption{eprint}[true]{% + \settoggle{bbx:eprint}{#1}} + +\ExecuteBibliographyOptions{ + url=true, + doi=false, + eprint=false +} + +\newbibmacro*{bbx:savehash}{% + \savefield{fullhash}{\bbx@lasthash}} + +\newbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + } + {#1} + {#2}} + +%%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Reformatting %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% +\renewcommand*{\mkbibnamegiven}[1]{\textit{#1}} +\renewcommand*{\mkbibnamefamily}[1]{\textit{#1}} +\renewcommand*{\mkbibnameprefix}[1]{\textit{#1}} +\renewcommand*{\mkbibnamesuffix}[1]{\textit{#1}} + +\DeclareFieldFormat{booktitle}{#1\isdot} +\DeclareFieldFormat{journaltitle}{#1\isdot} +\DeclareFieldFormat{issuetitle}{#1\isdot} +\DeclareFieldFormat{maintitle}{#1\isdot} +\DeclareFieldFormat{pages}{#1} +\DeclareFieldFormat{title}{#1\isdot} +\DeclareFieldFormat[article]{title}{#1} +\DeclareFieldFormat[inbook]{title}{#1} +\DeclareFieldFormat[incollection]{title}{#1} +\DeclareFieldFormat[inproceedings]{title}{#1} +\DeclareFieldFormat[patent]{title}{#1} +\DeclareFieldFormat[thesis]{title}{#1} +\DeclareFieldFormat[unpublished]{title}{#1} + +\renewcommand*{\labelnamepunct}{\addcomma\space}% comma after names +\renewcommand*{\multinamedelim}{\addslash} % slash between names +\renewcommand*{\finalnamedelim}{\addslash} % slash between names + +\renewcommand*{\multilistdelim}{\addslash} % slash between locations +\renewcommand*{\finallistdelim}{\addslash} % slash between locations + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Series in parentheses %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\newbibmacro*{series+number}{% + \iffieldundef{series}% + {} + {\printtext[parens]{% + \printfield{series}% + \iffieldundef{number} + {} + {\setunit{\addcomma\space}% + \bibstring{volume}~\printfield{number}}% + \adddot}}} + +%%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Publisher omitted %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% +\newbibmacro*{publisher+location+year}{% + \printlist{location}% + \setunit*{\addspace}% + \printfield{year}% + \newunit} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Bibliography strings %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\DeclareLanguageMapping{german}{historische-zeitschrift} + +\renewbibmacro*{editorstrg}{% + \ifthenelse{\value{editor}>1\OR\ifandothers{editor}} + {\printtext{\mkbibparens{\bibstring{editors}}}} + {\printtext{\mkbibparens{\bibstring{editor}}}}} + +\renewbibmacro*{editor}{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\printnames{editor}% + \setunit{\addspace}% <- ORIGINAL: \addcomma\space + \usebibmacro{bbx:savehash}}% + \usebibmacro{editorstrg}% + \clearname{editor}} + {\global\undef\bbx@lasthash}} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Editor in @incollection and %%%%% +%%%%% @inproceedings not in italics %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\newbibmacro*{editorincoll}{% + \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}} + {\ifthenelse{\iffieldequals{author}{editor}\AND + \NOT\iffirstonpage} + {\bibnamedash} + {\printnames[upshape]{editor}\addspace + \usebibmacro{bbx:savehash}}% + \usebibmacro{editorstrg}% + \clearname{editor}} + {\global\undef\bbx@lasthash}} + +\DeclareNameFormat{upshape}{% + \nameparts{#1}% + \usebibmacro{name:given-family-upshape}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}% + \usebibmacro{name:andothers}} + +\newbibmacro*{name:given-family-upshape}[4]{% + \usebibmacro{name:delim}{#2#3#1}% + \ifblank{#2}{}{#2\isdot\addlowpenspace}% + \ifblank{#3}{}{% + #3\isdot + \ifpunctmark{'} + {} + {\ifuseprefix{\addhighpenspace}{\addlowpenspace}}}% + #1\isdot + \ifblank{#4}{}{\addlowpenspace#4\isdot}} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% byauthor and byeditor not in italics %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\DeclareNameAlias{byauthor}{upshape} +\DeclareNameAlias{byeditor}{upshape} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Always first name before last name %%%%% +%%%%% (also in the bibliography) %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +% \DeclareNameFormat{sortname}{% +% \ifnum\value{listcount}=1\relax +% \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% ORIG: name:last-first +% \ifblank{#3#5} +% {} +% {\usebibmacro{name:revsdelim}}% +% \else +% \usebibmacro{name:given-family}{#1}{#3}{#5}{#7}% +% \fi +% \usebibmacro{name:andothers}} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% No parentheses for the year of a journal %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\newbibmacro*{issue+date}{% + \iffieldundef{issue} + {\iffieldundef{month} + {\printfield{year}} + {\iffieldundef{day} + {\printfield{month}% + \setunit{\addspace}% + \printfield{year}} + {\printdate}}} + {\printfield{issue}% + \setunit{\addspace}% + \printfield{year}}% + \newunit} + +\newbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \iffieldundef{series} + {} + {\newunit + \printfield{series}% + \setunit{\addspace}}% + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}% + \setunit{\addcomma\space}% + \printfield{eid}% + \setunit{\addcomma\space}%<- ORIGINAL: \setunit{\addspace} + \usebibmacro{issue+date}% + \setunit*{\addcomma\space}%<- ORIGINAL: \newunit\newblock + \usebibmacro{issue}% + \newunit} +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% %%%%% + +\DeclareFieldFormat{shorthandwidth}{#1} + +\InitializeBibliographyStyle{% + \global\undef\bbx@lasthash} + +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\printnames{author}% + \usebibmacro{bbx:savehash}}}% + {\global\undef\bbx@lasthash}} + +\newbibmacro*{maintitle+title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {\iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume} + {} + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}}% + \usebibmacro{title}% + \newunit} + +\newbibmacro*{maintitle+booktitle}{% + \iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume} + {} + {\printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}}}% + \usebibmacro{booktitle}% + \newunit} + +\newbibmacro*{title+issuetitle}{% + \usebibmacro{periodical}% + \setunit*{\addspace}% + \iffieldundef{series} + {} + {\newunit + \printfield{series}% + \setunit{\addspace}}% + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}% + \setunit{\addcomma\space}% + \printfield{eid}% + \setunit{\addspace}% + \usebibmacro{issue+date}% + \newunit\newblock + \usebibmacro{issue}% + \newunit} + +\newbibmacro*{institution+location+year}{% + \printlist{location}% + \iflistundef{institution} + {\setunit*{\addspace}} + {\setunit*{\addcolon\space}}% + \printlist{institution}% + \setunit*{\addspace}% + \printfield{year}% + \newunit} + +\newbibmacro*{location+year}{% + \printlist{location}% + \setunit*{\addspace}% + \printfield{year}% + \newunit} + +\newbibmacro*{chapter+pages}{% + \printfield{chapter}% + \setunit*{\addcomma\space}% + \printfield{pages}% + \newunit} + +\newbibmacro*{finentry}{\finentry} + +\newbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Bibliography Driver %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% + +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} +\DeclareBibliographyAlias{review}{article} + +\DeclareBibliographyDriver{shorthands}{% + \usedriver + {\DeclareNameAlias{sortname}{default}} + {\thefield{entrytype}}% + \finentry} + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \usebibmacro{byauthor}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% +% \newunit\newblock + \setunit{\addcomma\space}% + \usebibmacro{in:}% + \usebibmacro{journal+issuetitle}% +% \newunit\newblock + \setunit*{\addcomma\space}% + \printfield{note}% +% \newunit\newblock + \setunit*{\newunitpunct}% + \printfield{pages} + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \usebibmacro{byauthor}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{edition}% + \setunit*{\newunitpunct}% + \printfield{note}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% <– DW 2014-06-05: hier fehlte ein Kommentarzeichen + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{type}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal} + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{collection}{% + \usebibmacro{bibindex}% + \usebibmacro{editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{edition}% + \setunit*{\addspace}% + \printfield{note}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal} + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{bybookauthor}% + \newunit\newblock + \usebibmacro{maintitle+booktitle}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{edition}% + \setunit*{\newunitpunct}% + \printfield{note}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% +% \newunit\newblock + \setunit*{\addcomma\space}% + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% +% \newunit\newblock + \setunit{\addcomma\space}% + \usebibmacro{in:}% + \usebibmacro{editorincoll}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+booktitle}% + \newunit + \printlist{language}% +% \newunit\newblock +% \usebibmacro{byeditor+others}% + \newunit + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{edition}% + \setunit*{\newunitpunct}% + \printfield{note}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% +% \newunit\newblock + \setunit*{\addcomma\space}% + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \setunit{\addcomma\space}% + \usebibmacro{in:}% + \usebibmacro{editorincoll}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+booktitle}% + \newunit + \printfield{venue}% + \newunit + \printlist{language}% +% \newunit\newblock +% \usebibmacro{byeditor+others}% + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{note}% + \setunit*{\newunitpunct}% + \printlist{organization}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% +% \newunit\newblock + \setunit*{\addcomma\space}% + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{type}% + \setunit*{\newunitpunct}% + \printfield{version}% + \setunit*{\newunitpunct}% + \printfield{note}% + \setunit*{\newunitpunct}% + \printlist{organization}% + \setunit*{\newunitpunct}% + \printfield{edition}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal} + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \printlist{location}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \usebibmacro{url+urldate}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{author+holder}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \iflistundef{location} + {} + {\setunit*{\addspace}% + \printtext[parens]{% + \printlist[][-\value{listtotal}]{location}}}% + \newunit\newblock + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title+issuetitle}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printfield{venue}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit*{\addspace}% + \printfield{note}% + \setunit*{\newunitpunct}% + \printlist{organization}% + \setunit*{\newunitpunct}% + \usebibmacro{publisher+location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal} + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit\newblock + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \usebibmacro{institution+location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal} + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printfield{type}% + \newunit + \usebibmacro{institution+location+year}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal} + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% + \newunit\newblock + \printfield{addendum}% + \newunit\newblock + \usebibmacro{pageref}% + \usebibmacro{finentry}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.cbx b/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.cbx new file mode 100644 index 00000000000..003bf5b2bd4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.cbx @@ -0,0 +1,221 @@ +% historische-zeitschrift.cbx, Dominik Waßenhoven 2014-2016 + +\ProvidesFile{historische-zeitschrift.cbx}[2016/12/01 v1.2 HZ 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, + postnote=afterparen +} + +\providecommand*{\mkidem}[1]{#1} +\providecommand*{\mkibid}[1]{#1} +\newbool{cbx@loccit} +% to check if a 'see note' phrase is in use: +\newbool{cbx@seenote} + +\DeclareBibliographyOption{ibidpage}[true]{% + \ifstrequal{#1}{true} + {\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 %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% + +\DeclareFieldFormat{citetitle}{#1\isdot} +\DeclareFieldFormat[article]{citetitle}{#1} +\DeclareFieldFormat[inbook]{citetitle}{#1} +\DeclareFieldFormat[incollection]{citetitle}{#1} +\DeclareFieldFormat[inproceedings]{citetitle}{#1} +\DeclareFieldFormat[patent]{citetitle}{#1} +\DeclareFieldFormat[thesis]{citetitle}{#1} +\DeclareFieldFormat[unpublished]{citetitle}{#1} + +\DeclareFieldFormat{postnote}{#1} +\DeclareFieldFormat{multipostnote}{#1} + +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Bibliography strings %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% %%%%% +\DefineBibliographyStrings{german}{% + seenote = {wie Anm\adddot}, +} + +%%%%% %%%%% %%%%% %%%%% +%%%%% Postnote %%%%% +%%%%% %%%%% %%%%% %%%%% +% has to be redefined, because the 'see note' phrase +% 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 %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% + +\newbibmacro*{cite}{% + \global\boolfalse{cbx@seenote}% NEW! + \iffieldundef{shorthand} + {\usedriver + {\DeclareNameAlias{sortname}{default}} + {\thefield{entrytype}}}% + {\printfield{shorthand}}} + +\newbibmacro*{footcite}{% + \global\boolfalse{cbx@loccit}% + \global\boolfalse{cbx@seenote}% NEW! + \ifciteseen + {\iffieldundef{shorthand} + {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} + {\usebibmacro{footcite:ibid}} + {\usebibmacro{footcite:note}}}% + {\usebibmacro{footcite:shorthand}}}% + {\usebibmacro{footcite:full}% + \usebibmacro{footcite:save}}} + +\newbibmacro*{footcite:save}{% + \ifundef\@thefnmark + {\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}}\@thefnmark}% + \csxdef{cbx@first@\thefield{entrykey}}{\the\value{instcount}}} + +\newbibmacro*{footcite:full}{% + \printtext{% + \bibhypertarget{\thefield{entrykey}:\the\value{instcount}}{% + \usedriver + {\DeclareNameAlias{sortname}{default}} + {\thefield{entrytype}}}}% + \usebibmacro{shorthandintro}} + +\newbibmacro*{footcite:note}{% + \global\booltrue{cbx@seenote}% NEW! + \ifnameundef{labelname} + {\printfield{label}} + {\printnames{labelname}}% + \ifsingletitle + {} + {\setunit*{\addcomma\space}% + \printfield[title]{labeltitle}}% + \setunit*{\addspace}%<--- CHANGED + \printtext{% + \bibhyperlink{\thefield{entrykey}:% + \@nameuse{cbx@first@\thefield{entrykey}}}{% + \printtext{\bibleftparen}% + \bibstring{seenote}\space + \@nameuse{cbx@note@\thefield{entrykey}}}}} + +\newbibmacro*{footcite:ibid}{% + \printtext{% + \bibhyperlink{\thefield{entrykey}:% + \@nameuse{cbx@first@\thefield{entrykey}}}{% + \bibstring[\mkibid]{ibidem}}}% + \ifloccit + {\global\booltrue{cbx@loccit}} + {}} + +\newbibmacro*{footcite:shorthand}{% + \printtext{% + \bibhyperlink{\thefield{entrykey}:% + \@nameuse{cbx@first@\thefield{entrykey}}}{% + \printfield{shorthand}}}} + +\newbibmacro*{cite:postnote}{% + \ifbool{cbx@loccit} + {} + {\usebibmacro{postnote}}} + +%%%%% %%%%% %%%%% %%%%% %%%%% +%%%%% Cite commands %%%%% +%%%%% %%%%% %%%%% %%%%% %%%%% + +\DeclareCiteCommand{\cite} + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \iffootnote + {\usebibmacro{footcite}} + {\usebibmacro{cite}}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\parencite}[\mkbibparens] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \iffootnote + {\usebibmacro{footcite}} + {\usebibmacro{cite}}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\footcite}[\mkbibfootnote] + {\bibsentence + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{footcite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.lbx b/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.lbx new file mode 100644 index 00000000000..a5f7217bcba --- /dev/null +++ b/Master/texmf-dist/tex/latex/historische-zeitschrift/historische-zeitschrift.lbx @@ -0,0 +1,93 @@ +% historische-zeitschrift.lbx, Dominik Waßenhoven 2014-2016 + +\ProvidesFile{historische-zeitschrift.lbx}[2016/12/01 v1.2 HZ localization file] + +\InheritBibliographyExtras{german} + +\DeclareBibliographyStrings{% + inherit = {german}, + byauthor = {{von}{v\adddot}}, + byeditor = {{herausgegeben von}{hrsg\adddot\addabthinspace v\adddot}}, + bycompiler = {{kompiliert von}{komp\adddot\addabthinspace v\adddot}}, + byredactor = {{bearbeitet von}{bearb\adddot\addabthinspace v\adddot}}, + byfounder = {{begr\"undet von}{begr\adddot\addabthinspace v\adddot}}, + bycontinuator = {{fortgef\"urt von}{fortgef\adddot\addabthinspace v\adddot}}, + bycollaborator = {{unter Mitarbeit von}{unter Mitarb\adddot\addabthinspace v\adddot}}, + bytranslator = {{\lbx@lfromlang \"ubersetzt von}{\lbx@sfromlang \"ubers\adddot\addabthinspace v\adddot}}, + bycommentator = {{kommentiert von}{komm\adddot\addabthinspace v\adddot}}, + byannotator = {{erl\"autert von}{erl\"aut\adddot\addabthinspace v\adddot}}, + withcommentator = {{mit einem Kommentar von}{komm\adddot\addabthinspace v\adddot}}, + withannotator = {{mit Erl\"auterungen von}{erl\"aut\adddot\addabthinspace v\adddot}}, + withintroduction = {{mit einer Einleitung von}{eingel\adddot\addabthinspace v\adddot}}, + withforeword = {{mit einem Vorwort von}{mit einem Vorw\adddot\ v\adddot}}, + withafterword = {{mit einem Nachwort von}{mit einem Nachw\adddot\ v\adddot}}, + byeditortr = {{herausgegeben und \lbx@lfromlang \"ubersetzt von}% + {hrsg\adddotspace und \lbx@sfromlang \"ubers\adddot\ v\adddot}}, + byeditorco = {{herausgegeben und kommentiert von}% + {hrsg\adddotspace und komm\adddot\ v\adddot}}, + byeditoran = {{herausgegeben und erl\"autert von}% + {hrsg\adddotspace und erl\"aut\adddot\ v\adddot}}, + byeditorin = {{herausgegeben und mit einer Einleitung versehen von}% + {hrsg\adddotspace und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + byeditorfo = {{herausgegeben und mit einem Vorwort versehen von}% + {hrsg\adddotspace und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + byeditoraf = {{herausgegeben und mit einem Nachwort versehen von}% + {hrsg\adddotspace und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + byeditortrco = {{herausgegeben, \lbx@lfromlang \"ubersetzt und kommentiert von}% + {hrsg., \lbx@sfromlang \"ubers\adddot\ und komm\adddot\ v\adddot}}, + byeditortran = {{herausgegeben, \lbx@lfromlang \"ubersetzt und erl\"autert von}% + {hrsg., \lbx@sfromlang \"ubers\adddot\ und erl\"aut\adddot\ v\adddot}}, + byeditortrin = {{herausgegeben, \lbx@lfromlang \"ubersetzt und mit einer Einleitung versehen von}% + {hrsg., \lbx@sfromlang \"ubers\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + byeditortrfo = {{herausgegeben, \lbx@lfromlang \"ubersetzt und mit einem Vorwort versehen von}% + {hrsg., \lbx@sfromlang \"ubers\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + byeditortraf = {{herausgegeben, \lbx@lfromlang \"ubersetzt und mit einem Nachwort versehen von}% + {hrsg., \lbx@sfromlang \"ubers\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + byeditorcoin = {{herausgegeben, kommentiert und mit einer Einleitung versehen von}% + {hrsg., komm\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + byeditorcofo = {{herausgegeben, kommentiert und mit einem Vorwort versehen von}% + {hrsg., komm\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + byeditorcoaf = {{herausgegeben, kommentiert und mit einem Nachwort versehen von}% + {hrsg., komm\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + byeditoranin = {{herausgegeben, erl\"autert und mit einer Einleitung versehen von}% + {hrsg., erl\"aut\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + byeditoranfo = {{herausgegeben, erl\"autert und mit einem Vorwort versehen von}% + {hrsg., erl\"aut\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + byeditoranaf = {{herausgegeben, erl\"autert und mit einem Nachwort versehen von}% + {hrsg., erl\"aut\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + byeditortrcoin = {{herausgegeben, \lbx@lfromlang \"ubersetzt, kommentiert und mit einer Einleitung versehen von}% + {hrsg., \lbx@sfromlang \"ubers., komm\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + byeditortrcofo = {{herausgegeben, \lbx@lfromlang \"ubersetzt, kommentiert und mit einem Vorwort versehen von}% + {hrsg., \lbx@sfromlang \"ubers., komm\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + byeditortrcoaf = {{herausgegeben, \lbx@lfromlang \"ubersetzt, kommentiert und mit einem Nachwort versehen von}% + {hrsg., \lbx@sfromlang \"ubers., komm\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + byeditortranin = {{herausgegeben, \lbx@lfromlang \"ubersetzt, erl\"autert und mit einer Einleitung versehen von}% + {hrsg., \lbx@sfromlang \"ubers., erl\"aut\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + byeditortranfo = {{herausgegeben, \lbx@lfromlang \"ubersetzt, erl\"autert und mit einem Vorwort versehen von}% + {hrsg., \lbx@sfromlang \"ubers., erl\"aut\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + byeditortranaf = {{herausgegeben, \lbx@lfromlang \"ubersetzt, erl\"autert und mit einem Nachwort versehen von}% + {hrsg., \lbx@sfromlang \"ubers., erl\"aut\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + bytranslatorco = {{\lbx@lfromlang \"ubersetzt und kommentiert von}% + {\lbx@sfromlang \"ubers\adddot\ und komm\adddot\ v\adddot}}, + bytranslatoran = {{\lbx@lfromlang \"ubersetzt und erl\"autert von}% + {\lbx@sfromlang \"ubers\adddot\ und erl\"aut\adddot\ v\adddot}}, + bytranslatorin = {{\lbx@lfromlang \"ubersetzt und mit einer Einleitung versehen von}% + {\lbx@sfromlang \"ubers\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + bytranslatorfo = {{\lbx@lfromlang \"ubersetzt und mit einem Vorwort versehen von}% + {\lbx@sfromlang \"ubers\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + bytranslatoraf = {{\lbx@lfromlang \"ubersetzt und mit einem Nachwort versehen von}% + {\lbx@sfromlang \"ubers\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + bytranslatorcoin = {{\lbx@lfromlang \"ubersetzt, kommentiert und mit einer Einleitung versehen von}% + {\lbx@sfromlang \"ubers., komm\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + bytranslatorcofo = {{\lbx@lfromlang \"ubersetzt, kommentiert und mit einem Vorwort versehen von}% + {\lbx@sfromlang \"ubers., komm\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + bytranslatorcoaf = {{\lbx@lfromlang \"ubersetzt, kommentiert und mit einem Nachwort versehen von}% + {\lbx@sfromlang \"ubers., komm\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, + bytranslatoranin = {{\lbx@lfromlang \"ubersetzt, erl\"autert und mit einer Einleitung versehen von}% + {\lbx@sfromlang \"ubers., erl\"aut\adddot\ und mit einer Einl\adddot\ vers\adddot\ v\adddot}}, + bytranslatoranfo = {{\lbx@lfromlang \"ubersetzt, erl\"autert und mit einem Vorwort versehen von}% + {\lbx@sfromlang \"ubers., erl\"aut\adddot\ und mit einem Vorw\adddot\ vers\adddot\ v\adddot}}, + bytranslatoranaf = {{\lbx@lfromlang \"ubersetzt, erl\"autert und mit einem Nachwort versehen von}% + {\lbx@sfromlang \"ubers., erl\"aut\adddot\ und mit einem Nachw\adddot\ vers\adddot\ v\adddot}}, +} +\endinput |