summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-03 20:28:21 +0000
committerKarl Berry <karl@freefriends.org>2022-10-03 20:28:21 +0000
commite7b7ed25d268bc14a9f361700c3974a77b696b5a (patch)
tree95f33f86f02c12dea1b68ee06a702facaac03542 /Master/texmf-dist/tex/latex
parentdf1626bce3096a07014893241d417fde7df28ee7 (diff)
crumbs (3oct22)
git-svn-id: svn://tug.org/texlive/trunk@64593 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/crumbs/crumbs.sty76
1 files changed, 51 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/crumbs/crumbs.sty b/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
index dc35f811c21..c5e1b5a45b6 100644
--- a/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
+++ b/Master/texmf-dist/tex/latex/crumbs/crumbs.sty
@@ -1,40 +1,61 @@
-% (The MIT License)
-%
-% 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
-% in the Software without restriction, including without limitation the rights
-% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-% copies of the Software, and to permit persons to whom the Software is
-% furnished to do so, subject to the following conditions:
-%
-% The above copyright notice and this permission notice shall be included in all
-% copies or substantial portions of the Software.
-%
-% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-% SOFTWARE.
+%%
+%% This is file `crumbs.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% crumbs.dtx (with options: `package')
+%% (The MIT License)
+%%
+%% 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
+%% in the Software without restriction, including without limitation the rights
+%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+%% copies of the Software, and to permit persons to whom the Software is
+%% furnished to do so, subject to the following conditions:
+%%
+%% The above copyright notice and this permission notice shall be included in all
+%% copies or substantial portions of the Software.
+%%
+%% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+%% SOFTWARE.
+
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{crumbs}[2022/09/21 0.3.2 Navigation Crumbs]
+\ProvidesPackage{crumbs}
+[2022-10-03 0.4.1 Inputable Shell Executions]
+
+
+
+
+
+
+
+
+
+
+
+
+
\RequirePackage{xkeyval}
\RequirePackage{etoolbox}
-
\makeatletter\newif\ifcrumbs@dry\makeatother
\makeatletter\DeclareOption{dry}{\crumbs@drytrue}\makeatother
\makeatletter\newif\ifcrumbs@increment\makeatother
\makeatletter\DeclareOption{increment}{\crumbs@incrementtrue}\makeatother
\ProcessOptions\relax
-% see https://tex.stackexchange.com/a/12414/1449
\makeatletter\newcommand\crumbs@back{\@backslashchar}\makeatother
-% \makeatletter\newcommand\crumbs@percent{\@percentchar}\makeatother
+
\RequirePackage{catchfile}
\newwrite\appendwrite
\ExplSyntaxOn\cs_new:Npn\appendtofile#1#2{%
@@ -106,6 +127,7 @@
\else%
\newcommand\crumb[2]{#1}%
\fi%
+
\ifcsname subcrumb\endcsname%
\message{The command "subcrumb" is already defined}%
\else%
@@ -115,6 +137,10 @@
\newcommand*\crumbs{}
\newcounter{crumbi}
\newcounter{subcrumbi}
+
\AtBeginDocument{\IfFileExists{\jobname.crumbs}{\input{\jobname.crumbs}}{}}
+
\endinput
+%%
+%% End of file `crumbs.sty'.