[latex3-commits] [latex3/latex2e] develop: numeric file counter for #1271 (#1274) (ab94e216)

github at latex-project.org github at latex-project.org
Tue Feb 13 13:37:01 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/ab94e2162cbc2dcf3133566e2b5e9cd222f0e2a7

>---------------------------------------------------------------

commit ab94e2162cbc2dcf3133566e2b5e9cd222f0e2a7
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Tue Feb 13 12:37:01 2024 +0000

    numeric file counter for #1271 (#1274)
    
    * numeric file counter for #1271
    
    * class date


>---------------------------------------------------------------

ab94e2162cbc2dcf3133566e2b5e9cd222f0e2a7
 base/doc/source2e.tex | 2 +-
 base/source2edoc.cls  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/base/doc/source2e.tex b/base/doc/source2e.tex
index 6b6256fe..fde71c8e 100644
--- a/base/doc/source2e.tex
+++ b/base/doc/source2e.tex
@@ -380,7 +380,7 @@ page_precedence "rnaA"
 \def\endash{--}
 \catcode`\-\active
 \def-{\futurelet\temp\indexdash}
-\def\indexdash{\ifx\temp-\endash\fi}
+\def\indexdash{\ifx\temp-\endash\else:\fi}
 
 \PrintIndex
 \endgroup
diff --git a/base/source2edoc.cls b/base/source2edoc.cls
index 097b286e..12afa47e 100644
--- a/base/source2edoc.cls
+++ b/base/source2edoc.cls
@@ -2,7 +2,7 @@
 % This class is buggy and needs fixing
 
 \ProvidesClass{source2edoc}
-              [2022/04/03 v0.2c Quick hack to typeset source2.tex
+              [2024/02/12 v0.2d Quick hack to typeset source2.tex
                (not usable for anything else and buggy -- will vanish again)!]
 
 
@@ -176,7 +176,7 @@
          dd%
          \else\@ctrerr\fi}
 \def\docincludeaux{%
-  \def\thepart{\aalph{part}}\def\filesep{\thepart-}%
+  \def\thepart{\ifnum\value{part}<10 0\fi\arabic{part}}\def\filesep{\thepart-}%
   \let\filekey\@gobble
   \g at addto@macro\index at prologue{%
     \gdef\@oddfoot{\parbox[t]{\textwidth}{\strut\footnotesize





More information about the latex3-commits mailing list.