From 5892a627fcfd12a74574492588a18d1b5ca0c9f1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 30 Dec 2018 22:14:25 +0000 Subject: sample*.cfg in doc, not runtime git-svn-id: svn://tug.org/texlive/trunk@49549 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/nomencl/sample04.cfg | 22 +++++++++++++++ Master/texmf-dist/doc/latex/nomencl/sample05.cfg | 33 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/nomencl/sample06.cfg | 35 ++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/nomencl/sample04.cfg create mode 100644 Master/texmf-dist/doc/latex/nomencl/sample05.cfg create mode 100644 Master/texmf-dist/doc/latex/nomencl/sample06.cfg (limited to 'Master/texmf-dist/doc/latex/nomencl') diff --git a/Master/texmf-dist/doc/latex/nomencl/sample04.cfg b/Master/texmf-dist/doc/latex/nomencl/sample04.cfg new file mode 100644 index 00000000000..04da50bbb40 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nomencl/sample04.cfg @@ -0,0 +1,22 @@ +%% +%% This is file `sample04.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% nomencl.dtx (with options: `sample04.cfg') +%% +%% Copyright 1996-2018 Boris Veytsman, Bernd Shandl, Lee Netherton, CV +%% Radhakrishnan, Brian Elmegaard +%% +%% +%% 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. +%% +\newcommand{\nomunit}[1]{% + \renewcommand{\nomentryend}{\hspace*{\fill}\si{#1}}} +\endinput +%% +%% End of file `sample04.cfg'. diff --git a/Master/texmf-dist/doc/latex/nomencl/sample05.cfg b/Master/texmf-dist/doc/latex/nomencl/sample05.cfg new file mode 100644 index 00000000000..8d22032bea7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nomencl/sample05.cfg @@ -0,0 +1,33 @@ +%% +%% This is file `sample05.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% nomencl.dtx (with options: `sample05.cfg') +%% +%% Copyright 1996-2018 Boris Veytsman, Bernd Shandl, Lee Netherton, CV +%% Radhakrishnan, Brian Elmegaard +%% +%% +%% 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. +%% +\def\makenomenclature{% + \newwrite\@nomenclaturefile + \immediate\openout\@nomenclaturefile=\jobname\@outputfileextension + \def\@nomenclature{% + \@ifnextchar[% + {\@@@@nomenclature}{\@@@@nomenclature[\nomprefix]}}% + \PackageInfo{nomencl}{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 `sample05.cfg'. diff --git a/Master/texmf-dist/doc/latex/nomencl/sample06.cfg b/Master/texmf-dist/doc/latex/nomencl/sample06.cfg new file mode 100644 index 00000000000..de9b0cf7282 --- /dev/null +++ b/Master/texmf-dist/doc/latex/nomencl/sample06.cfg @@ -0,0 +1,35 @@ +%% +%% This is file `sample06.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% nomencl.dtx (with options: `sample06.cfg') +%% +%% Copyright 1996-2018 Boris Veytsman, Bernd Shandl, Lee Netherton, CV +%% Radhakrishnan, Brian Elmegaard +%% +%% +%% 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. +%% +\@printpagereftrue +\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\leavevmode\fi + \linebreak#1\nomentryend\endgroup} +\def\pagedeclaration#1{\dotfill\nobreakspace#1} +\def\nomentryend{.} +\def\nomlabel#1{\textbf{#1}\hfil} +\endinput +%% +%% End of file `sample06.cfg'. -- cgit v1.2.3