diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/crumbs/crumbs.sty | 15 |
1 files changed, 12 insertions, 3 deletions
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} |