summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-15 22:28:38 +0000
committerKarl Berry <karl@freefriends.org>2016-02-15 22:28:38 +0000
commitf0f9c5a0cfeffd612a08680752e666fcefd170ed (patch)
tree691b8da458be90f56e3dedfa08aecc5aa862adef /Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty
parent8ca0eabbdcb675e59949f79b6bd029c6e7b9d8d9 (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/geschichtsfrkldoc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/geschichtsfrkl/geschichtsfrkldoc.sty150
1 files changed, 150 insertions, 0 deletions
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'.