From 004f3b9a898da969f640cecab1346df8c6118d78 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 10 Sep 2021 21:04:14 +0000 Subject: crumbs (10sep21) git-svn-id: svn://tug.org/texlive/trunk@60469 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/crumbs/crumbs.pdf | Bin 332623 -> 332452 bytes Master/texmf-dist/doc/latex/crumbs/crumbs.tex | 2 +- Master/texmf-dist/tex/latex/crumbs/crumbs.sty | 15 ++++++++++++--- 3 files changed, 13 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf b/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf index 51b6922ad51..f9e2892b643 100644 Binary files a/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf and b/Master/texmf-dist/doc/latex/crumbs/crumbs.pdf 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} -- cgit v1.2.3