diff options
author | Norbert Preining <norbert@preining.info> | 2022-05-20 03:01:51 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-05-20 03:01:51 +0000 |
commit | 33fe673e1a4a678f76e23a91da0f449998af9c47 (patch) | |
tree | 54a9486c6ec7621c31e33af6e6f111666585b56a /macros/latex-dev/base/source2edoc.cls | |
parent | 049d8c10a2be69e330d26efa5116b5ec451b8eab (diff) |
CTAN sync 202205200301
Diffstat (limited to 'macros/latex-dev/base/source2edoc.cls')
-rw-r--r-- | macros/latex-dev/base/source2edoc.cls | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/macros/latex-dev/base/source2edoc.cls b/macros/latex-dev/base/source2edoc.cls index b17c4c52b1..f0f1479cac 100644 --- a/macros/latex-dev/base/source2edoc.cls +++ b/macros/latex-dev/base/source2edoc.cls @@ -2,7 +2,7 @@ % This class is buggy and needs fixing \ProvidesClass{source2edoc} - [2021/01/14 v0.2b Quick hack to typeset source2.tex + [2022/04/03 v0.2c Quick hack to typeset source2.tex (not usable for anything else and buggy -- will vanish again)!] @@ -171,7 +171,10 @@ t\or u\or v\or w\or x\or y\or z\or A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or W\or - X\or Y\or Z\else\@ctrerr\fi} + X\or Y\or Z\or + aa\or bb\or cc\or % we are getting definitely too many modules + dd% + \else\@ctrerr\fi} \def\docincludeaux{% \def\thepart{\aalph{part}}\def\filesep{\thepart-}% \let\filekey\@gobble @@ -295,6 +298,11 @@ Bug reports can be opened (category \texttt{#1}) at\\% \fi}% \endgroup% + +% don't run tocs when they are in some module files +\AddToHook{cmd/tableofcontents/after}{\global\let\tableofcontents\relax} + + \InputIfFileExists{ltxdoc.cfg} {\typeout{*************************************^^J% * Local config file ltxdoc.cfg used^^J% @@ -302,6 +310,7 @@ Bug reports can be opened (category \texttt{#1}) at\\% {} + \errorstopmode \batchmode |