From f0f9c5a0cfeffd612a08680752e666fcefd170ed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 15 Feb 2016 22:28:38 +0000 Subject: geschichtsfrkl runins again git-svn-id: svn://tug.org/texlive/trunk@39735 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/geschichtsfrkl/geschichtsfrkl.bbx | 438 +++++++++++++++++++++ .../tex/latex/geschichtsfrkl/geschichtsfrkl.cbx | 234 +++++++++++ .../tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty | 150 +++++++ Master/tlpkg/libexec/ctan2tds | 2 - 4 files changed, 822 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.bbx create mode 100644 Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.cbx create mode 100644 Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty (limited to 'Master') diff --git a/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.bbx b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.bbx new file mode 100644 index 00000000000..d09ec59857f --- /dev/null +++ b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkl.bbx @@ -0,0 +1,438 @@ +%% +%% This is file `geschichtsfrkl.bbx', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% geschichtsfrkl.dtx (with options: `bbx') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from geschichtsfrkl.bbx. +%% +%% 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.bbx}% + [2016/01/30 v1.3 geschichtsfrkl -- % + biblatex für Historiker, bbx-Datei] +\RequireBibliographyStyle{standard} +\AtBeginDocument{\typeout{}\typeout% + {========= geschichtsfrkl -- biblatex für Historiker v1.3 ========}} +\ExecuteBibliographyOptions{% + pagetracker=true,% + bibencoding=utf8,% + sortlocale=de% +}% +\newbool{bbx:editorders} +\DeclareBibliographyOption{editorders}[true]{\csuse{bool#1}% + {bbx:editorders}} +\newbool{bbx:hrsg}% +\DeclareBibliographyOption{hrsg}[true]{\csuse{bool#1}{bbx:hrsg}}% +\newbool{bbx:jahrreihe}% +\DeclareBibliographyOption{jahrreihe}[true]{\csuse{bool#1}% + {bbx:jahrreihe}}% +\newbool{bbx:maintitleebd}% +\DeclareBibliographyOption{maintitleebd}[true]{\csuse{bool#1}% + {bbx:maintitleebd}} +\newbool{bbx:nurinit}% +\DeclareBibliographyOption{nurinit}[true]{\csuse{bool#1}% + {bbx:nurinit}}% +\newbool{cbx:antik}% +\newbool{cbx:lastantik}% +\DeclareEntryOption{antik}[true]{\csuse{bool#1}{cbx:antik}}% +\newbool{bbx:diss}% +\DeclareEntryOption{diss}[true]{\csuse{bool#1}{bbx:diss}}% +\newbool{cbx:frg}% +\DeclareEntryOption{frg}[true]{\csuse{bool#1}{cbx:frg}}% +\newbool{bbx:editionen}% +\DeclareEntryOption{editionen}[true]{\csuse{bool#1}{bbx:editionen}}% +\newbool{cbx:frgantik}% +\DeclareEntryOption{frgantik}[true]{\csuse{bool#1}{cbx:frgantik}% + \csuse{bool#1}{cbx:frg}}% +\newbool{cbx:urkunde}% +\DeclareEntryOption{urkunde}[true]{\csuse{bool#1}{cbx:urkunde}}% +\newbool{cbx:nurshorthand}% +\DeclareEntryOption{nurshorthand}[true]{\csuse{bool#1}% + {cbx:nurshorthand}}% +\newbibmacro{savestuff}{% + \savename{editor}{\bbx@lasteditor}% + \savefield{namehash}{\bbx@lasthash}% + \savefield{maintitle}{\bbx@lastmaintitle}% + \savefield{shorthand}{\bbx@lastshorthand}% + \ifbool{cbx:antik}{\global\booltrue{cbx:lastantik}}% + {\global\boolfalse{cbx:lastantik}}% +}% +\AtBeginBibliography{% + \def\bbx@lasteditor{xxxxx} + \def\bbx@lasthash{xxxxx} + \def\bbx@lastmaintitle{xxxxx} + \def\bbx@lastshorthand{xxxxx} + \global\boolfalse{cbx:lastantik} +}% +\DeclareFieldFormat*{title}{#1}% +\DeclareFieldFormat*{subtitle}{#1}% +\DeclareFieldFormat*{booktitle}{#1}% +\DeclareFieldFormat*{booksubtitle}{#1}% +\DeclareFieldFormat*{titlecase}{#1}% +\DeclareFieldFormat*{maintitle}{#1}% +\DeclareFieldFormat*{journaltitle}{#1}% +\DeclareFieldFormat*{pages}{#1}% +\DeclareFieldFormat*{edition}{#1}% +\DeclareFieldFormat*{volumes}{#1}% +\DeclareFieldFormat*{volume}{#1}% +\DeclareFieldFormat{parens}{\mkbibparens{#1}}% +\DeclareFieldFormat{brackets}{\mkbibbrackets{#1}}% +\DeclareFieldFormat{quotes}{\mkbibquote{#1}}% +\renewcommand*{\subtitlepunct}{\addperiod\addspace}% +\renewcommand*{\intitlepunct}{\addcolon\addspace}% +\renewcommand*{\newunitpunct}{\addcomma\addspace}% +\newcommand*{\autorenschriftart}{\scshape}% +\newcommand*{\autorentrennzeichen}{\addnbspace\slash}% +\DeclareNameFormat{author}{% + {\autorenschriftart% + \ifblank{#5}{}{#5\addspace}% + #1}% + \ifblank{#3}{}{\addcomma\space% + \ifbool{bbx:nurinit}{#4}{#3}}% + \isdot% + \ifthenelse{\value{listcount}<\value{liststop}}% + {\autorentrennzeichen\addspace}{}% +}% +\DeclareNameFormat{editor}{% + \ifblank{#3}{}{% + \ifbool{bbx:nurinit}{#4}{#3}\addspace}% + \ifblank{#5}{}{#5\addspace}% + #1% + \ifnumcomp{\value{listcount}}{<}{\value{liststop}-1}% + {\addcomma\addspace}% + {\ifnumcomp{\value{listcount}}{=}{\value{liststop}}% + {}{\addspace\bibstring{and}\addspace}}% +}% +\DeclareNameFormat{hrsg}{% + \ifblank{#5}{}{#5\addspace}% + #1% + \ifblank{#3}{}{\addcomma\space% + \ifbool{bbx:nurinit}{#4}{#3}}% + \ifthenelse{\value{listcount}<\value{liststop}}% + {\addnbspace\slash\addspace}{}% +}% +\newcommand*{\orttrennzeichen}{\addnbspace\slash}% +\DeclareListFormat{location}{% + #1\ifthenelse{\value{listcount}<\value{liststop}}% + {\orttrennzeichen\addspace}{}% +}% +\let\bibnamedashOrig\bibnamedash% +\renewcommand*{\bibnamedash}{% + \bibsentence\bibstring{idem\thefield{gender}}}% +\renewbibmacro*{in:}{% + \printtext{\bibstring{in}\intitlepunct}% +}% +\renewbibmacro*{author}{% + \ifnameundef{author}{}% + {\ifboolexpr{test {\iffieldequals{namehash}{\bbx@lasthash}}% + and not test {\iffirstonpage}% + and not bool{cbx:antik}% + and not (test{\ifcitation} and bool{cbx:lastantik})}% + {\bibnamedash}% + {\printnames{author}\isdot}}}% +\renewbibmacro*{author/editor}{% + \ifboolexpr{test{\ifnameundef{author}} or bool{cbx:frg}}{% + \ifnameundef{editor}{% + \BibliographyWarning{Fehlender Autor *und* Herausgeber!}% + }{% + \ifboolexpr{test {\iffieldequals{namehash}{\bbx@lasthash}}% + and not test{\iffirstonpage}% + and not (test{\ifcitation} and bool{cbx:lastantik})}% + {\bibnamedash}% + {\printnames[author]{editor}\isdot% (Hrsg.) + \addspace\printtext[parens]{\bibstring{editor}}}% + }}{\usebibmacro{author}}% +}% +\renewbibmacro*{series+number}{% + \iffieldundef{series}{}{% + \printtext[parens]{% + \printfield{series}% + \setunit*{\addspace}% + \printfield{number}% + \newunit% + }% + }% + %}% +}% +\renewbibmacro*{journal}{% + \iffieldundef{journaltitle} + {} + {\printtext[journaltitle]{% + \printfield[titlecase]{journaltitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{journalsubtitle}}}}% +\newbibmacro{year}{% + \iffieldundef{year}{}{\printfield[parens]{year}}}% +\newbibmacro*{journal+number+year}{% + \usebibmacro{journal}% + \setunit*{\addspace}% + \printfield{number}% + \setunit*{\addspace}% + \usebibmacro{year}% +}% + \newbibmacro*{pages}{% + \printfield{pages}\isdot}% +\newbibmacro*{maintitle+title+volumes}{% + \iffieldsequal{maintitle}{title}% + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}}% + {\iffieldundef{maintitle}{}% + {%\ifbool{cbx:antik}% + {\usebibmacro{maintitle}% + \newunit\newblock% + \iffieldundef{volume}% + {\iffieldundef{volumes}{}{% + \printfield{volumes}% + \addspace\printtext{\bibstring{volumes}}\newunit}}% + {\printtext{\bibstring{volume}}\addspace% + \printfield{volume}\setunit*{\addcolon\addspace}}% + }}}% + \iffieldundef{volumes}{\usebibmacro{title}}{}% + \newunit}% +\renewbibmacro*{maintitle}{% + \ifboolexpr{test {\iffieldundef{maintitle}}% + and test {\iffieldundef{mainsubtitle}}}{}% + {\ifboolexpr{bool{bbx:maintitleebd} and% + test {\iffieldequals{maintitle}{\bbx@lastmaintitle}} and% + not (bool{cbx:neueseitevollzitat} and test {\iffirstonpage})}% + {\bibstring{ibidem}}% + {\printtext[maintitle]{% + \printfield[titlecase]{maintitle}% + \setunit*{\subtitlepunct}% + \printfield[titlecase]{mainsubtitle}}% + \setunit*{\subtitlepunct}}% + \printfield{maintitleaddon}\isdot}}% +\renewbibmacro*{title}{% + \ifboolexpr{test {\iffieldundef{title}} and% + test {\iffieldundef{subtitle}}}{}% + {\printtext[title]{% + \printfield[titlecase]{title}% + \setunit*{\subtitlepunct}% + \printfield[titlecase]{subtitle}}% + \setunit*{\subtitlepunct}}% + \printfield{titleaddon}\isdot}% +\newbibmacro*{location+edition+year}{% + \printlist{location}% + \iffieldundef{edition}{\setunit{\addspace}}{% + \iffieldint{edition}% + {\setunit{\addspace}% + \mkbibsuperscript{\printfield{edition}}}% + {\setunit{\addcomma\addspace}% + \printfield{edition}\addcomma\addspace}}% + \printfield{year}}% +\newbibmacro*{addendum}{% + \iffieldundef{addendum}{}{% + \printtext[parens]{ND\addspace\printfield{addendum}}}% +}% +\newbibmacro*{signatur}{% + \iffieldundef{note}{}{\printtext[parens]{\printfield{note}}\nopunct}% +}% +\newbibmacro*{booktitle+volume+editor}{% + \ifnameundef{editor}{% + \usebibmacro{maintitle}% + \newunit% + \iffieldundef{volume}{}% + {\bibstring{volume}\addspace\printfield{volume}\newunit}% + }{% + \ifbool{bbx:hrsg}{% + \ifboolexpr{bool{bbx:editorders} and% + (test {\ifnameequals{editor}{\bbx@lasteditor}} or% + test {\ifnamesequal{editor}{author}}) and% + not (bool{cbx:neueseitevollzitat} and test {\iffirstonpage})}% + {\bibstring{idem\thefield{gender}}\addspace}% + {\printnames[hrsg]{editor}\addspace}% + \printtext[parens]{\bibstring{editor}}\addcolon\addspace% + \usebibmacro{maintitle}% + \iffieldundef{volume}{}% + {\newunit\bibstring{volume}\addspace\printfield{volume}}% + \newunit% + }{% + \usebibmacro{maintitle}% + \iffieldundef{volume}{}% + {\newunit\bibstring{volume}\addspace\printfield{volume}}% + \newunit% + \printtext{hrsg\adddot\addspace v\adddot}% + \setunit{\addspace}% + \ifboolexpr{bool{bbx:editorders} and% + test {\ifnameequals{editor}{\bbx@lasteditor}} and% + not (bool{cbx:neueseitevollzitat} and test {\iffirstonpage})}% + {\bibstring{idem\thefield{gender}}}% + {\printnames{editor}}% + }}% +}% +\newbibmacro*{reftitle}{% + \iffieldundef{title}{}{% + \printtext{Art\adddot\addspace}% + \printtext[quotes]{% + \usebibmacro{title}\setunit{\addspace}% + \iffieldundef{number}{}{\printfield[brackets]{number}}% +}}}% +\newbibmacro*{refmaintitle}{% + \iffieldundef{maintitle}{}{% + \printfield{maintitle}\setunit*{\addspace}\printfield{volume}% +}}% +\newbibmacro*{reztitle}{% + \printtext[quotes]{% + \usebibmacro{title}% +}}% +\newbibmacro*{antikzeugs}{% + \iflistundef{language}{}{% + \printlist{language}\isdot% + \setunit{\addcomma\addspace}% + }% + \ifboolexpr{test {\ifnameundef{translator}}% + and test {\ifnameundef{editor}}}{}{% + \ifboolexpr{test {\ifnameundef{translator}}% + or test{\ifnameundef{editor}}% + or test{\ifnamesequal{translator}{editor}}}% + {\printtext{hrsg\adddot\addspace u\adddot\addspace% + übers\adddot\addspace v.}\isdot\addspace% + \ifnameundef{translator}{\printnames{editor}}% + {\printnames[editor]{translator}}}% + {\printtext{hrsg\adddot\addspace v.}\isdot\addspace% + \printnames{editor}\addcomma\addspace% + \printtext{übers\adddot\addspace v.}\isdot\addspace% + \printnames[editor]{translator}}% + \setunit{\addcomma\addspace}}% +}% +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\addcolon\addspace}\newblock% + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{journal+number+year}% + \newunit\newblock + \usebibmacro{pages}% + \ifcitation{}{% + \setunit{\addspace} + \usebibmacro{url+urldate}}% + \setunit{\addperiod\addspace}% + \usebibmacro{signatur}% + \usebibmacro{savestuff}% + \usebibmacro{finentry}% +}% +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \ifbool{bbx:editionen}{% + \iffieldequals{shorthand}{\bbx@lastshorthand}{\hspace*{\bibhang}}% + {\printfield{shorthand}\addcolon\newline}}{}% + \usebibmacro{author/editor}% + \setunit*{\addcolon\addspace}\newblock% + \usebibmacro{maintitle+title+volumes}% + \setunit{\addspace}% + \ifbool{bbx:jahrreihe}{}% + {\usebibmacro{series+number}}% + \newunit\newblock% + \ifbool{cbx:antik}{% + \usebibmacro{antikzeugs}}{}% + \ifbool{bbx:diss}{% + \printtext{Diss\adddot}\setunit{\addspace}}{}% + \usebibmacro{location+edition+year}% + \setunit{\addspace}% + \ifbool{bbx:jahrreihe}{% + \usebibmacro{series+number}% + \setunit{\addspace}}{}% + \usebibmacro{addendum}% + \ifcitation{}{% + \setunit{\addspace}% + \usebibmacro{url+urldate}}% + \setunit{\addperiod\addspace}% + \usebibmacro{signatur}% + \usebibmacro{savestuff}% + \usebibmacro{finentry}% +}% +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \ifnameundef{author}{}% + {\setunit*{\addcolon\addspace}\newblock}% + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{booktitle+volume+editor}% + \setunit{\addspace}% + \ifbool{bbx:jahrreihe}{}% + {\usebibmacro{series+number}}% + \newunit\newblock% + \usebibmacro{location+edition+year}% + \ifbool{bbx:jahrreihe}{% + \setunit{\addspace}% + \usebibmacro{series+number}}{}% + \newunit\newblock% + \usebibmacro{pages}% + \setunit{\addspace}% + \usebibmacro{addendum}% + \ifcitation{}{% + \setunit{\addspace}% + \usebibmacro{url+urldate}}% + \setunit{\addperiod\addspace}% + \usebibmacro{signatur}% + \usebibmacro{savestuff}% + \usebibmacro{finentry}% +}% +\DeclareBibliographyAlias{collection}{book} +\DeclareBibliographyAlias{incollection}{inbook} +\DeclareBibliographyDriver{inreference}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\addcolon\addspace}\newblock% + \usebibmacro{reftitle}% + \newunit\newblock% + \usebibmacro{in:}% + \usebibmacro{refmaintitle}% + \setunit{\addspace}% + \usebibmacro{year}% + \newunit\newblock% + \usebibmacro{pages}% + \ifcitation{}{% + \setunit{\addspace}% + \usebibmacro{url+urldate}}% + \setunit{\addperiod\addspace}% + \usebibmacro{signatur}% + \usebibmacro{savestuff}% + \usebibmacro{finentry}% +}% +\DeclareBibliographyDriver{review}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\addspace}% + \printtext[parens]{Rez\adddot}% + \setunit{\addcolon\addspace}\newblock% + \usebibmacro{reztitle}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{journal+number+year}% + \newunit\newblock% + \usebibmacro{pages}% + \ifcitation{}{% + \setunit{\addspace}% + \usebibmacro{url+urldate}}% + \setunit{\addperiod\addspace}% + \usebibmacro{signatur}% + \usebibmacro{savestuff}% + \usebibmacro{finentry}% +}% +\endinput +%% +%% End of file `geschichtsfrkl.bbx'. 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'. diff --git a/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty new file mode 100644 index 00000000000..c58d8c50f41 --- /dev/null +++ b/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty @@ -0,0 +1,150 @@ +%% +%% This is file `geschichtsfrkldoc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% geschichtsfrkl.dtx (with options: `dtxstyle') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from geschichtsfrkldoc.sty. +%% +%% 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.) +\ProvidesPackage{geschichtsfrkldoc.sty} + +%%%%%%%%%%%%%%%%%%%%%%%%%% +%% This code is curtesy of David Carlisle +%% http://tex.stackexchange.com/questions/49850/indexing-macros-without-a-leading-backslash-in-a-dtx-file +%%%%%%%%%%%%%%%%%%%%%%%%%% + +\def\bibmacro{\def\macro@type{bibmacro}\environment} +\let\endbibmacro\endenvironment + +\def\bibbool{\def\macro@type{bibbool}\environment} +\let\endbibbool\endenvironment + +\def\BibliographyOption{\def\macro@type{bibliography option}\environment} +\let\endBibliographyOption\endenvironment + +\def\BibliographyDriver{\def\macro@type{bibliography driver}\environment} +\let\endBibliographyDriver\endenvironment + +\def\EntryOption{\def\macro@type{entry option}\environment} +\let\endEntryOption\endenvironment + +\def\FieldFormat{\def\macro@type{field format}\environment} +\let\endFieldFormat\endenvironment + +\def\NameFormat{\def\macro@type{name format}\environment} +\let\endNameFormat\endenvironment + +\def\macro@type{environment}%% default + +\def\macro@finish{% + \macro@namepart +\ifx\macro@namepart\xbegin + \def\macro@type{environment}% +\else\ifx\macro@namepart\xifbool + \def\macro@type{bibbool}% + \let\macro@namepart\xbegin +\else\ifx\macro@namepart\xusebibmacro + \def\macro@type{bibmacro}% + \let\macro@namepart\xbegin +\fi\fi\fi +\ifx\macro@namepart\xbegin + \expandafter\macro@grabname + \else +\ifx\macro@namepart\xend + \else + \ifnot@excluded + \edef\@tempa{\noexpand\SpecialIndex{\bslash\macro@namepart}}% + \@tempa \fi + \fi\fi} + +\def\xbegin{begin} +\def\xifbool{ifbool} +\def\xusebibmacro{usebibmacro} +\def\xend{end} +\begingroup +\lccode`\(`\{ +\lccode`\)`\} +\lowercase{\endgroup +\def\macro@grabname\fi(#1){% +(#1)% +\SpecialxEnvUseIndex\macro@type{#1}% +} +} + +\def\SpecialxEnvUseIndex#1{% + \expandafter\SpecialxxEnvUseIndex\expandafter{#1}} + +\def\SpecialxxEnvUseIndex#1#2{\@bsphack + \special@index{#2\actualchar{\string\ttfamily\space#2} + (#1)}% + \special@index{#1s:\levelchar#2\actualchar{\string\ttfamily\space#2}}\@esphack} + +\def\SpecialMainEnvIndex{% + \expandafter\SpecialMainxEnvIndex\expandafter{\macro@type}} + +\def\SpecialMainxEnvIndex#1#2{\@bsphack\special@index{% + #2\actualchar + {\string\ttfamily\space#2} + (#1)% + \encapchar main}% + \special@index{#1s:\levelchar#2\actualchar{% + \string\ttfamily\space#2}\encapchar + main}\@esphack} + +\def\DescribeBibBool{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{bibbool}\begingroup\Describe@Env} + +\def\DescribeBibMacro{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{bibmacro}\begingroup\Describe@Env} + +\def\DescribeBibEnv{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{environment}\begingroup\Describe@Env} + +\def\DescribeBibOption{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{bibliography option}\begingroup\Describe@Env} + +\def\DescribeBibDriver{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{bibliography driver}\begingroup\Describe@Env} + +\def\DescribeBibField{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{field}\begingroup\Describe@Env} + +\def\DescribeEntryOption{% +\leavevmode\@bsphack\begingroup\MakePrivateLetters +\def\macro@type{entry option}\begingroup\Describe@Env} + +\def\Describe@Env#1{\endgroup + \marginpar{\raggedleft\PrintDescribeEnv{#1}}% + \SpecialEnvIndex{#1}\endgroup\@esphack\ignorespaces} + +\def\SpecialEnvIndex{% + \expandafter\SpecialxEnvIndex\expandafter{\macro@type}} + +\def\SpecialxEnvIndex#1#2{\@bsphack + \index{#2\actualchar{\string\ttfamily\space#2} + (#1)\encapchar usage}% + \index{#1s:\levelchar#2\actualchar{\string\ttfamily\space#2}\encapchar + usage}\@esphack} +\endinput +%% +%% End of file `geschichtsfrkldoc.sty'. diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 955aefd0634..f99a3ecc3b3 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -458,7 +458,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'garamondx', "die 'skipping, nonfree font'", 'garuda-c90', "&MAKEgaruda_c90", 'georgian', "die 'skipping, bitstream font licensing missing, complicated'", - 'geschichtsfrkl', "&MAKEflatten", 'gene', "die 'skipping, complicated, some have sources, sorry'", 'genmisc', "die 'skipping, too complicated, sorry'", 'gentium', "die 'skipping, use gentium-tug'", @@ -2221,7 +2220,6 @@ $standardsource='\.(bat|c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh'; 'cbfonts-fd', '\.fdd', 'cmbright', 'NULL', 'geometry-de', 'NULL', # doc, no need to build - 'geschichtsfrkl', 'NULL', # provided 'lettre', 'NULL', 'paper', 'install', 'seuthesis', 'NULL', # don't want to run iconv, etc. -- cgit v1.2.3