summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/catcodes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-15 23:38:07 +0000
committerKarl Berry <karl@freefriends.org>2015-11-15 23:38:07 +0000
commitcfae7628da8ad99c5862a08581c2a2202651fdb1 (patch)
tree3f95117edcc59594eaacaefb3add87608afe7316 /Master/texmf-dist/source/generic/catcodes
parentf771dc12c829ca2d5e42481634c17e4b7911c11e (diff)
catcodes (15nov15)
git-svn-id: svn://tug.org/texlive/trunk@38859 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/catcodes')
-rw-r--r--Master/texmf-dist/source/generic/catcodes/catcodes.tex7
-rw-r--r--Master/texmf-dist/source/generic/catcodes/fdatechk.tex3
-rw-r--r--Master/texmf-dist/source/generic/catcodes/makedoc.cfg113
-rw-r--r--Master/texmf-dist/source/generic/catcodes/mdoccorr.cfg34
-rw-r--r--Master/texmf-dist/source/generic/catcodes/srcfiles.tex5
5 files changed, 113 insertions, 49 deletions
diff --git a/Master/texmf-dist/source/generic/catcodes/catcodes.tex b/Master/texmf-dist/source/generic/catcodes/catcodes.tex
index c88a5ea7625..cb3494d8802 100644
--- a/Master/texmf-dist/source/generic/catcodes/catcodes.tex
+++ b/Master/texmf-dist/source/generic/catcodes/catcodes.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{catcodes.tex}[2012/11/07 documenting catcodes files]
+\ProvidesFile{catcodes.tex}[2015/11/14 documenting catcodes files]
\title{\pkg{catcodes}\\---\\``Generic" Switching of Category Codes}
% \listfiles
{ \RequirePackage{makedoc} \ProcessLineMessage{}
@@ -10,6 +10,7 @@
\MakeSingleDoc{actcodes.sty} %% 2012/08/26
\MakeSingleDoc{catchdq.sty} %% 2012/09/16
}
+% \RequirePackage[ir]{inputtrc} %% 2015/11/14
\documentclass[fleqn]{article}%% TODO paper dimensions!?
\input{makedoc.cfg} %% shared formatting settings
% \ReadPackageInfos{stacklet}
@@ -197,3 +198,7 @@ VERSION HISTORY
`stacklet' and `actcodes', TODOs,
some \catchdqs, `Overview',
2 more \subsec...Intro...
+
+ UPLOADED with `catcodes' r0.1a 2012-11-07
+
+2015/11/14 for catchdq v0.21 debugging
diff --git a/Master/texmf-dist/source/generic/catcodes/fdatechk.tex b/Master/texmf-dist/source/generic/catcodes/fdatechk.tex
index c32d65998cc..74778a6acb1 100644
--- a/Master/texmf-dist/source/generic/catcodes/fdatechk.tex
+++ b/Master/texmf-dist/source/generic/catcodes/fdatechk.tex
@@ -1,4 +1,4 @@
-\ProvidesFile{fdatechk.tex}[2012/11/07 `filedate' checks]
+\ProvidesFile{fdatechk.tex}[2015/05/22 `filedate' checks]
%% TODO short notation
\UseReferenceDate{\thepdfmoddate}
\ModDates
@@ -11,5 +11,4 @@
\CheckDateOfGiven{catcodes.tex}
\CheckDateOfGiven{fdatechk.tex}
\CheckDateOfGiven{srcfiles.tex}
-\DatesDiffWarnings
\CheckDateOfToday{catcodes.RLS}
diff --git a/Master/texmf-dist/source/generic/catcodes/makedoc.cfg b/Master/texmf-dist/source/generic/catcodes/makedoc.cfg
index ea9293175e5..666c87706ec 100644
--- a/Master/texmf-dist/source/generic/catcodes/makedoc.cfg
+++ b/Master/texmf-dist/source/generic/catcodes/makedoc.cfg
@@ -1,21 +1,24 @@
-\ProvidesFile{makedoc.cfg}[2012/11/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}}
-
-%% hyperref:
+\ProvidesFile{makedoc.cfg}[{2013/03/25 documentation settings}]
+%%
+\author{Uwe L\"uck\thanks{%
+ \url{http://contact-ednotes.sty.de.vu}}}
+%%
+%% 'hyperref':
\RequirePackage{ifpdf}
\usepackage[%
\ifpdf
-% bookmarks=false, %% 2010/12/22
+% bookmarks=false, %% 2010/12/22
% bookmarksnumbered,
- bookmarksopen, %% 2011/01/24!?
- bookmarksopenlevel=2, %% 2011/01/23
+ bookmarksopen, %% 2011/01/24!?
+ bookmarksopenlevel=2, %% 2011/01/23
% pdfpagemode=UseNone,
% pdfstartpage=10,
-% pdfstartview=FitH,
- pdfstartview=0 0 100, %% 2011/08/22
- pdffitwindow=true, %% 2011/08/22
+ pdfstartview=FitH, %% 2012/11/26 again
+% pdfstartview=0 0 100, %% 2011/08/22
+% pdfstartview={XYZ null null 1}, %% 2011/08/25
+% pdfstartview={XYZ null null null},%% 2011/08/25
+% pdfstartview={XYZ null null .5}, %% 2011/08/26
+% pdffitwindow=true, %% 2011/08/22
citebordercolor={ .6 1 .6},
filebordercolor={1 .6 1},
linkbordercolor={1 .9 .7},
@@ -24,22 +27,30 @@
draft
\fi
]{hyperref}
-%% metadata, |\MDkeywords|, |\MDkeywordsstring|, |\printMDkeywords|
-%% 2011/08/22:
+\hypersetup{%
+ pdfauthor={Uwe L\374ck}%
+}
+%% metadata, |\MDkeywords{<text>}|, |\MDkeywordsstring|:
+%% %% 2011/08/22:
\makeatletter
\newcommand*{\MDkeywords}[1]{%
\gdef\MDkeywordsstring{#1}%
\hypersetup{pdfkeywords=\MDkeywordsstring}%% TODO!?
}
\@onlypreamble\MDkeywords
- \newcommand*{\MDaddtoabstract}[1]{% %% 2012/05/10
+%% |\MDaddtoabstract{<par-head>}|, `:' added:
+ \newcommand*{\MDaddtoabstract}[1]{% %% 2012/05/10
\par\smallskip\noindent
\strong{#1:}\quad\ignorespaces}
+%% \pagebreak[2]
+%% |\printMDkeywords|:
\newcommand*{\printMDkeywords}{%
\MDaddtoabstract{Keywords}%
\MDkeywordsstring
- \global\let\MDkeywordsstring\relax
+% \global\let\MDkeywordsstring\relax %% `%' 2012/11/12
}
+%% The previous definitions mainly are useful with a variant
+%% |\begin{MDabstract}| of \LaTeX's `{abstract}' environment:
\newenvironment{MDabstract}
{\abstract\noindent
\hspace{1sp}%% for niceverb
@@ -47,11 +58,26 @@
{\@ifundefined{MDkeywordsstring}%
{}%
{\printMDkeywords}%
+ \global\let\MDabstract\relax %% 2012/11/12
+ \global\let\endMDabstract\relax %% 2012/11/12
\endabstract}
+%% |\[MD]docnewline| 2012/11/12 from `readprov.tex':
+ \newcommand*{\MDdocnewline}{\leavevmode\@normalcr[\topsep]}
+%% <- `\leavevmode' for use with `\paragraph'.
+%% Sometimes needs to be preceded by a space.
+%%
+%% |\MDfinaldatechecks[<tex-script>]| with \ctanpkgref{filedate}:
+ \newcommand*{\MDfinaldatechecks}[1][fdatechk]{%
+ \AtEndDocument{%
+% \clearpage %% 2013/03/25 no avail -- with `filedate'!
+ \def\@pkgextension{sty}%
+ \def\NeedsTeXFormat##1[##2]{}%
+ \noNiceVerb %% 2013/03/22
+ \input{#1}%
+ }}
+ \@onlypreamble\MDfinaldatechecks
\makeatother
-\hypersetup{%
- pdfauthor={Uwe L\374ck}%
-}
+%% Use other packages:
\RequirePackage{niceverb}[2011/01/24]
\RequirePackage{readprov} %% 2010/12/08
\RequirePackage{hypertoc} %% 2011/01/23
@@ -59,14 +85,17 @@
\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>}|, |\qtdcode{<text>}|:
+\RequirePackage{filedate} %% 2012/11/12
+\RequirePackage{filesdo} %% 2013/03/22
+%% \pagebreak[3]
+%% Logical markup:\qquad |\strong{<chars>}|, |\meta{<chars>}|,
+%% |\acro{<chars>}|, |\pkg{<chars>}|,
+%% |\code{<chars>}|, |\file{<chars>}|:{\sloppy\par}
\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
@@ -77,19 +106,45 @@
\fi
%% TODO 2011/07/22 -> `htlogml.sty'
\makeatother
+%% |\qtdcode{<text>}|: 2012/10/24:
+ \newcommand*{\qtdcode}[1]{`\code{#1}'}
+%% |\pkgtitle{<package-name>}{<caption>}|
\newcommand*{\pkgtitle}[2]{% %% 2012/07/13
\global\let\pkgtitle\relax
\pkg{\huge #1}\\---\\#2\thanks{This
document describes version
\textcolor{blue}{\UseVersionOf{\jobname.sty}}
of \textsf{\jobname.sty} as of \UseDateOf{\jobname.sty}.}}
-\newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}}
-\newcommand*{\MDsampleinput}[1]{% %% 2012/11/06
- \par\bigskip\hrule\verbatiminput{#1}%
- \hrule\bigskip}
-
+%% TODO: %% |\TODO| bad with `mdoccorr.cfg'
+\newcommand*{\TODO}{\textcolor{blue}{\acro{TODO}}} %% 2012/11/06
+%% `\MDsampleinput[{<file>}' was added 2012/11/06.
+%% Problems with `myfilist.tex' were due to 'parskip.sty'
+%% there. On 2012/11/12, we change the former simple macro to a
+%% much more complex
+%% |\MDsamplecodeinput[<add-hfuss>]{<file>}|
+\newcommand*{\MDsamplecodeinput}[2][]{%
+ \begingroup
+ \vskip\bigskipamount \hrule
+ \nobreak\vskip-\parskip
+% \nobreak\vskip\medskipamount
+%% Previous mistake (same below) due to manual change
+%% of `\topsep' in the file `myfilist.tex' (2012/11/30).
+ \ifx\\#1\\\else
+ \hfuzz=\textwidth \advance\hfuzz#1\relax
+ \fi
+ \noNiceVerb \verbatiminput{#2}%
+% \nobreak\vskip\medskipamount
+ \hrule \vskip-\parskip
+ \bigskip %%% \bigbreak
+%% `\bigbreak' made much larger space in `myfilist.tex'.
+ \endgroup
+}
+%% |\ctanpkgdref{<pkg-id>}| adds the printed link to
+%% `ctan.org/pkg' as a footnote. There is a little space
+%% for coloured link borders:
+\newcommand*{\ctanpkgdref}[1]{%
+ \ctanpkgref{#1}\,\urlfoot{CtanPkgRef}{#1}}
\errorcontextlines=4
\pagestyle{headings}
-\endinput
-
+\endinput
diff --git a/Master/texmf-dist/source/generic/catcodes/mdoccorr.cfg b/Master/texmf-dist/source/generic/catcodes/mdoccorr.cfg
index 5914ea260bb..6a6a7012292 100644
--- a/Master/texmf-dist/source/generic/catcodes/mdoccorr.cfg
+++ b/Master/texmf-dist/source/generic/catcodes/mdoccorr.cfg
@@ -1,4 +1,4 @@
-\ProvidesFile{mdoccorr.cfg}[2012/11/07
+\ProvidesFile{mdoccorr.cfg}[2012/11/13
`makedoc' local typographical corrections]
%% ... also demonstrates 'niceverb.sty'---see the typeset
%% documentation of the present file in `makedoc.pdf'.
@@ -13,24 +13,25 @@
%% |\PrependExpandableAllReplacer*{<find>}{<subst>}|:
\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.\ } %% corr. 2010/03/23
+%% by a code line break.---Now we use |\do| as a shorthand:
+\renewcommand*{\do}{\PrependExpandableAllReplacer*}
+\do{Cf. }{Cf.\ } %% 2011/01/12
+\do{cf. }{cf.\ } %% corr. 2010/03/23
%% ... but think of `cf.~'. Don't leave `cf.' at code line end!
-\PrependExpandableAllReplacer*{->}{$\to$} %% 2010/11/06
-\PrependExpandableAllReplacer*{<-}{$\gets$} %% 2010/11/06
+\do{->}{$\to$} %% 2010/11/06
+\do{<-}{$\gets$} %% 2010/11/06
% \PrependExpandableAllReplacer{...}{...}{$\dots$}
%% Allow extra space at line end (bug fix `{}' 2011/12/03):
-\PrependExpandableAllReplacer*{...}{\textellipsis\unkern{}}
+\do{...}{\textellipsis\unkern{}}
%% 2011/10/13: original `\dots' correct before punctuation:
% \PrependExpandableAllReplacer{dots,}{...,}{\dots,}
-\PrependExpandableAllReplacer*{...)}{\dots)} %% 2011/10/25
-\PrependExpandableAllReplacer*{...:}{\dots:} %% 2012/11/07
-\PrependExpandableAllReplacer*{... }{\textellipsis\unkern\ }
-\PrependExpandableAllReplacer*{TODO}{\TODO{}}
-%% ... chain starts here, and here |\MakeDocCorrectHook| (silently)
-%% enters through a default variant |\SetCorrectHookJobLast|
-%% of |\SetCorrectHookJob{<id>}|:
+\do{...)}{\dots)} %% 2011/10/25
+\do{...:}{\dots:} %% 2012/11/07
+\do{... }{\textellipsis\unkern\ }
+\do{TODO}{\TODO{}}
+%% ... chain starts here, and here |\MakeDocCorrectHook|
+%% (silently) enters through a default variant
+%% |\SetCorrectHookJobLast| of |\SetCorrectHookJob{<id>}|:
\SetCorrectHookJobLast
%% |\ResetPatternCodes| resets `\PatternCodes' to their default
%% value (which is `\fdPatternCodes'):
@@ -47,7 +48,8 @@ HISTORY
2010/03/29 use \SetPatternCodes etc.
2010/11/06 <- and ->
2010/11/24 `...' ``symmetric variant" of `\textellipsis';
- \StartPrependingChain, no more \MakeExpandableAllreplacer
+ \StartPrependingChain, no more
+ \MakeExpandableAllreplacer
2011/01/27 blue "TODO"
2011/09/13 \providecommand for dialogues
2011/10/13 \MDtwodots, without \PXAR, `...,' `...:'
@@ -55,3 +57,5 @@ HISTORY
2011/11/13 \PrependExpandableAllReplacer*
2011/12/03 bug fix for 2011/10/25 at line ends
2012/11/07 TODO -> \TODO{}
+2012/11/12 using \do
+2012/11/13 shorter code lines
diff --git a/Master/texmf-dist/source/generic/catcodes/srcfiles.tex b/Master/texmf-dist/source/generic/catcodes/srcfiles.tex
index 13de4782983..170e77c41d3 100644
--- a/Master/texmf-dist/source/generic/catcodes/srcfiles.tex
+++ b/Master/texmf-dist/source/generic/catcodes/srcfiles.tex
@@ -1,7 +1,9 @@
-\ProvidesFile{srcfiles.tex}[2012/11/07 file infos -> SrcFILEs.txt]
+ \ProvidesFile{srcfiles.tex}[2015/11/14 file infos -> SrcFILEs.txt]
+%\ProvidesFile{srcfiles.tex}[2012/11/07 file infos -> SrcFILEs.txt]
\RequirePackage[r,wrap]{nicefilelist}
\RequirePackage{filedate}
\MaxBaseEmptyList* %%% [readprov.sty,myfilist.sty]
+\ReadFileInfos{catcodes.RLS}
%% packages:
\ReadPackageInfos{actcodes,catchdq,stacklet}
%% documentation:
@@ -10,7 +12,6 @@
% \ReadPackageInfos{fifinddo,makedoc,niceverb}
% \ReadFileInfos{makedoc.cfg,mdoccorr.cfg,srcfiles}
% \ReadFileInfos{srcfiles}
-\ReadFileInfos{catcodes.RLS}
% \FileListRemark[ -- ]{---USED.---}
\ReadFileInfos{makedoc.cfg,mdoccorr.cfg}
\NoStopListInfos[SrcFILEs.txt]