summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicetext
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-13 23:38:11 +0000
committerKarl Berry <karl@freefriends.org>2012-11-13 23:38:11 +0000
commita2264d022f51c1cd2ffc029da9b6f47da7c98d1a (patch)
treef796739d86ca06b352e126ffdbc422af3d70d7e6 /Master/texmf-dist/tex/latex/nicetext
parentafd388d14d28be512667a80ac70a542c3dadef8c (diff)
nicetext
git-svn-id: svn://tug.org/texlive/trunk@28255 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext')
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/makedoc.cfg16
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg13
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/nicetext.RLS5
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/README-run.txt9
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/arseneau.tex153
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/atari.cfg6
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/atari.fdf12
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/atari.txt2
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/copyfile.cfg6
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex23
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/fddial0g.sty192
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.cfg9
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tex54
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tpl11
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/lines.txt4
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/makedoc.tpl14
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/sample.txt3
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/substr.tex97
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/run/u8atablg.fdf34
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/stacklet.sty119
20 files changed, 23 insertions, 759 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg b/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg
index 3f81eb7de0c..f104cda3682 100644
--- a/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg
+++ b/Master/texmf-dist/tex/latex/nicetext/makedoc.cfg
@@ -1,4 +1,4 @@
-\ProvidesFile{makedoc.cfg}[2012/07/13 documentation settings]
+\ProvidesFile{makedoc.cfg}[{2012/11/09 [06] documentation settings}]
\author{Uwe L\"uck\thanks{\url{http://contact-ednotes.sty.de.vu}}}
% \author{Uwe L\"uck---{\tt http://contact-ednotes.sty.de.vu}}
@@ -58,19 +58,21 @@
\RequirePackage{texlinks} %% 2011/01/24
\RequirePackage{relsize} %% 2011/06/27
\RequirePackage{color} %% 2011/08/06
+\RequirePackage{lmodern} %% 2012/10/29
%% Logical markup |\strong{<text>}|, |\file{<text>}|, |\acro{<text>}|,
-%% |\meta{<text>}|, |\pkg{<text>}|, |\code{<text>}|:
+%% |\meta{<text>}|, |\pkg{<text>}|, |\code{<text>}|, |\qtdcode{<text>}|:
\makeatletter
\def\do#1#2{\@ifdefinable#1{\let#1#2}}%% 2012/07/13
\do\strong\textbf \do\file\texttt \do\acro\textsmaller
%% <- wrong tests before 2012/07/13
\do\meta\textit \do \pkg\textsf \do\code\texttt
+ \newcommand*{\qtdcode}[1]{`\code{#1}'} %% 2012/10/24
\ifpdf
\pdfstringdefDisableCommands{%
\let\acro\textrm
- \let\file\textrm %% 2011/11/09
- \let\code\textrm %% 2011/11/20
- \let\pkg \textrm %% 2012/03/23
+ \let\file\textrm %% 2011/11/09
+ \let\code\textrm %% 2011/11/20
+ \let\pkg \textrm %% 2012/03/23
}
\fi
%% TODO 2011/07/22 -> `htlogml.sty'
@@ -81,6 +83,10 @@
document describes version
\textcolor{blue}{\UseVersionOf{\jobname.sty}}
of \textsf{\jobname.sty} as of \UseDateOf{\jobname.sty}.}}
+\newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}} %% 2012/11/06
+\newcommand*{\MDsampleinput}[1]{% %% 2012/11/06
+ \par\bigskip\hrule\verbatiminput{#1}%
+ \hrule\bigskip}
\errorcontextlines=4
\pagestyle{headings}
diff --git a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg
index e503a1d2478..5914ea260bb 100644
--- a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg
+++ b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg
@@ -1,5 +1,5 @@
-\ProvidesFile{mdoccorr.cfg}[2011/12/03 %% 2012/05/10 shorter:
- makedoc local typographical corrections]
+\ProvidesFile{mdoccorr.cfg}[2012/11/07
+ `makedoc' local typographical corrections]
%% ... also demonstrates 'niceverb.sty'---see the typeset
%% documentation of the present file in `makedoc.pdf'.
%%
@@ -14,7 +14,7 @@
\PrependExpandableAllReplacer*{etc. }{etc.\ }
%% ... you can keep inter-sentence space after `etc.'
%% by a code line break.
-\PrependExpandableAllReplacer*{Cf. }{Cf.\ } %% 2011/01/12
+\PrependExpandableAllReplacer*{Cf. }{Cf.\ } %% 2011/01/12
\PrependExpandableAllReplacer*{cf. }{cf.\ } %% corr. 2010/03/23
%% ... but think of `cf.~'. Don't leave `cf.' at code line end!
\PrependExpandableAllReplacer*{->}{$\to$} %% 2010/11/06
@@ -24,10 +24,10 @@
\PrependExpandableAllReplacer*{...}{\textellipsis\unkern{}}
%% 2011/10/13: original `\dots' correct before punctuation:
% \PrependExpandableAllReplacer{dots,}{...,}{\dots,}
-\PrependExpandableAllReplacer*{...)}{\dots)} %% 2011/10/25
-\PrependExpandableAllReplacer*{...:}{\dots:}
+\PrependExpandableAllReplacer*{...)}{\dots)} %% 2011/10/25
+\PrependExpandableAllReplacer*{...:}{\dots:} %% 2012/11/07
\PrependExpandableAllReplacer*{... }{\textellipsis\unkern\ }
-\PrependExpandableAllReplacer*{TODO}{\textcolor{blue}{TODO}}
+\PrependExpandableAllReplacer*{TODO}{\TODO{}}
%% ... chain starts here, and here |\MakeDocCorrectHook| (silently)
%% enters through a default variant |\SetCorrectHookJobLast|
%% of |\SetCorrectHookJob{<id>}|:
@@ -54,3 +54,4 @@ HISTORY
2011/10/25 \textellipsis\unkern from csquotes instead, `...)'
2011/11/13 \PrependExpandableAllReplacer*
2011/12/03 bug fix for 2011/10/25 at line ends
+2012/11/07 TODO -> \TODO{}
diff --git a/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS b/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS
index a56f9da94c2..fa1b260e871 100644
--- a/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS
+++ b/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS
@@ -1,4 +1,9 @@
\ProvidesFile{nicetext.RLS} %% RELEASE INFO
+ [2012/11/09 r0.61 `lmodern', \string\qtdcode, \string\TODO,
+ \string\MDsampleinput;
+ use recent `nicefilelist';
+ corr. upload dirs]
+ [{2012/10/10 r0.6a \string\[Dont]AddQuotes -> intro}]
[2012/09/28 r0.6 use & adapt to `catcodes', \string\pkgtitle]
[2012/05/27 r0.53 makedoc.cfg \string\MDaddtoabstract]
[2012/04/03 r0.52 bug fix] %% 2012/05/26
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/README-run.txt b/Master/texmf-dist/tex/latex/nicetext/run/README-run.txt
deleted file mode 100644
index a953d293e83..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/README-run.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-The .tex files can be run with latex ("script files").
-arseneau.tex and substr.tex demonstrate the "auto" feature
-of makedoc.sty, see makedoc.pdf.
-copyfile.tex and fdtxttex.tex are dialogues.
-Replace copyfile.cfg by atari.cfg to get a conversion sample.
-The .tpl files are templates for script files. See FILEs.txt,
-fifinddo.pdf, and makedoc.pdffor additional informations.
-
-UL 2011-09-14
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/arseneau.tex b/Master/texmf-dist/tex/latex/nicetext/run/arseneau.tex
deleted file mode 100644
index c2a59f45552..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/arseneau.tex
+++ /dev/null
@@ -1,153 +0,0 @@
-\ProvidesFile{arseneau.tex}
- [2012/03/18 some packages by D. Arseneau (ul)]
-\title{A Few Packages by Donald Arseneau}
-\author{Uwe L\"uck\thanks{applying \url{http://ctan.org/pkg/nicetext}}}
-% \listfiles
-
-%% Preprocessing:
-\RequirePackage{makedoc}
-% \CopyFDconditionFromTo{PScomment}{comment}
-\ProcessLineMessage{}
-\MainDocParser{\ProcessInputWith{PScomment}}
-%% nolbreaks:
-%% Replacements:
-\SetPatternCodes{\MakeOther\\\MakeOther\ }
-\MakeExpandableAllReplacer{LaTeX}{LaTeX }{\LaTeX{} }{LEAVE}
-% \MakeExpandableAllReplacer{TeX}{\TeX }{\TeX{} }{LEAVE}
-\PrependExpandableAllReplacer{opt}{[ragged]}{`[ragged]'}
-\PrependExpandableAllReplacer{braces}[\Delimiters<>]<{ }><`{ }'>
-\SetCorrectHookJobLast
-
-\HeaderLines{2}
-\LaTeXresultFile{nolbreaks.doc}
-\MakeCloseDoc*{nolbreaks.sty}
-
-%% notoccite:
-\MakeExpandableAllReplacer{LaTeX}{LaTeX }{\LaTeX{} }{LEAVE}
-\PrependExpandableAllReplacer{caption}%
-{ \caption [}{\DISPLAY\caption[}
-\PrependExpandableAllReplacer{unsrt}{unsrt}{`unsrt'}
-\PrependExpandableAllReplacer{toc}{ toc}{ `.toc'}
-\PrependExpandableAllReplacer{lof}{lof}{`.lof'}
-\PrependExpandableAllReplacer{latex}{latex}{`latex'}
-\PrependExpandableAllReplacer{NOTE}{*NOTE*}{\textbf{NOTE:\enspace}}
-\PrependExpandableAllReplacer{does}{*does*}{\emph{does}}
-\PrependExpandableAllReplacer{bibtex}{bibtex}{`bibtex'}
-\ResetPatternCodes
-\SetCorrectHookJobLast
-
-\HeaderLines{3}
-\LaTeXresultFile{notoccite.doc}
-\MakeCloseDoc*{notoccite.sty}
-
-\ProcessLineMessage{\message{.}}
-%% optional:
-% \SetPatternCodes{\MakeOther\\\MakeOther\ }
-\SetPatternCodes{\MakeOther\\}
-\MakeExpandableAllReplacer{LaTeX:}{LaTeX:}{\LaTeX:}{LEAVE}
-\PrependExpandableAllReplacer{LaTeX}[\MakeOther\ ]%
-{LaTeX }{\LaTeX{} }
-\PrependExpandableAllReplacer{pkg}{optional.sty}{'optional.sty'}
-\PrependExpandableAllReplacer{IS}{*IS*}{\emph{is}}
-\PrependExpandableAllReplacer{tildes}[\MakeOther\ ]%
-{HOW TO USE}{\SECT{How to Use}}
-% \SetPatternCodes{\MakeOther\~}
-% \PrependExpandableAllReplacer{tildes}[\MakeOther\~]{U}{X}
- %% <- TODO \MakeOther\~ hangs up
-\SetCorrectHookJobLast
-
-\HeaderLines{14}
-\LaTeXresultFile{optional.doc}
-\MakeCloseDoc*{optional.sty}
-
-
-%% Typesetting:
-\documentclass{article}
-\usepackage{hyperref,niceverb,wiki} %% niceverb after hyperref!
-\AddToNoVerbList{\DISPLAY\textbf\enspace\emph\LaTeX\SECT}
-\newcommand*{\DISPLAY}{%
- \\[\smallskipamount]\leavevmode\null\hfil}
-\makeatletter
- \newcommand*{\SECT}[1]{%
- \par\medskip\textbf{#1}\par\smallskip\@afterheading}
-\makeatother
-\makeatletter \MakeLetter\_
-% {\MakeActive\"\gdef\DQcode#1"{\dqtd{\texttt{#1}}}}
-% {\MakeActive\"\gdef\DQcode#1"{\texttt{#1}}}
-{\MakeActive\"
- \gdef\DQtt{\begingroup
- \let\do\MakeOther \dospecials \tt \let"\endgroup}
- \gdef\fineDQ{``\begingroup
- \let\do\MakeOther \dospecials \tt \def"{\endgroup''}}}
-%% weird problems:
-% \newcommand*{\startDQcode}
-% {``\begingroup\MakeActiveLetHere\"\enddQcode\tt}
-% \def\endDQcode{\endgroup"}
-\pagestyle{headings}
-\usepackage{parskip}
-\begin{document}
-\maketitle
-
-\begin{abstract}\noindent
- This document demonstrates the present
- (i.e., 'nicetext' bundle release v0.4)
- capabilities of 'makedoc' and 'niceverb'
- to typeset \LaTeX\ quality documentation from
- third-party package files having ASCII comments only,
- without modifying such package files manually.\footnote{See
- \url{http://ctan.org/pkg/nicetext}
- for more on these packages.}
- Such packages usually mark comments by lines starting with
- \lq`% '\rq. This is somewhat difficult when the ``comment mark"
- \lq`%'\rq\
- may at the same time be used for ``commenting out" in place of
- ``true commenting." As opposed to 'substr.sty' that conforms to the
- easier \lq`%% '\rq\ style, the packages 'nolbreaks' and 'notoccite'
- by Donald Arseneau exemplify the \lq`% '\rq\ commenting style.
-
- The ASCII documentation of packages of this kind
- does not always clearly indicate when switching to `\tt' is appropriate.
- This problem is solved here by string replacements very specific
- to the package files.
- The setup for these replacements
- (in the source file 'arseneau.tex')
- still may be simplified.
- %% <- 2010/03/29
-
- Moreover, some similar packages cannot be properly typeset with
- 'nicetext' at present because 'makedoc''s loop is too rigid to deal with
- (i)~ASCII indents, displays, lists and with (ii)~instructions
- after `\endinput'. (On 2010/04/05, we try addressing (i) with
- 'wiki.sty', applied to Donald Arseneau's 'optional'.
- A 'nicetext' bug with replacing tildes shows up.)
-
- It should be clear that all the package desriptions are Donald Arseneau's,
- 'nicetext' just formats them.
-\end{abstract}
-\tableofcontents
-\pagebreak
-
-\sloppy
-\MakeNormal\|
-
-\section{'nolbreaks'}
-% \MakeActiveLet\_\textunderscore
-% \MakeActive\*\def*{\texttt{\string*}}
-% \MakeActiveLetHere\"\startDQcode
-\MakeActiveLetHere\"\DQtt
-% \errorcontextlines=6
-\AutoCmdInput{nolbreaks.doc}
-
-\section{'notoccite'}
-\ResetCodeLineNumbers
-\AutoCmdInput{notoccite.doc}
-
-\section{'optional'} %% 2010/04/02
-\ResetCodeLineNumbers
-\wikiEnvironments
-\MakeActiveLet\"\DQtt
-% \AddToNoVerbList{\tracingmacros}
-\let~\relax %% TODO replacement bug 2010/04/05
-\AutoCmdInput{optional.doc}
-
-\end{document}
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/atari.cfg b/Master/texmf-dist/tex/latex/nicetext/run/atari.cfg
deleted file mode 100644
index c226fd434ca..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/atari.cfg
+++ /dev/null
@@ -1,6 +0,0 @@
-\ProvidesFile{atari.cfg}[2011/09/13 sample for copyfile.tex]
-\catcode`\_=11
-\InputFile{atari.txt}
-\TextCodesFile{atari.fdf}
-\ResultFile{iso.txt}
-\endinput
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/atari.fdf b/Master/texmf-dist/tex/latex/nicetext/run/atari.fdf
deleted file mode 100644
index e2f80cdfa6e..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/atari.fdf
+++ /dev/null
@@ -1,12 +0,0 @@
-\ProvidesFile{atari.fdf}[2010/08/29
- Atari German to ISO-8859 with blog.sty]
-%% was \AtariCodes from 2010/08/24 till 2011/08/22:
-\def\TextCodes{%
- \MakeActiveDefŽ{Ä}\MakeActiveDef™{Ö}\MakeActiveDefš{Ü}%
- \MakeActiveDef„{ä}\MakeActiveDef”{ö}\MakeActiveDef{ü}%
-%% So far it is Code Page 437. Sharp S is special %% 2011/08/29
-%% (cf. umlaute.pdf from the umlaute package):
- \MakeActiveDefž{ß}%
-}
-\endinput
-
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/atari.txt b/Master/texmf-dist/tex/latex/nicetext/run/atari.txt
deleted file mode 100644
index 8a5ffe937ca..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/atari.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-„”ž
-Ž™š
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/copyfile.cfg b/Master/texmf-dist/tex/latex/nicetext/run/copyfile.cfg
deleted file mode 100644
index 63da90bfbc9..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/copyfile.cfg
+++ /dev/null
@@ -1,6 +0,0 @@
-\ProvidesFile{copyfile.cfg}[2011/09/13 initializing copyfile.tex]
-\catcode`\_=11
-\InputFile{lines.txt}
-\TextCodesFile{}
-\ResultFile{lns.txt}
-\endinput
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex b/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
deleted file mode 100644
index f532ed4c545..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/copyfile.tex
+++ /dev/null
@@ -1,23 +0,0 @@
-\ProvidesFile{copyfile.tex}[2011/09/13 copy*ing/converting (UL)]
-\RequirePackage{fddial0g}
-\MakeSet{codes-f}{\TextCodesFile}
-\let\TextCodes\relax %% avoid errmessage
-\TryDialogueCFG{copyfile}{%
- \InputFile{lines.txt}
- \TextCodesFile{atari.fdf}
- \ResultFile{lns.txt}}
-\Announce{ * copyfile.tex * compressing blank lines/converting^^J}
-\newcommand*{\VarShowSettings}{%
- \ShowSet{in-f}\LBrk
- \ShowSet{codes-f}\LBrk
- \ShowSet{out-f}}
-\newcommand*{\VarRunSettings}{%
- \typeout{`copyfile.tex' generating `\UseSet{out-f}'}
- \UseResultFile{\UseSet{out-f}}
- \IfEmptySet{codes-f}{}{\input{\UseSet{codes-f}}}
- \CopyFile*[\TextCodes]{\UseSet{in-f}}%
-}
-\DialogueLoop
-
-\stop
-
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/fddial0g.sty b/Master/texmf-dist/tex/latex/nicetext/run/fddial0g.sty
deleted file mode 100644
index 3e3a56ab830..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/fddial0g.sty
+++ /dev/null
@@ -1,192 +0,0 @@
-\ProvidesPackage{fddial0g}[2011/09/13 v0.2 dialogues with fifinddo (UL)]
-%% copyright (C) 2011 Uwe L\"uck,
-%%
-%% http://www.contact-ednotes.sty.de.vu
-%%
-%% -- author-maintained in the sense of LPPL below --
-%% This file can be redistributed and/or modified under
-%% the terms of the LaTeX Project Public License; either
-%% version 1.3c of the License, or any later version.
-%% The latest version of this license is in
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% We did our best to help you, but there is NO WARRANTY.
-%% Please report bugs, problems, and suggestions via
-%%
-%% http://www.contact-ednotes.sty.de.vu
-%%
-\RequirePackage{fifinddo}
-
-\catcode`\_=11
-
-%% == Setting and Using Variables ==
-%% %% aus `fddialog.sty' in `blog/convert/' 2011/09/12:
-\newcommand*{\FDD_set}{set:}
-\newcommand*{\FDD_use}{use:}
-%% |\MakeSet{<id>}{<set>}| declares an internal variable `<id>'
-%% and defines a command `<set>' so that `<set>{<value>}'
-%% will assign <value> to <id>:
-\newcommand*{\MakeSet}[2]{%
- \@namedef{\FDD_set#1}{#2}%
- \newcommand*{#2}{\@namedef{\FDD_use#1}}
-}
-%% It would be nice if there were a warning when in an evaluation
-%% of a variable it turns out that it has not been ``declared" by
-%% `\MakeSet' or not been set by the according setting command.
-%% However, all the evaluations seem to happen in expansion
-%% (e.g., during `\typeout'), so \LaTeX's `\PackageError'
-%% (not even `\GenericError') is not helpful,
-%% and `\errhelp' cannot be set specifically (in time).
-%% It may tell more generally about `\MakeSet', but I am not sure
-%% about what errors can occur in processing the dialogues at all.
-%% At least we can get a real `\errmessage' using something else
-%% that has not been defined:
-\newcommand*{\FDD_check_use}[1]{%
- \@ifundefined{\FDD_use#1}%
- {\@ifundefined{\FDD_set#1}%
- {\FDD_undeclared_variable `#1'}%
- {\FDD_undefined_variable `#1'}}%
-}
-%% |\UseSet{<id>}| expands to <id>'s value.
-\newcommand*{\UseSet}[1]{%
- \FDD_check_use{#1}{\csname\FDD_use#1\endcsname}}
-%% |\EvalBooleanSet{<id>}|:
-\newcommand*{\EvalBooleanSet}[1]{%
- \FDD_check_use{#1}{%
- \csname
- \FDD_on_setstring\@gobble{#1}%% \if id
- \csname\FDD_use#1\endcsname %% true/false
- \endcsname
- }%
-}
-\newcommand*{\FDD_on_setstring}[2]{%
- \expandafter\FDD_double_xpa\expandafter
- #1\expandafter\expandafter\expandafter
- \string\csname\FDD_set#2\endcsname}
-\def\FDD_double_xpa{\expandafter\expandafter\expandafter}
-%% |\IfEmptySet{<id>}{<if>}{<unless>}|:
-\newcommand*{\IfEmptySet}[1]{%
- \if^^J\UseSet{#1}^^J\expandafter\@firstoftwo
- \else\expandafter\@secondoftwo\fi}
-%% TODO present variable names by tokens!? (namemod)
-%%
-%% |\DebugShowSet{<id>}|:
-\newcommand*{\DebugShowVar}[1]{%
- \expandafter\show\csname\FDD_use#1\endcsname}
-%%
-%% == In/Out Variables ==
-%% |\ResultFile| gets a different meaning here
-%% in order to keep the dialogue nice.
-\let\UseResultFile\ResultFile
-\let\ResultFile\relax
-\MakeSet{out-f}{\ResultFile}
-\MakeSet {in-f}{\InputFile}
-\MakeSet{cfg-f}{\CFGname}
-%% == `.cfg' ==
-%% |\TryDialogue{<file-name-base>}{<settings>}|
-%% loads file `<file-name-base>.cfg' if \TeX\ can find it,
-%% otherwise executes <settings>:
-\newcommand*{\TryDialogueCFG}[2]{%
- \CFGname{#1}%
- \InputIfFileExists{#1.cfg}%
- {\typeout{^^J
- * using settings from `#1.cfg'. *
- ^^J}}%
- {#2}%
-}
-%%
-%% == Screen ==
-\newcommand*{\Announce}[1]{%
- \typeout{%
- \FD_dialogue_double_line
- ^^J#1^^J%
- The screen shows most recent settings commands.^^J%
- You can modify initial settings in
- `\UseSet{cfg-f}.cfg'.^^J}%
-}
-%% |\DialogueLoop| is the last mandatory command in the
-%% main script file. It needs an earlier definition of
-%% |\VarShowSettings|. |\LBrk| can be used for a
-%% screen line break: %% TODO \MessageBreak \relax!?
-\newcommand*{\DialogueLoop}{%
- {\def\LBrk{^^J}%
- \typeout{%
- \FD_dialogue_double_line^^J%
- \VarShowSettings %% specific to purpose
- \FD_dialogue_double_line}%
- }%
- \typein[\action]%
- {Run with these settings?
- (Y)es? (C)hange? (Otherwise quit.)}%
- \csname FDD_action_\action \endcsname
-}
-\def\FD_dialogue_double_line{%
- ^^J%
- ===========================================================}
-%% For defining |\VarShowSettings|:
-\newcommand*{\ShowSet}[1]{%
- \FDD_check_use{#1}{%
-% \expandafter\expandafter\expandafter
-% \string\csname\FDD_set#1\endcsname
- \FDD_on_setstring\@empty{#1}%
- {\UseSet{#1}}%
- }%
-}
-\newcommand*{\TimesDo}[2]{%
- \ifnum\number#1>\z@
- #2\expandafter\@firstofone
- \else
- \expandafter\@gobble
- \fi
- {\expandafter\TimesDo\expandafter
- {\number\predecessor_of{#1} }{#2}}%
-}
-\newcommand*{\predecessor_of}[1]{%
- \ifnum#1>9
- \expandafter\twodig_predecessor_of
- \else
- \expandafter\onedig_predecessor_of
- \fi
- #1}
-\newcommand*{\onedig_predecessor_of}[1]{%
- \ifcase #1\or0\or1\or2\or3\or4\or5\or6\or7\or8\or9\fi}
-\newcommand*{\twodig_predecessor_of}[2]{%
- \ifcase #2
- \onedig_predecessor_of#19\or
- #10\or#11\or#12\or#13\or#14\or#15\or#16\or#17\or#18\or#19\fi}
-
-\newcommand*{\Spaces}[1]{\TimesDo{#1}{\space}}
-
-%%
-%% == Changing Settings ==
-%% When the user types `c' or `C', she is asked to input
-%% replacement text for the macro |\change|.
-%% This macro then is executed, and |\DialogueLoop|
-%% is invoked again:
-\newcommand*{\FDD_action_c}{\FDD_change_settings}
-\newcommand*{\FDD_action_C}{\FDD_change_settings}
-\newcommand*{\FDD_change_settings}{%
- \typein[\change]{^^JType setting command(s).}%
- \change \DialogueLoop}
-%% == Running with Current Settings ==
-\newcommand*{\FDD_action_y}{\FDD_run_with_settings}
-\newcommand*{\FDD_action_Y}{\FDD_run_with_settings}
-%% When the user types `y' or `Y', the following macro is executed.
-%% It invokes |\VarRunSettings| that must be defined
-%% before `\DialogueLoop' is executed:
-\newcommand*{\FDD_run_with_settings}{%
- \VarRunSettings %% specific to purpose
- \CloseResultFile
- \typeout{Done.}%
- \DialogueLoop}
-%%
-%% == The End ==
-\endinput
-
-== VERSION HISTORY ==
-
-v0.1 2011/08/23 first, uploaded with NICETEXT r0.43
-v0.2 2011/09/12 merged with something earlier/better, messages
- 2011/09/13 messages more carefully: ...undefined_var...,
- \EvalBooleanSet, \TimesDo with two digits
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.cfg b/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.cfg
deleted file mode 100644
index 452ea5173a2..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-\ProvidesFile{fdtxttex.cfg}[2011/09/13 initializing fdtxttex.tex]
-\JobName{sample}
-\InputExtension{txt}
-\OutputExtension{tex}
-\CorrectionFile{mdoccorr.cfg}
-\FileHeader{\protect\WriteProvides}
-\FileFooter{}
-\ShowLines{false}
-\endinput
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tex b/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tex
deleted file mode 100644
index 0c17662f5d8..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tex
+++ /dev/null
@@ -1,54 +0,0 @@
-\ProvidesFile{fdtxttex.tex}[2011/09/13 txt to TeX by dialogue (UL)]
-\RequirePackage{fddial0g}
-% \errorcontextlines=4
-\MakeSet{job-name}{\JobName}
-\MakeSet{in-ext} {\InputExtension}
-\MakeSet{out-ext} {\OutputExtension}
-\MakeSet{corr-f} {\CorrectionFile}
-\MakeSet{f-head} {\FileHeader}
-\MakeSet{f-foot} {\FileFooter}
-\newif\ifShowLines
-\MakeSet{show-l} {\ShowLines}
-\TryDialogueCFG{fdtxttex}{%
- \JobName{sample}
- \InputExtension{txt}
- \OutputExtension{tex}
- \CorrectionFile{mdoccorr.cfg}
- \FileHeader{\protect\WriteProvides}
- \FileFooter{}
- \ShowLines{false}
-}
-% \DebugShowVar{cfg-f}
-\Announce{ *fdtxttex.tex* txt to TeX by dialogue^^J
- (apply \string\MakeDocCorrectHook)^^J}
-\newcommand*{\VarShowSettings}{%
- \ShowSet{job-name}\LBrk\Spaces{15}
- \ShowSet{in-ext} \space
- \ShowSet{out-ext}\LBrk
- \ShowSet{corr-f}
- (define \BackslashChar MakeDocCorrectHook)\LBrk
- \ShowSet{f-head}\LBrk
- \ShowSet{f-foot}\LBrk
- \Spaces{15}
- \ShowSet{show-l}
-}%
-\newcommand*{\VarRunSettings}{%
- \input{\UseSet{corr-f}}%
- \typeout{`fdtxttex.tex' generating
- `\UseSet{job-name}.\UseSet{out-ext}'.}%
- \UseResultFile{\UseSet{job-name}.\UseSet{out-ext}}%
- \IfEmptySet{f-head}{}{\UseSet{f-head}}%
- \EvalBooleanSet{show-l}%
- \ProcessFileWith{\UseSet{job-name}.\UseSet{in-ext}}{%
- \WriteResult{\CorrectedInputLine}%
- \ifShowLines
- \typeout{\CorrectedInputLine}%
- \else
- \message{.}%
- \fi}%
- \IfEmptySet{f-foot}{}{\UseSet{f-foot}}%
-}
-
-\DialogueLoop
-
-\stop
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tpl b/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tpl
deleted file mode 100644
index b50b9f79c26..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/fdtxttex.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-\ProvidesFile{fdtxttex.tpl}[2011/09/13 fifinddo correction template]
-\RequirePackage{fifinddo}
-\input{mdoccorr.cfg}
-\ResultFile{sample.tex}
-\WriteProvides
-\ProcessFileWith{sample.txt}{%
- \typeout{\CorrectedInputLine}%
- \WriteResult{\CorrectedInputLine}%
-}
-\CloseResultFile
-\stop
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/lines.txt b/Master/texmf-dist/tex/latex/nicetext/run/lines.txt
deleted file mode 100644
index 66681434654..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/lines.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-abba
-
-
-abba \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/makedoc.tpl b/Master/texmf-dist/tex/latex/nicetext/run/makedoc.tpl
deleted file mode 100644
index 69b2b957a28..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/makedoc.tpl
+++ /dev/null
@@ -1,14 +0,0 @@
-\ProvidesFile{makedoc.tpl}[2011/09/14
- makedoc preprocessing template]
-\RequirePackage{makedoc}
-\renewcommand*{\mdJobName}{SAMPLE}
-\input{mdoccorr.cfg}
-\LaTeXresultFile{\mdJobName.doc}
-\HeaderLines{0}
-\ProcessLineMessage{}
-\MainDocParser{%
-% \WriteResult{\ProcessInputWith{dots}}%
- \WriteResult{\CorrectedInputLine}%
-}
-\MakeCloseDoc{\mdJobName.TEX}
-\stop
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/sample.txt b/Master/texmf-dist/tex/latex/nicetext/run/sample.txt
deleted file mode 100644
index 69408f90fd8..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/sample.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-blabla ... blabla
-blabla cf. bla
-etc. bla bla \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/substr.tex b/Master/texmf-dist/tex/latex/nicetext/run/substr.tex
deleted file mode 100644
index 64f202f0e9d..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/substr.tex
+++ /dev/null
@@ -1,97 +0,0 @@
-\ProvidesFile{substr.tex}[2012/03/18 documentation for substr.sty]
-\title{\textsf{substr.sty}\thanks{See
- \url{http://ctan.org/pkg/substr} for more about
- \textsf{substr.sty}.}---Substring
- Functions with \LaTeX}
-\author{Harald Harders\thanks{Joint work with Heiko Oberdiek,
- one line + documentation tool
- by Uwe L\"uck.}}
-% \listfiles
-
-%% Preprocessing 'substr.sty':
-\RequirePackage{makedoc}
-
-%% Replacements:
-\SetPatternCodes{\MakeOther\\}
-\MakeExpandableAllReplacer{Cmds}
- {Commands:}{\SECT{Commands:}}{LEAVE}
-\PrependExpandableAllReplacer{Change}{ChangeLog}{\SECT{ChangeLog}}
-\PrependExpandableAllReplacer{CR}{Copyright}{\COPYRIGHT}
-\PrependExpandableAllReplacer{LaTeX}
- [\MakeOther\ ]{LaTeX }{\LaTeX{} }
-\PrependExpandableAllReplacer{HH@}
- {h.harders@tu-bs.de}
- {`h.harders@tu-bs.de'\MEDSK}
-\PrependExpandableAllReplacer{COMP}
- {de.comp.text.tex}
- {`de.comp.text.tex'}
-\PrependExpandableAllReplacer{LPPL}
- {macros/latex/base/lppl.txt}
- {`macros/latex/base/lppl.txt'}
-\PrependExpandableAllReplacer{Hist}[\MakeOther\ ]%
-{History of this package:}{\SECT{History of this package:}}
-\ResetPatternCodes
-\SetCorrectHookJobLast
-
-\HeaderLines{3}
-\MainDocParser{\ProcessInputWith{comment}}
-\LaTeXresultFile{substr.doc}
-\MakeCloseDoc*{substr.sty}
-
-\documentclass{article}
-
-\usepackage{hyperref,makedoc,niceverb} %% niceverb after hyperref!
-\AddToNoVerbList{\MEDSK\SECT\textbf\COPYRIGHT,\LaTeX}
-\newcommand*{\MEDSK}{\par\medskip}
-\newcommand*{\SECT}[1]{\MEDSK\textbf{#1}\nopagebreak\par}
-\newcommand*{\COPYRIGHT}{\MEDSK\textbf{Copyright} }
-\usepackage[utf8]{inputenc} %% for v1.2
-
-\pagestyle{myheadings}
-\markboth{\textsf{substr.sty}}{\textsf{substr.sty}}
-\usepackage{parskip}
-\usepackage{ragged2e} %% 2012/03/18
-
-\begin{document}
-\maketitle
-
-\begin{abstract}\noindent
- This documentation of 'substr.sty' has been typeset
- by automatical ASCII\slash UTF\hbox{-}8~$\to$ \LaTeX\
- enhancement provided by 'makedoc.sty' and 'niceverb.sty''s
- ``auto mode."\footnote{See
- \url{http://ctan.org/pkg/nicetext}
- for more on these packages.}
- Some extended formatting---kind of sectioning,
- switches to `\tt'---have been achieved by string replacements
- specific to the comment text of the package file
- (see source file 'substr.tex').
-
- 'substr.sty' especially demonstrates the rather rare
- \lq`%% '\rq\ style of package comments that is somewhat
- favoured by 'makedoc' because this way ``true comments"
- are easily distinguishable from mere ``commenting out."
-%
-% The idea to use 'parskip.sty' for formatting the documentation
-% (as opposed to the version of the present file of one week ago)
-% is due to the quite recent
-% 'import.tex'\footnote{\url{http://ctan.org/pkg/import}}
-% that
-%% ???
-\end{abstract}
-\sloppy
-\RaggedRight
-% \MakeJobDoc{3}{\ProcessInputWith{comment}}
-\AutoCmdInput{substr.doc}
-\enlargethispage{\baselineskip}
-\end{document}
-
-%% HISTORY
-2010/03/18 sent to CTAN
-2010/03/27 removed `\usepackage{substr}'
-2010/03/28 extended formatting by replacing words
-2010/03/29 \SetPatternCodes etc.
-2010/03/30 import -> substr; see source file
-2011/08/20 \ProvidesFile for fileinfo
-2012/03/18 use \MakeCloseDoc*, \enlargethispage, ragged2e
-
diff --git a/Master/texmf-dist/tex/latex/nicetext/run/u8atablg.fdf b/Master/texmf-dist/tex/latex/nicetext/run/u8atablg.fdf
deleted file mode 100644
index 17a28555e67..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/run/u8atablg.fdf
+++ /dev/null
@@ -1,34 +0,0 @@
-\ProvidesFile{u8atablg.fdf}[2011/09/12 UTF-8->Atari/blog with fdtxttex]
-\SetPatternCodes{\MakeOther\&\MakeOther\\\MakeOther\ }
-\StartPrependingChain
-\PrependExpandableAllReplacer{amp} {&}{\&}
-%% <- for blog.sty. Next are Atari umlauts,
-%% cf. 'umlaute' documentation:
-\PrependExpandableAllReplacer{auml} {ä}{„}
-\PrependExpandableAllReplacer{ouml} {ö}{”}
-\PrependExpandableAllReplacer{uuml} {ü}{}
-\PrependExpandableAllReplacer{szlig}{ß}{ž}
-\PrependExpandableAllReplacer{Auml} {Ä}{Ž}
-\PrependExpandableAllReplacer{Ouml} {Ö}{™}
-\PrependExpandableAllReplacer{Uuml} {Ãœ}{š}
-%% ... TODO as \TextCodes!? `Ã' one-parameter macro
-%% there must be no space left of last argument.
-%% `\endash{}' is not a solution because 'blog.sty'
-%% then would display the braces:
-\PrependExpandableAllReplacer{apostr} {’}{'}
-\PrependExpandableAllReplacer{item} {•}{\item }
-\PrependExpandableAllReplacer{item } {• }{\item\ }
-\PrependExpandableAllReplacer{endash} {–}{\endash }
-\PrependExpandableAllReplacer{endash }{– }{\endash\ }
-\PrependExpandableAllReplacer{hellip} {…}{\dots }
-\PrependExpandableAllReplacer{hellip }{… }{\dots\ }
-\PrependExpandableAllReplacer{to} {→}{\to }
-\PrependExpandableAllReplacer{to } {→ }{\to\ }
-% \newcommand*{\PXAR}{\PrependExpandableAllReplacer}
-% \PXAR{dots}{...}{.\kern\fontdimen3\font.\kern\fontdimen3\font.}
-%% Tomboy 2011/09/12:
-% \PrependExpandableAllReplacer {it} {<italic>}{<i>}
-% \PrependExpandableAllReplacer{/it}{</italic>}{</i>}
-\SetCorrectHookJobLast
-\endinput
-
diff --git a/Master/texmf-dist/tex/latex/nicetext/stacklet.sty b/Master/texmf-dist/tex/latex/nicetext/stacklet.sty
deleted file mode 100644
index 3324a8391e3..00000000000
--- a/Master/texmf-dist/tex/latex/nicetext/stacklet.sty
+++ /dev/null
@@ -1,119 +0,0 @@
- \input plainpkg
-\ProvidesPackage{stacklet}[2012/08/27 v0.3 private letters (UL)]
-%%
-%% Copyright (C) 2012 Uwe Lueck,
-%% http://www.contact-ednotes.sty.de.vu
-%% -- author-maintained in the sense of LPPL below --
-%%
-%% This file can be redistributed and/or modified under
-%% the terms of the LaTeX Project Public License; either
-%% version 1.3c of the License, or any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% There is NO WARRANTY (actually somewhat experimental).
-%%
-%% Please report bugs, problems, and suggestions via
-%%
-%% http://www.contact-ednotes.sty.de.vu
-%%
-%% == Usage ==
-%% === Installing and Calling ===
-%% The file `stacklet.sty' is provided ready,
-%% installation only requires
-%% putting it somewhere where \TeX\ finds it
-%% (which may need updating the filename data
-%% base).\urlfoot{ukfaqref}{inst-wlcf}
-%% However, the file `plainpkg.tex' must be installed likewise.
-%%
-%% \emph{With} \LaTeX, the file should be loaded by `\RequirePackage{stacklet}'
-%% or `\usepackage{stacklet}'.
-%%
-%% \emph{Without} \LaTeX, both `\input stacklet.sty' and
-%% `\input plainpkg' load `stacklet.sty'.
-%%
-%% === Commands and Syntax ===
-%% \label{sec:stacklet-cmds}
-%% 'stacklet.sty' provides
-%% \[|\PushCatMakeLetter\<char>|
-%% \quad \textit{and}\quad
-%% |\PopLetterCat\<char>|\]
-%% for getting ``private letters" and giving them back
-%% their previous category code
-%% in package files with or without \LaTeX.
-%% As \LaTeX\ has its own stack for `@', there are also
-%% \[|\PushCatMakeLetterAt|
-%% \quad \textit{and}\quad
-%% |\PopLetterCatAt|\]
-%% that care for `@''s category code \emph{without} \LaTeX\ only.
-%%
-%% == The Code ==
-%% === Name Space ===
-%% Each ``private letter" <char> gets its own stack,
-%% in some name space, determined by |\cat_stack|
-%% (`\withcsname' is from 'plainpkg.tex'):
-\withcsname\xdef cat_stack\endcsname{%
- \noexpand\string \withcsname\noexpand cat_stack\endcsname
- \noexpand\string}
-%% I.e., ?`cat_stack' will expand to
-%% \[?`string'\,?`cat_stack'\,?`string'\]
-%% in the notation of the \ctanpkgref{dowith} package.
-% \withcsname\show cat_stack\endcsname
-%%
-%% === Pushing ===
-%% |\PushCatMakeLetter\<char>| ...
-\xdef\PushCatMakeLetter#1{%
- \noexpand\withcsname
- \withcsname\noexpand pushcat_makeletter\endcsname
- \withcsname\noexpand cat_stack\endcsname#1\endcsname#1}
-% \show\PushCatMakeLetter
-\withcsname\gdef pushcat_makeletter\endcsname#1#2{%
-%% #1 is the stack token, #2 is the ``quoted" character. Pushing~...
- \xdef#1{\the\catcode`#2\relax%
-%% ... the new entry. `\relax' separates entries,
-%% braces instead tend to get lost in popping ...
-%% If the stack has existed before,
-%% its previous content is appended:
- \ifx#1\relax \else #1\fi}%
-%% I thought of storing `\catcode's hexadecimally (without braces)
-%% using \LaTeX's `\hexnumber', but the latter has so many tokens~...
-%% Finally rendering <char> a ``letter":
- \catcode`#211\relax}
-%% Now we can use a ``private letter stack" for our own package:
-\PushCatMakeLetter\_
-%%
-%% === Popping ===
-%% |\PopLetterCat\<char>| passes `\<char>', the corresponding
-%% stack token, and the latter's expansion to `\popcat_'.
-%% `\end' serves as argument delimiter for the end of the stack only:
-\gdef\PopLetterCat#1{%
- \expandafter\expandafter\expandafter
- \popcat_\csname\cat_stack#1\expandafter\endcsname
- \expandafter \end \csname\cat_stack#1\endcsname#1}
-%% `\popcat_' parses the expansion, assigns the old
-%% category code and and stores the reduced stack:
-\gdef\popcat_#1\relax#2\end#3#4{\catcode`#4#1\gdef#3{#2}}
-%% ... check existence? TODO
-%%
-%% === No `@' Stack with \LaTeX ===
-%% |\PushCatMakeLetterAt| is like `\PushCatMakeLetter\@'
-%% except that it has no effect under \LaTeX:
-\gdef\PushCatMakeLetterAt{\ifltx\else\PushCatMakeLetter\@\fi}
-%% |\PopLetterCatAt| by analogy ...
-\gdef\PopLetterCatAt{\ifltx\else\PopLetterCat\@\fi}
-%%
-%% === Leaving the Package File ===
-%% ... in our new way:
-\PopLetterCat\_
-\endinput
-%%
-%% === VERSION HISTORY ===
-
-v0.1 2012/08/24 started
- 2012/08/25 completed
- 2012/08/26 extending doc.; \def\withcsname removed
-v0.2 2012/08/26 \with_catstack containing \endcsname and with
- three popping macros replaced by \csname
- content \cat_stack, cf. memory.tex;
- restructured
- 2012/08/27 \PushCatMakeLetterAt fixed
-v0.3 2012/08/27 def.s global