summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx215
1 files changed, 215 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..eef69e0c9e6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx
@@ -0,0 +1,215 @@
+%%
+%% 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}%
+ [2012/03/29 v1.0 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}%
+\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}}%
+\newbool{cbx:nurinit}%
+\DeclareBibliographyOption{citeinit}[true]{\csuse{bool#1}%
+ {cbx:nurinit}}%
+\AtBeginDocument{\ifbool{bbx:nurinit}%
+ {\global\booltrue{cbx:nurinit}}{}}%
+\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}{\sc}%
+\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}}%
+ {\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}%
+ }%
+ }%
+ }%
+ \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%
+ not (bool {cbx:neueseitevollzitat} and test {\iffirstonpage})}%
+ {\bibstring{ibidem}\isdot}%
+ {\ifboolexpr{test \ifciteidem 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{%
+ \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}\finentry}%
+\DeclareMultiCiteCommand{\cites}[\mkbibfootnote]{\cite}%
+ {\multicitedelim}%
+\DeclareMultiCiteCommand{\parencites}[\mkparencite]{\parencite}%
+ {\multicitedelim}%
+\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]{\footcite}%
+ {\multicitedelim}%
+\DeclareMultiCiteCommand{\textcites}{\textcite}{\multicitedelim}%
+\endinput
+%%
+%% End of file `geschichtsfrkl.cbx'.