summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nomencl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:00:45 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:00:45 +0000
commit73e938a3fde3356ccd00e61bf198ba49f69f1c11 (patch)
treee888c46ead9f5ac6a7c27c246e6acfb7c45cade6 /Master/texmf-dist/tex/latex/nomencl
parent6df4a0e89d38e7a22ad58eff517a2787d3fcb1bd (diff)
nomencl
git-svn-id: svn://tug.org/texlive/trunk@1140 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nomencl')
-rw-r--r--Master/texmf-dist/tex/latex/nomencl/nomencl.sty192
-rw-r--r--Master/texmf-dist/tex/latex/nomencl/sample01.cfg40
-rw-r--r--Master/texmf-dist/tex/latex/nomencl/sample02.cfg38
-rw-r--r--Master/texmf-dist/tex/latex/nomencl/sample04.cfg49
-rw-r--r--Master/texmf-dist/tex/latex/nomencl/sample05.cfg50
5 files changed, 369 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/nomencl/nomencl.sty b/Master/texmf-dist/tex/latex/nomencl/nomencl.sty
new file mode 100644
index 00000000000..ba8fa671ee8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nomencl/nomencl.sty
@@ -0,0 +1,192 @@
+%%
+%% This is file `nomencl.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nomencl.dtx (with options: `package')
+%%
+%% Copyright 1996 Boris Veytsman
+%% Copyright 1999-2001 Bernd Schandl
+%% www http://sarovar.org/projects/nomencl
+%%
+%% This file can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License distributed from CTAN
+%% archives in the directory macros/latex/base/lppl.txt; either
+%% version 1.2 of the license, or (at your option) any later version.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\ProvidesPackage{nomencl}%
+ [2005/09/22 v4.2 Nomenclature package (LN)]
+\NeedsTeXFormat{LaTeX2e}
+\newif\if@printeqref
+\newif\if@printpageref
+\newif\if@intoc
+\newif\if@compatibilitymode
+\DeclareOption{refeq}{\@printeqreftrue}
+\DeclareOption{norefeq}{\@printeqreffalse}
+\DeclareOption{refpage}{\@printpagereftrue}
+\DeclareOption{norefpage}{\@printpagereffalse}
+\DeclareOption{intoc}{\@intoctrue}
+\DeclareOption{notintoc}{\@intocfalse}
+\DeclareOption{compatible}{\@compatibilitymodetrue}
+\DeclareOption{noncompatible}{\@compatibilitymodefalse}
+\DeclareOption{prefix}{\def\nomprefix{a}}
+\DeclareOption{noprefix}{\def\nomprefix{}}
+\newif\if@loadcfg
+\DeclareOption{cfg}{\@loadcfgtrue}
+\DeclareOption{nocfg}{\@loadcfgfalse}
+\DeclareOption{croatian}{%
+ \def\eqdeclaration#1{, vidi jednad\v{z}bu\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, stranica\nobreakspace#1}%
+ \def\nomname{Popis simbola}}
+\DeclareOption{danish}{%
+ \def\eqdeclaration#1{, se ligning\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, side\nobreakspace#1}%
+ \def\nomname{Symbolliste}}
+\DeclareOption{english}{%
+ \def\eqdeclaration#1{, see equation\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, page\nobreakspace#1}%
+ \def\nomname{Nomenclature}}
+\DeclareOption{french}{%
+ \def\eqdeclaration#1{, voir \'equation\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, page\nobreakspace#1}%
+ \def\nomname{Liste des symboles}}
+\DeclareOption{german}{%
+ \def\eqdeclaration#1{, siehe Gleichung\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, Seite\nobreakspace#1}%
+ \def\nomname{Symbolverzeichnis}}
+\DeclareOption{italian}{%
+\def\eqdeclaration#1{, vedi equazione\nobreakspace(#1)}%
+\def\pagedeclaration#1{, pagina\nobreakspace#1}%
+\def\nomname{Elenco dei simboli}}
+\DeclareOption{polish}{%
+ \def\eqdeclaration#1{, porownaj rownanie\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, strona\nobreakspace#1}%
+ \def\nomname{Lista symboli}}
+\DeclareOption{portuguese}{%
+ \def\eqdeclaration#1{, veja equa\c{c}\~ao\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, p\'agina\nobreakspace#1}%
+ \def\nomname{Nomenclatura}}
+\DeclareOption{russian}{%
+ \def\eqdeclaration#1{, \cyrs\cyrm.\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, \cyrs\cyrt\cyrr.\nobreakspace#1}%
+ \def\nomname{\CYRS\cyrp\cyri\cyrs\cyro\cyrk%
+ \ \cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri%
+ \cyrishrt}}
+\DeclareOption{spanish}{%
+ \def\eqdeclaration#1{, v\'ease la ecuaci\'on\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, p\'agina\nobreakspace#1}%
+ \def\nomname{Nomenclatura}}
+\DeclareOption{ukrainian}{%
+ \def\eqdeclaration#1{, \cyrd\cyri\cyrv.\nobreakspace(#1)}%
+ \def\pagedeclaration#1{, \cyrs\cyrt\cyro\cyrr.\nobreakspace#1}%
+ \def\nomname{\CYRP\cyre\cyrr\cyre\cyrl\cyrii\cyrk%
+ \ \cyrp\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrsftsn}}
+\ExecuteOptions{noncompatible,notintoc,norefeq,norefpage,prefix,cfg,english}
+\ProcessOptions\relax
+\if@compatibilitymode%
+ \def\@outputfileextension{.glo}%
+ \def\@inputfileextension{.gls}%
+\else%
+ \def\@outputfileextension{.nlo}%
+ \def\@inputfileextension{.nls}%
+\fi%
+\def\makenomenclature{%
+ \newwrite\@nomenclaturefile
+ \immediate\openout\@nomenclaturefile=\jobname\@outputfileextension
+ \def\@nomenclature{%
+ \@bsphack
+ \begingroup
+ \@sanitize
+ \@ifnextchar[%
+ {\@@@nomenclature}{\@@@nomenclature[\nomprefix]}}%
+ \typeout{Writing nomenclature file \jobname\@outputfileextension}%
+ \let\makenomenclature\@empty}
+\if@compatibilitymode\let\makeglossary\makenomenclature\fi%
+\def\nom@verb{\expandafter\strip@prefix\meaning}
+\def\nomenclature{\protect\@nomenclature}
+\def\@nomenclature{%
+ \@bsphack
+ \begingroup
+ \@sanitize
+ \@ifnextchar[%
+ {\@@nomenclature}{\@@nomenclature[\nomprefix]}}
+\def\@@nomenclature[#1]#2#3{\endgroup\@esphack}
+\def\@@@nomenclature[#1]#2#3{%
+ \def\@tempa{#2}\def\@tempb{#3}%
+ \protected@write\@nomenclaturefile{}%
+ {\string\nomenclatureentry{#1\nom@verb\@tempa @[{\nom@verb\@tempa}]%
+ \begingroup\nom@verb\@tempb\protect\nomeqref{\theequation}%
+ |nompageref}{\thepage}}%
+ \endgroup
+ \@esphack}
+\def\nomgroup#1{}
+\newdimen\nomlabelwidth
+\nomlabelwidth1cm\relax
+\newdimen\nom@tempdim
+\def\printnomenclature{%
+ \@ifnextchar[%
+ {\@printnomenclature}{\@printnomenclature[\nomlabelwidth]}}
+\def\@printnomenclature[#1]{%
+ \nom@tempdim#1\relax
+ \@input@{\jobname\@inputfileextension}}
+\if@compatibilitymode\let\printglossary\printnomenclature\fi%
+\def\nomlabel#1{#1\hfil}
+\def\nompreamble{}
+\def\nompostamble{}
+\def\nomentryend{}
+\newskip\nomitemsep
+\nomitemsep\itemsep
+\def\thenomenclature{%
+ \@ifundefined{chapter}%
+ {
+ \section*{\nomname}
+ \if@intoc\addcontentsline{toc}{section}{\nomname}\fi%
+ }%
+ {
+ \chapter*{\nomname}
+ \if@intoc\addcontentsline{toc}{chapter}{\nomname}\fi%
+ }%
+
+ \nompreamble
+ \list{}{%
+ \labelwidth\nom@tempdim
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \itemsep\nomitemsep
+ \let\makelabel\nomlabel}}
+\def\endthenomenclature{%
+ \endlist
+ \nompostamble}
+\def\nomrefeq{\@printeqreftrue}
+\def\nomrefpage{\@printpagereftrue}
+\def\nomrefeqpage{\@printeqreftrue\@printpagereftrue}
+\def\nomnorefeq{\@printeqreffalse}
+\def\nomnorefpage{\@printpagereffalse}
+\def\nomnorefeqpage{\@printeqreffalse\@printpagereffalse}
+\def\nomeqref#1{\if@printeqref\eqdeclaration{#1}\fi\ignorespaces}
+\def\nompageref#1{\if@printpageref\pagedeclaration{#1}\fi%
+ \nomentryend\endgroup}
+\if@loadcfg
+ \InputIfFileExists{nomencl.cfg}{%
+ \typeout{Using the configuration file nomencl.cfg}}{}
+\fi
+\endinput
+%%
+%% End of file `nomencl.sty'.
diff --git a/Master/texmf-dist/tex/latex/nomencl/sample01.cfg b/Master/texmf-dist/tex/latex/nomencl/sample01.cfg
new file mode 100644
index 00000000000..bb6dcff9bb0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nomencl/sample01.cfg
@@ -0,0 +1,40 @@
+%%
+%% This is file `sample01.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nomencl.dtx (with options: `sample01')
+%%
+%% Copyright 1996 Boris Veytsman
+%% Copyright 1999-2001 Bernd Schandl
+%% www http://sarovar.org/projects/nomencl
+%%
+%% This file can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License distributed from CTAN
+%% archives in the directory macros/latex/base/lppl.txt; either
+%% version 1.2 of the license, or (at your option) any later version.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\RequirePackage{ifthen}
+\renewcommand{\nomgroup}[1]{%
+ \ifthenelse{\equal{#1}{R}}{\item[\textbf{Variables}]}{%
+ \ifthenelse{\equal{#1}{G}}{\item[\textbf{Constants}]}{}}}
+\endinput
+%%
+%% End of file `sample01.cfg'.
diff --git a/Master/texmf-dist/tex/latex/nomencl/sample02.cfg b/Master/texmf-dist/tex/latex/nomencl/sample02.cfg
new file mode 100644
index 00000000000..8f9516106c7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nomencl/sample02.cfg
@@ -0,0 +1,38 @@
+%%
+%% This is file `sample02.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nomencl.dtx (with options: `sample02')
+%%
+%% Copyright 1996 Boris Veytsman
+%% Copyright 1999-2001 Bernd Schandl
+%% www http://sarovar.org/projects/nomencl
+%%
+%% This file can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License distributed from CTAN
+%% archives in the directory macros/latex/base/lppl.txt; either
+%% version 1.2 of the license, or (at your option) any later version.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\newcommand{\nomunit}[1]{%
+ \renewcommand{\nomentryend}{\hspace*{\fill}#1}}
+\endinput
+%%
+%% End of file `sample02.cfg'.
diff --git a/Master/texmf-dist/tex/latex/nomencl/sample04.cfg b/Master/texmf-dist/tex/latex/nomencl/sample04.cfg
new file mode 100644
index 00000000000..40dd612cf6b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nomencl/sample04.cfg
@@ -0,0 +1,49 @@
+%%
+%% This is file `sample04.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nomencl.dtx (with options: `sample04')
+%%
+%% Copyright 1996 Boris Veytsman
+%% Copyright 1999-2001 Bernd Schandl
+%% www http://sarovar.org/projects/nomencl
+%%
+%% This file can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License distributed from CTAN
+%% archives in the directory macros/latex/base/lppl.txt; either
+%% version 1.2 of the license, or (at your option) any later version.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\def\makenomenclature{%
+ \newwrite\@nomenclaturefile
+ \immediate\openout\@nomenclaturefile=\jobname\@outputfileextension
+ \def\@nomenclature{%
+ \@ifnextchar[%
+ {\@@@@nomenclature}{\@@@@nomenclature[\nomprefix]}}%
+ \typeout{Writing nomenclature file \jobname\@outputfileextension}%
+ \let\makenomenclature\@empty}
+\def\@@@@nomenclature[#1]#2#3{%
+ \protected@write\@nomenclaturefile{}%
+ {\string\nomenclatureentry{#1#2@[{#2}]%
+ \begingroup#3\protect\nomeqref{\theequation}%
+ |nompageref}{\thepage}}}%
+\endinput
+%%
+%% End of file `sample04.cfg'.
diff --git a/Master/texmf-dist/tex/latex/nomencl/sample05.cfg b/Master/texmf-dist/tex/latex/nomencl/sample05.cfg
new file mode 100644
index 00000000000..d1ec950e3dd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nomencl/sample05.cfg
@@ -0,0 +1,50 @@
+%%
+%% This is file `sample05.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nomencl.dtx (with options: `sample05')
+%%
+%% Copyright 1996 Boris Veytsman
+%% Copyright 1999-2001 Bernd Schandl
+%% www http://sarovar.org/projects/nomencl
+%%
+%% This file can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License distributed from CTAN
+%% archives in the directory macros/latex/base/lppl.txt; either
+%% version 1.2 of the license, or (at your option) any later version.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+\def\@@@nomenclature[#1]#2#3{%
+ \def\@tempa{#2}\def\@tempb{#3}%
+ \protected@write\@nomenclaturefile{}%
+ {\string\nomenclatureentry{#1\nom@verb\@tempa @[{\nom@verb\@tempa}]%
+ |nompageref{\begingroup\nom@verb\@tempb\protect\nomeqref{\theequation}}}%
+ {\thepage}}%
+ \endgroup
+ \@esphack}
+\def\nompageref#1#2{%
+ \if@printpageref\pagedeclaration{#2}\else\null\fi
+ \linebreak#1\nomentryend\endgroup}
+\def\pagedeclaration#1{\dotfill\nobreakspace#1}
+\def\nomentryend{.}
+\def\nomlabel#1{\textbf{#1}\hfil}
+\endinput
+%%
+%% End of file `sample05.cfg'.