summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/crumbs/crumbs.pdfbin345354 -> 352858 bytes
-rw-r--r--Master/texmf-dist/doc/latex/crumbs/crumbs.tex4
-rw-r--r--Master/texmf-dist/tex/latex/crumbs/crumbs.sty26
3 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf b/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf
index 9be4929f903..9b063545759 100644
--- a/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf
+++ b/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/crumbs/crumbs.tex b/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
index 9ec5ca47e29..8a76e866e67 100644
--- a/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
+++ b/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
@@ -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}
diff --git a/Master/texmf-dist/tex/latex/crumbs/crumbs.sty b/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
index 8440f80ba58..dc35f811c21 100644
--- a/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
+++ b/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
@@ -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@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@back ifx\crumbs@back crumbs\crumbs@back empty%
- \crumbs@back gappto\crumbs@back crumbs{\crumbs@back setcounter{crumbi}{0}}%
+ \crumbs@back gappto\crumbs@back crumbs\{\crumbs@back setcounter\{crumbi\}\{0\}\}%
\crumbs@back fi%
- \crumbs@back gappto\crumbs@back crumbs{\crumbs@back stepcounter{crumbi}\crumbs@back crumb{\ifx\temp\empty #2\else #1\fi}{#2}}%
+ \crumbs@back gappto\crumbs@back crumbs\{\crumbs@back stepcounter\{crumbi\}\crumbs@back crumb{\ifx\temp\empty \{#2\}\else \{#1\}\fi}{\{#2\}}\}%
}%
\fi%
\ifcrumbs@increment\stepcounter{section}\fi%
@@ -74,13 +74,13 @@
\ifx\crumbs\empty%
\appendtofile{\jobname.crumbs}{%
\crumbs@back ifcsname crumbs\romannumeral\the\value{section}\crumbs@back endcsname\crumbs@back else
- \crumbs@back expandafter\crumbs@back newcommand\crumbs@back csname crumbs\romannumeral\the\value{section}\crumbs@back endcsname{%
- \crumbs@back setcounter{subcrumbi}{0}%
- }%
+ \crumbs@back expandafter\crumbs@back newcommand\crumbs@back csname crumbs\romannumeral\the\value{section}\crumbs@back endcsname\{%
+ \crumbs@back setcounter\{subcrumbi\}\{0\}%
+ \}%
\crumbs@back fi%
- \crumbs@back expandafter\crumbs@back gappto\crumbs@back csname crumbs\romannumeral\the\value{section}\crumbs@back endcsname{%
- \crumbs@back stepcounter{subcrumbi}%
- \crumbs@back subcrumb{\ifx\temp\empty #2\else #1\fi}{#2}}%
+ \crumbs@back expandafter\crumbs@back gappto\crumbs@back csname crumbs\romannumeral\the\value{section}\crumbs@back endcsname\{%
+ \crumbs@back stepcounter\{subcrumbi\}%
+ \crumbs@back subcrumb{\ifx\temp\empty \{#2\}\else \{#1\}\fi}{\{#2\}}\}%
}%
\fi%
\ifcrumbs@increment\stepcounter{subsection}\fi%