diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-15 22:28:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-15 22:28:38 +0000 |
commit | f0f9c5a0cfeffd612a08680752e666fcefd170ed (patch) | |
tree | 691b8da458be90f56e3dedfa08aecc5aa862adef /Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx | |
parent | 8ca0eabbdcb675e59949f79b6bd029c6e7b9d8d9 (diff) |
geschichtsfrkl runins again
git-svn-id: svn://tug.org/texlive/trunk@39735 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx | 234 |
1 files changed, 234 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx new file mode 100644 index 00000000000..f0891442e92 --- /dev/null +++ b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx @@ -0,0 +1,234 @@ +%% +%% This is file `geschichtsfrkl.cbx', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% geschichtsfrkl.dtx (with options: `cbx') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from geschichtsfrkl.cbx. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file geschichtsfrkl.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +\ProvidesFile{geschichtsfrkl.cbx}% + [2016/01/30 v1.3 geschichtsfrkl -- % + biblatex für Historiker, cbx-Datei]% +\ExecuteBibliographyOptions{% + citetracker=true,% + idemtracker=true,% + ibidtracker=true,% + opcittracker=false,% + loccittracker=false,% + sortcites=false% +}% +\newbool{cbx:seen}% +\newbool{cbx:mitjahr}% +\newbool{cbx:mitvn}% +\newbool{cbx:mits}% +\newbool{cbx:fnverweise}% +\newbool{cbx:jahrkeineklammern}% +\newbool{cbx:neueseitevollzitat}% +\newbool{cbx:antikebd}% +\DeclareBibliographyOption{mitjahr}[true]{\csuse{bool#1}% + {cbx:mitjahr}}% +\DeclareBibliographyOption{mitvn}[true]{\csuse{bool#1}% + {cbx:mitvn}}% +\DeclareBibliographyOption{mits}[true]{\csuse{bool#1}{cbx:mits}}% +\DeclareBibliographyOption{fnverweise}[true]{\csuse{bool#1}% + {cbx:fnverweise}}% +\newbool{cbx:ibidpages}% +\DeclareBibliographyOption{ibidpages}[true]{\csuse{bool#1}% + {cbx:ibidpages}}% +\DeclareBibliographyOption{jahrkeineklammern}[true]{\csuse{bool#1}% + {cbx:jahrkeineklammern}}% +\DeclareBibliographyOption{neueseitevollzitat}[true]{\csuse{bool#1}% + {cbx:neueseitevollzitat}}% +\DeclareBibliographyOption{antikebd}[true]{\csuse{bool#1}% + {cbx:antikebd}}% +\newbool{cbx:nurinit}% +\DeclareBibliographyOption{citeinit}[true]{\csuse{bool#1}% + {cbx:nurinit}}% +\AtBeginDocument{\ifbool{bbx:nurinit}% + {\global\booltrue{cbx:nurinit}}{}}% +\newbool{cbx:ebd} +\global\booltrue{cbx:ebd} +\newbool{cbx:endpunkt} +\global\booltrue{cbx:endpunkt} +\ExecuteBibliographyOptions{citeinit,mitjahr,neueseitevollzitat}% +\DeclareFieldFormat{prenote}{#1\isdot}% +\DeclareFieldFormat{postnote}{#1}% +\DeclareFieldFormat{shorttitle}{#1}% +\DeclareNameFormat{frg}{% + #1% + \ifthenelse{\value{listcount}<\value{liststop}}% + {\addspace\slash\addspace}{}% +}% +\renewcommand*{\multicitedelim}{\setunit{\addsemicolon\addspace}}% +\newcommand*{\citeautorenschriftart}{\scshape}% +\newcommand*{\citeautorentrennzeichen}% + {\addnbspace\slash\addspace}% +\DeclareNameFormat{cite:author}{% + {\citeautorenschriftart% + \ifblank{#5}{}{#5\addspace}% + #1}% + \ifbool{cbx:mitvn}{% + \ifblank{#3}{}{\addcomma\space% + \ifbool{cbx:nurinit}{#4}{#3}}}{% + \ifbool{cbx:nurinit}{\addcomma\addspace#4}{}% + }% + \ifthenelse{\value{listcount}<\value{liststop}}% + {\citeautorentrennzeichen}{}% + \isdot% +}% +\renewbibmacro*{prenote}{% + \iffieldundef{prenote}{}% + {\printfield{prenote}% + \setunit{\addspace}}}% +\renewbibmacro*{postnote}{% + \ifboolexpr{bool{cbx:antik}% + or bool{cbx:frg}% + or bool{cbx:frgantik}}% + {\setunit{\addspace}}% + {\newunit}% + \iffieldundef{postnote}{}% + {\ifboolexpr{not bool{cbx:seen}% + and not test {\iffieldundef{pages}}% + and not bool{cbx:urkunde}% + and not bool{cbx:antik}}% + {\printtext{hier}\addspace}{}% + \ifboolexpr{bool{cbx:antik} or bool{cbx:frg}}{% + \ifbool{cbx:antik}{\printfield{postnote}}{}% + \ifbool{cbx:frg}{% + \printfield{postnote}\addspace% + \ifnameundef{shorteditor}% + {\printnames[frg]{editor}\addperiod}% + {\printnames[frg]{shorteditor}\addperiod}% + }{}% + }{% + \ifboolexpr{test {\iffieldequals{postnote}{\cbx@lastpagenumber}}% + and test {\iffieldequals{entrykey}{\cbx@lastentrykey}}% + and not (bool{cbx:neueseitevollzitat} and test {\iffirstonpage})% + and not bool{cbx:ibidpages}}{}{% + \ifbool{cbx:mits}{\printtext{S\adddot\addspace}}{}% + \printfield{postnote}% + }% + }% + }% + \ifbool{cbx:endpunkt}{\setunit{\addperiod}}{}% + \savefield{postnote}{\cbx@lastpagenumber}% + \savefield{entrykey}{\cbx@lastentrykey}% +}% +\newbibmacro*{cite:name}{% + \ifnameundef{author}{% + \ifnameundef{editor}{}{% + \printnames[cite:author]{editor}}% + }{% + \printnames[cite:author]{author}% +}}% +\newbibmacro*{cite:title}{% + \iffieldundef{shorttitle}{% + \usebibmacro{title}% + }{\printfield{shorttitle}}% +}% +\newbibmacro*{fnverweis}{% + \ifbool{cbx:fnverweise}{% + \setunit{\addspace}% + \printtext[parens]{wie Anm\adddot\addspace% + \ref{footref:\thefield{entrykey}}}}% +}% +\newbibmacro*{cite:year}{% + \ifbool{cbx:jahrkeineklammern}% + {\printfield{year}}% + {\printfield[parens]{year}}}% +\newbibmacro*{cite:short}{% + \ifboolexpr{test \ifciteibid and bool{cbx:ebd}% + not (bool{cbx:neueseitevollzitat} and% + test {\iffirstonpage})}% + {\bibstring{ibidem}\isdot}% + {\ifbool{cbx:nurshorthand}% + {\printfield{shorthand}}% + {\ifboolexpr{test \ifciteidem and not% + bool{cbx:lastantik} and not% + (bool{cbx:neueseitevollzitat} and% + test {\iffirstonpage})}% + {\bibnamedash}% + {\usebibmacro{cite:name}}% + \setunit{\addcolon\addspace}% + \usebibmacro{cite:title}% + \ifbool{cbx:mitjahr}{\setunit{\addspace}% + \usebibmacro{cite:year}}{}}% + \usebibmacro{fnverweis}}% +}% +\newbibmacro*{cite}{% + \ifboolexpr{bool{cbx:antik} or bool{cbx:frg}}{% + \ifboolexpr{bool{cbx:antik} or bool{cbx:frgantik}}{% + \bibhyperref{% + \ifboolexpr{bool{cbx:antikebd} and + test \ifciteibid and not% + (bool{cbx:neueseitevollzitat} and test {\iffirstonpage})}% + {\bibstring{ibidem}}% + {\printfield{shorthand}\setunit{\adddot\addspace}}% + }% + }{% + \bibhyperref{% + \printfield{shorthand}\setunit{\adddot\addspace}% + \printtext{frg}\adddot\setunit{\addspace}% + }% + }% + }{% + \ifciteseen{\bibhyperlink{ref:\thefield{entrykey}}{% + \ifbool{cbx:urkunde}{% + \ifciteibid{\bibstring{ibidem}}% + {\usebibmacro{cite:title}}% + }{\usebibmacro{cite:short}}}}% + {\bibhypertarget{ref:\thefield{entrykey}}{% + \bibhyperref{\usedriver{}{\thefield{entrytype}}}% + \iffootnote{\label{footref:\thefield{entrykey}}}{}% + }}% + }% + \ifciteseen{\global\booltrue{cbx:seen}}% + {\global\boolfalse{cbx:seen}}% + \usebibmacro{savestuff}% +}% +\DeclareCiteCommand{\cite}[\mkbibfootnote]% + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}\usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% +\DeclareCiteCommand{\parencite}[\mkbibparens]% + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}\usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% +\DeclareCiteCommand{\footcite}[\mkbibfootnote]% + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}\usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}}% +\DeclareCiteCommand{\textcite}% + {\usebibmacro{prenote}}% + {\usebibmacro{citeindex}\usebibmacro{cite}}% + {\multicitedelim}% + {\usebibmacro{postnote}% + \ifnum\themulticitetotal=\themulticitecount\ifbool{cbx:endpunkt}{\finentry}{}\fi% + \ifnum\thecitetotal=\thecitecount\ifbool{cbx:endpunkt}{\finentry}{}\fi}% +\DeclareMultiCiteCommand{\cites}[\mkbibfootnote]{\cite}% + {\multicitedelim}% +\DeclareMultiCiteCommand{\parencites}[\mkbibparens]{\parencite}% + {\multicitedelim}% +\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]{\footcite}% + {\multicitedelim}% +\DeclareMultiCiteCommand{\textcites}{\textcite}{\multicitedelim}% +\endinput +%% +%% End of file `geschichtsfrkl.cbx'. |