texlive[65973] branches/branch2022.final/Master/texmf-dist:
commits+karl at tug.org
commits+karl at tug.org
Mon Feb 20 21:51:38 CET 2023
Revision: 65973
http://tug.org/svn/texlive?view=revision&revision=65973
Author: karl
Date: 2023-02-20 21:51:38 +0100 (Mon, 20 Feb 2023)
Log Message:
-----------
crossrefenum (20feb23) (branch)
Modified Paths:
--------------
branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md
branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/README.md
branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.sty
branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.tex
branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/t-crossrefenum.tex
Modified: branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md 2023-02-20 20:51:26 UTC (rev 65972)
+++ branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/CHANGELOG.md 2023-02-20 20:51:38 UTC (rev 65973)
@@ -1,3 +1,7 @@
## Changes
### 2022/11/11: Version 1.0
+
+### 2023/02/20: Version 1.0.1
+
+`\crossrefenum` is now protected against early expansion.
Modified: branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/README.md
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/README.md 2023-02-20 20:51:26 UTC (rev 65972)
+++ branches/branch2022.final/Master/texmf-dist/doc/generic/crossrefenum/README.md 2023-02-20 20:51:38 UTC (rev 65973)
@@ -1,4 +1,4 @@
-# crossrefenum 2022/11/11 v1.0
+# crossrefenum 2023/02/20 v1.0.1
Smart typesetting of enumerated cross-references for various TeX formats.
@@ -38,7 +38,7 @@
* `crossrefenum.md`: _Markdown source of the user guide to be typeset with Pandoc._
* `crossrefenum.pdf`: _User guide typeset with ConTeXt._
* `fixes.lua`: _Lua filter to be used with Pandoc for some typographic improvements._
- * `LICENSE_FLD_1-3.md`: _GNU Free Documentation License_
+ * `LICENSE_FDL_1-3.md`: _GNU Free Documentation License_
* `Makefile`: _Provides the target `crossrefenum.pdf` with the required instructions for Pandoc_
* `TEMPLATE_crossrefenum.context`: _Template to be used with Pandoc._
* `test/`:
Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.sty
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.sty 2023-02-20 20:51:26 UTC (rev 65972)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.sty 2023-02-20 20:51:38 UTC (rev 65973)
@@ -1,3 +1,6 @@
+% This file cannot be loaded in main-test.tex for it would load the version of crossrefenum.tex
+% installed in the texmf tree.
+% As a consequence, it should not be changed to correct bugs or implement new features.
\input crossrefenum.tex
\ProvidesPackage{crossrefenum}[\crfnmDate{} v\crfnmVersion{} Enumeration of cross-references]
\endinput
\ No newline at end of file
Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.tex
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.tex 2023-02-20 20:51:26 UTC (rev 65972)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/crossrefenum.tex 2023-02-20 20:51:38 UTC (rev 65973)
@@ -2,8 +2,8 @@
\def\crfnmName{crossrefenum}
\def\crfnmShortDesc{Smart typesetting of enumerated cross-references for various TeX formats}
\def\crfnmAuthor{Bastien Dumont}
-\def\crfnmDate{2022/11/11}
-\def\crfnmVersion{0.1}
+\def\crfnmDate{2023/02/20}
+\def\crfnmVersion{1.0.1}
%
% Copyright 2022 by Bastien Dumont (bastien.dumont at posteo.net)
%
@@ -524,6 +524,15 @@
%%% \crossrefenum: Public macro with optional arguments %%%
+\crfnm at case[\fmtname]
+ \crfnm at context: {
+ \unexpanded\def\crossrefenum{\crfnm at crossrefenum}
+ }
+ \crfnm at latex: {
+ \protected\def\crossrefenum{\crfnm at crossrefenum}
+ }
+\crfnm at endCases
+
% \crossrefenum has two optional arguments.
% See the definition of \crfnm at enum below for the recognized values.
@@ -530,7 +539,7 @@
\def\crfnm at firstArg@default{page}
\def\crfnm at secondArg@default{withprefix}
-\def\crossrefenum{%
+\def\crfnm at crossrefenum{%
\futurelet\crfnm at nextToken\crfnm at setEnumMacro
}
Modified: branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/t-crossrefenum.tex
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/t-crossrefenum.tex 2023-02-20 20:51:26 UTC (rev 65972)
+++ branches/branch2022.final/Master/texmf-dist/tex/generic/crossrefenum/t-crossrefenum.tex 2023-02-20 20:51:38 UTC (rev 65973)
@@ -9,10 +9,14 @@
%D copyright=Bastien Dumont,
%D license=GNU Public License v. 3.0 or higher]
+% This file cannot be loaded in main-test.tex for it would load the version of crossrefenum.tex
+% installed in the texmf tree.
+% As a consequence, it should not be changed to correct bugs or implement new features.
+
\startmodule[crossrefenum]
\unprotect
-\input ../crossrefenum.tex
+\input crossrefenum.tex
\protect
\stopmodule
\ No newline at end of file
More information about the tex-live-commits
mailing list.