texlive[68982] Master/texmf-dist: catoptions (27nov23)
commits+karl at tug.org
commits+karl at tug.org
Mon Nov 27 21:40:24 CET 2023
Revision: 68982
https://tug.org/svn/texlive?view=revision&revision=68982
Author: karl
Date: 2023-11-27 21:40:24 +0100 (Mon, 27 Nov 2023)
Log Message:
-----------
catoptions (27nov23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/catoptions/catoptions-guide.tex
trunk/Master/texmf-dist/tex/latex/catoptions/catoptions.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/catoptions/README.md
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/catoptions/README
Deleted: trunk/Master/texmf-dist/doc/latex/catoptions/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/catoptions/README 2023-11-27 20:40:11 UTC (rev 68981)
+++ trunk/Master/texmf-dist/doc/latex/catoptions/README 2023-11-27 20:40:24 UTC (rev 68982)
@@ -1,47 +0,0 @@
-This is the README file for the 'catoptions' package.
-
-VERSION
-
-Version 0.2.7h, 2014/08/29
-
-LOCATION ON CTAN
-
-macros/latex/contrib/catoptions
-
-SUMMARY
-
-The 'catoptions' package changes package loading internals so
-that all subsequently loaded packages can rely on normal/standard
-catcodes of all ASCII characters. The package defines canonical
-control sequences to represent all the visible ASCII characters.
-It also provides robust options parsing mechanisms, in addition
-to many TeX programming tools.
-
-LICENSE
-
-The 'catoptions' package may be distributed and/or modified under
-the conditions of the LaTeX Project Public License, either
-version 1.3 of this license or any later version. The latest
-version of this license is in http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of LaTeX
-version 2005/12/01 or later.
-
-The LPPL maintenance status of this software is 'author-maintained'.
-
-This software is provided 'as it is', without warranty of any kind,
-either expressed or implied, including, but not limited to, the
-implied warranties of merchantability and fitness for a particular
-purpose.
-
-AUTHOR
-
-Ahmed Musa
-
-RELATED PACKAGES
-
-The catcode section of the 'catoptions' package is an extension of
-the 'pcatcode' package by Michael J. Downes and David M. Jones.
-
-
-
-
Added: trunk/Master/texmf-dist/doc/latex/catoptions/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/catoptions/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/catoptions/README.md 2023-11-27 20:40:24 UTC (rev 68982)
@@ -0,0 +1,47 @@
+This is the README file for the 'catoptions' package.
+
+VERSION
+
+Version 0.2.7i, 2023/10/29
+
+LOCATION ON CTAN
+
+macros/latex/contrib/catoptions
+
+SUMMARY
+
+The 'catoptions' package changes package loading internals so
+that all subsequently loaded packages can rely on normal/standard
+catcodes of all ASCII characters. The package defines canonical
+control sequences to represent all the visible ASCII characters.
+It also provides robust options parsing mechanisms, in addition
+to many TeX programming tools.
+
+LICENSE
+
+The 'catoptions' package may be distributed and/or modified under
+the conditions of the LaTeX Project Public License, either
+version 1.3 of this license or any later version. The latest
+version of this license is in http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+The LPPL maintenance status of this software is 'author-maintained'.
+
+This software is provided 'as it is', without warranty of any kind,
+either expressed or implied, including, but not limited to, the
+implied warranties of merchantability and fitness for a particular
+purpose.
+
+AUTHOR
+
+Ahmed Musa
+
+RELATED PACKAGES
+
+The catcode section of the 'catoptions' package is an extension of
+the 'pcatcode' package by Michael J. Downes and David M. Jones.
+
+
+
+
Property changes on: trunk/Master/texmf-dist/doc/latex/catoptions/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/catoptions/catoptions-guide.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/catoptions/catoptions-guide.tex 2023-11-27 20:40:11 UTC (rev 68981)
+++ trunk/Master/texmf-dist/doc/latex/catoptions/catoptions-guide.tex 2023-11-27 20:40:24 UTC (rev 68982)
@@ -1031,6 +1031,9 @@
The following change history highlights significant changes that affect user utilities and interfaces; mutations of technical nature are not documented in this section. The numbers on the right-hand side of the following lists are section numbers; the \stsign means the subject features in the package but is not reflected anywhere in this user guide.
\begin{versionhist}
+ \begin{version}{0.2.7i}{2023/10/29}
+ \item Adjust for current \LaTeX\ (DPC).
+ \end{version}
\begin{version}{0.2.7f}{2012/11/17}
\item Bug fix in \fx{\cptonlypreamble}.\vsecref*
\end{version}
Modified: trunk/Master/texmf-dist/tex/latex/catoptions/catoptions.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/catoptions/catoptions.sty 2023-11-27 20:40:11 UTC (rev 68981)
+++ trunk/Master/texmf-dist/tex/latex/catoptions/catoptions.sty 2023-11-27 20:40:24 UTC (rev 68982)
@@ -1,5 +1,5 @@
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
-% This is 'catoptions' package, version 0.2.7h, 2014/08/29. %
+% This is 'catoptions' package, version 0.2.7i, 2023/10/29. %
% %
% The catoptions package changes LaTeX package loading internals %
% so that all subsequently loaded packages can rely on having %
@@ -21,6 +21,7 @@
% The LPPL maintenance status of this software is 'author-maintained'. %
% %
% Copyright (c) 2010-2012 Ahmed Musa (amusa22 at gmail.com). %
+% Copyright (c) 2023 Ahmed Musa (amusa22 at gmail.com), David Carlisle%
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%
\begingroup
@@ -120,8 +121,10 @@
\@ifdefinable\z at pt{\newdimen\z at pt\z at pt\z@}
\chardef\active=13
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
+%% DPC
\ProvidesPackage{catoptions}
- [2014/08/29 v0.2.7h Securing catcodes and parsing options (AM)]
+ [2023/10/29 v0.2.7i Securing catcodes and parsing options (AM)]
+%% END CHANGE
\ifcase%
\ifx\eTeXversion\cpt at undefined\z at pt\else
\ifnum\eTeXversion<\tw@\z at pt\else\@ne\fi\fi
@@ -129,6 +132,17 @@
{This package requires eTeX version 2 or higher.}%
\expandafter\endinput
\fi
+%% DPC
+%%% New latex option handler is definined
+\ifx\ProcessKeyOptions\@undefined\else
+\PackageWarningNoLine{catoptions}
+ {\MessageBreak catoptions modifies package option handling and is%
+ \MessageBreak incompatible with many other packages.%
+ \MessageBreak For new documents it is recommended to use%
+ \MessageBreak The built in option processor:%
+ \MessageBreak \string\ProcessKeyOptions, see clsguide}
+\fi
+%% END CHANGE
\protected\def\cptloggingall{%
\tracinggroups\@ne\tracingifs\@ne\tracingall\tracingassigns\@ne
}
@@ -4341,6 +4355,9 @@
}
\robust at def*\BeforeStartOfDocument{\grightaddtocs\cpt at beforestartdoc}
\new at def*\cpt at beforestartdoc{}
+%% DPC
+%% since hooks were added \document does not need grouping adjustment
+\ifx \UseOneTimeHook \@undefined
\gleftaddtocs\document{%
\endgroup
\let\BeforeStartOfDocument\@firstofone
@@ -4350,6 +4367,18 @@
\gdef\cpt at docstarted{}%
\begingroup
}
+\else
+\gleftaddtocs\document{%
+% \endgroup
+ \let\BeforeStartOfDocument\@firstofone
+ \cpt at beforestartdoc
+ \let\BeforeStartOfDocument\@notprerr
+ \gundefcs\cpt at beforestartdoc
+ \gdef\cpt at docstarted{}%
+% \begingroup
+}
+\fi
+%% END CHANGE
\robust at def*\AfterStartOfDocument{\grightaddtocs\cpt at afterstartdoc}
\new at def*\cpt at afterstartdoc{}
\robust at def*\AfterAfterStartOfDocument#1{%
More information about the tex-live-commits
mailing list.