summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-09-10 21:04:14 +0000
committerKarl Berry <karl@freefriends.org>2021-09-10 21:04:14 +0000
commit004f3b9a898da969f640cecab1346df8c6118d78 (patch)
tree9614d707ca41f9ccd6b6caea404b9789cee6dccc
parent4b79745423266a43faee6595620461d873704a1c (diff)
crumbs (10sep21)
git-svn-id: svn://tug.org/texlive/trunk@60469 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/crumbs/crumbs.pdfbin332623 -> 332452 bytes
-rw-r--r--Master/texmf-dist/doc/latex/crumbs/crumbs.tex2
-rw-r--r--Master/texmf-dist/tex/latex/crumbs/crumbs.sty15
3 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf b/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf
index 51b6922ad51..f9e2892b643 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 250be01c666..ce34e8c6503 100644
--- a/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
+++ b/Master/texmf-dist/doc/latex/crumbs/crumbs.tex
@@ -42,7 +42,7 @@
\title{\ff{crumbs}: \LaTeX{} Package \\ for Navigation Crumbs}
\author{Yegor Bugayenko}
-\date{0.2.1 2021/09/06}
+\date{0.2.2 2021/09/09}
\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 89126af2fb0..2b497078da6 100644
--- a/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
+++ b/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
@@ -21,7 +21,7 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{crumbs}[2021/09/06 0.2.1 Navigation Crumbs]
+\ProvidesPackage{crumbs}[2021/09/09 0.2.2 Navigation Crumbs]
\RequirePackage{etoolbox}
@@ -82,8 +82,17 @@
\crumbsoldsubsection{#2}
}
-\newcommand\crumb[2]{#1}
-\newcommand\subcrumb[2]{#1}
+\ifcsname crumb\endcsname
+ \message{The command "crumb" already defined}
+\else
+ \newcommand\crumb[2]{#1}
+\fi
+\ifcsname subcrumb\endcsname
+ \message{The command "crumb" already defined}
+\else
+ \newcommand\subcrumb[2]{#1}
+\fi
+
\newcommand*\crumbs{}
\newcounter{crumbi}
\newcounter{subcrumbi}