texlive[64458] Master/texmf-dist: crumbs (21sep22)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 21 22:11:42 CEST 2022


Revision: 64458
          http://tug.org/svn/texlive?view=revision&revision=64458
Author:   karl
Date:     2022-09-21 22:11:41 +0200 (Wed, 21 Sep 2022)
Log Message:
-----------
crumbs (21sep22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf
    trunk/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
    trunk/Master/texmf-dist/tex/latex/crumbs/crumbs.sty

Modified: trunk/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/crumbs/crumbs.tex	2022-09-20 23:49:23 UTC (rev 64457)
+++ trunk/Master/texmf-dist/doc/latex/crumbs/crumbs.tex	2022-09-21 20:11:41 UTC (rev 64458)
@@ -1,6 +1,6 @@
 % (The MIT License)
 %
-% Copyright (c) 2021 Yegor Bugayenko
+% Copyright (c) 2021-2022 Yegor Bugayenko
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
 % of this software and associated documentation files (the 'Software'), to deal
@@ -42,7 +42,7 @@
 
 \title{\ff{crumbs}: \LaTeX{} Package \\ for Navigation Crumbs}
 \author{Yegor Bugayenko}
-\date{0.3.1 2021/09/13}
+\date{0.3.2 2022/09/21}
 
 \begin{document}
 \pagenumbering{gobble}

Modified: trunk/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/crumbs/crumbs.sty	2022-09-20 23:49:23 UTC (rev 64457)
+++ trunk/Master/texmf-dist/tex/latex/crumbs/crumbs.sty	2022-09-21 20:11:41 UTC (rev 64458)
@@ -1,6 +1,6 @@
 % (The MIT License)
 %
-% Copyright (c) 2021 Yegor Bugayenko
+% Copyright (c) 2021-2022 Yegor Bugayenko
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
 % of this software and associated documentation files (the 'Software'), to deal
@@ -21,7 +21,7 @@
 % SOFTWARE.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{crumbs}[2021/09/13 0.3.1 Navigation Crumbs]
+\ProvidesPackage{crumbs}[2022/09/21 0.3.2 Navigation Crumbs]
 
 \RequirePackage{xkeyval}
 \RequirePackage{etoolbox}
@@ -37,16 +37,16 @@
 % \makeatletter\newcommand\crumbs at percent{\@percentchar}\makeatother
 \RequirePackage{catchfile}
   \newwrite\appendwrite
-  \newcommand*\appendtofile[2]{%
+  \ExplSyntaxOn\cs_new:Npn\appendtofile#1#2{%
     \begingroup
     \IfFileExists{#1}%
       {\CatchFileDef{\filecontent}{#1}{\endlinechar=`^^J\catcode\endlinechar=12\relax}}% keep existing end-of-lines
       {\let\filecontent\empty}%
     \immediate\openout\appendwrite=#1\relax
-    \immediate\write\appendwrite{\unexpanded\expandafter{\filecontent} #2}%
+    \immediate\write\appendwrite{\unexpanded\expandafter{\filecontent} \text_purify:n{#2}}%
     \immediate\closeout\appendwrite
     \endgroup
-  }
+  }\ExplSyntaxOff
 
 \newcommand\subcrumbs{%
   \ifnum\value{section}=0\else%
@@ -61,9 +61,9 @@
   \ifx\crumbs\empty%
     \appendtofile{\jobname.crumbs}{%
       \crumbs at back ifx\crumbs at back crumbs\crumbs at back empty%
-        \crumbs at back gappto\crumbs at back crumbs{\crumbs at back setcounter{crumbi}{0}}%
+        \crumbs at back gappto\crumbs at back crumbs\{\crumbs at back setcounter\{crumbi\}\{0\}\}%
       \crumbs at back fi%
-      \crumbs at back gappto\crumbs at back crumbs{\crumbs at back stepcounter{crumbi}\crumbs at back crumb{\ifx\temp\empty #2\else #1\fi}{#2}}%
+      \crumbs at back gappto\crumbs at back crumbs\{\crumbs at back stepcounter\{crumbi\}\crumbs at back crumb{\ifx\temp\empty \{#2\}\else \{#1\}\fi}{\{#2\}}\}%
     }%
   \fi%
   \ifcrumbs at increment\stepcounter{section}\fi%
@@ -74,13 +74,13 @@
   \ifx\crumbs\empty%
     \appendtofile{\jobname.crumbs}{%
       \crumbs at back ifcsname crumbs\romannumeral\the\value{section}\crumbs at back endcsname\crumbs at back else
-        \crumbs at back expandafter\crumbs at back newcommand\crumbs at back csname crumbs\romannumeral\the\value{section}\crumbs at back endcsname{%
-          \crumbs at back setcounter{subcrumbi}{0}%
-        }%
+        \crumbs at back expandafter\crumbs at back newcommand\crumbs at back csname crumbs\romannumeral\the\value{section}\crumbs at back endcsname\{%
+          \crumbs at back setcounter\{subcrumbi\}\{0\}%
+        \}%
       \crumbs at back fi%
-      \crumbs at back expandafter\crumbs at back gappto\crumbs at back csname crumbs\romannumeral\the\value{section}\crumbs at back endcsname{%
-        \crumbs at back stepcounter{subcrumbi}%
-        \crumbs at back subcrumb{\ifx\temp\empty #2\else #1\fi}{#2}}%
+      \crumbs at back expandafter\crumbs at back gappto\crumbs at back csname crumbs\romannumeral\the\value{section}\crumbs at back endcsname\{%
+        \crumbs at back stepcounter\{subcrumbi\}%
+        \crumbs at back subcrumb{\ifx\temp\empty \{#2\}\else \{#1\}\fi}{\{#2\}}\}%
     }%
   \fi%
   \ifcrumbs at increment\stepcounter{subsection}\fi%



More information about the tex-live-commits mailing list.