diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-07 22:28:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-07 22:28:21 +0000 |
commit | 8aa5538f3f0ea3c56b966e3f0f16c99ac9ea6f56 (patch) | |
tree | 71142b68bda61314409489aa3826cb7670b1134d /Master/texmf-dist/tex/generic | |
parent | 6e6054fa1adb4750af84fd39f842f5a4d6c391e5 (diff) |
gobble (7may16)
git-svn-id: svn://tug.org/texlive/trunk@40936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/gobble/gobble.tex | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/gobble/gobble.tex b/Master/texmf-dist/tex/generic/gobble/gobble.tex new file mode 100644 index 00000000000..723fd4992db --- /dev/null +++ b/Master/texmf-dist/tex/generic/gobble/gobble.tex @@ -0,0 +1,61 @@ +\expandafter\ifx\csname gobble.tex loaded\endcsname\relax + \expandafter\def\csname gobble.tex loaded\endcsname{1}% +\else + \expandafter\endinput +\fi +\expandafter\edef\csname gobbletex@catcode\endcsname{% + \catcode`\noexpand\@=\the\catcode`\@% +}% +\catcode`\@=11 +\long\def\@gobble#1{}% +\long\def\@gobbletwo#1#2{}% +\long\def\@gobblethree#1#2#3{}% +\long\def\@gobblefour#1#2#3#4{}% +\long\def\@gobbleopt{% + \@ifnextchar[% + {\@gobbleopt@}% + {}% +}% +\def\@gobbleopt@[#1]{}% +\long\def\@gobbletwoopt{% + \@ifnextchar[% + {\@gobbletwoopt@}% + {}% +}% +\def\@gobbletwoopt@[#1]{\@gobbleopt}% +\long\def\@gobbleallopt{% + \@ifnextchar[% + {\@gobbleallopt@}% + {}% +}% +\long\def\@gobbleallopt@[#1]{% + \@ifnextchar[% + {\@gobbleallopt@}% + {}% +}% +\long\def\@gobbletwoopttwo{% + \@ifnextchar[% + {\@gobbletwoopttwo@}% + {\@gobbletwo}% +}% +\long\def\@gobbletwoopttwo@[#1]{% + \@ifnextchar[% + {\@gobbletwoopttwo@@}% + {\@gobbletwo}% +}% +\long\def\@gobbletwoopttwo@@[#1]{% + \@gobbletwo +}% +\long\def\@firstofone#1{#1}% +\long\def\@firstoftwo#1#2{#1}% +\long\def\@secondoftwo#1#2{#2}% +\long\def\@firstofthree#1#2#3{#1}% +\long\def\@secondofthree#1#2#3{#2}% +\long\def\@thirdofthree#1#2#3{#3}% +\long\def\@gobbletofi#1#2\fi{\fi#1}% +\long\def\@gobbletoelse#1#2\else{\else#1}% +\long\def\@gobbletoor#1#2\or{\or#1}% +\gobbletex@catcode +\endinput +%% +%% End of file `gobble.tex'. |