diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/generic/bitelist/bitedemo.tex |
Initial commit
Diffstat (limited to 'macros/generic/bitelist/bitedemo.tex')
-rw-r--r-- | macros/generic/bitelist/bitedemo.tex | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/generic/bitelist/bitedemo.tex b/macros/generic/bitelist/bitedemo.tex new file mode 100644 index 0000000000..6c4f9ed103 --- /dev/null +++ b/macros/generic/bitelist/bitedemo.tex @@ -0,0 +1,43 @@ +\def\filename{bitedemo.tex} \def\filedate{2012/03/29} +\def\fileinfo{demonstrating/testing bitelist.sty (UL)} +\expandafter\ifx\csname ProvidesPackage\endcsname\relax \else + \edef\bitedemolatexstart{% + \noexpand\ProvidesFile{\filename}% + [\filedate\space\fileinfo]% + \noexpand\RequirePackage{bitelist}} + \expandafter\bitedemolatexstart +\fi +\ifx\BiteMakeIf\undefined \input bitelist.sty \fi +\ifx\typeout\undefined + \def\typeout{\immediate\write17} + \newlinechar`^^J +\fi +\def\splitted #1#2#3{>>#1|#2|#3<<} +\def\unsplitted#1{>>#1<<} +\def\spacetocomma#1#2{>>#1,#2<<} +\BiteMakeIfOnly {\def}{\occursyesno}{no} +\BiteMakeIf {\def}{\noshowsplit}{no} +\BiteMakeIfBraces{\def}{\noShowSplit}{no} +\typeout{^^J + \BiteFindByIn {no}{\occursyesno} + {bonobo}{YES!}{NO!} + \BiteFindByIn {no}{\noshowsplit} + {bonobo}{bonobo}{\splitted}{\unsplitted} + \BiteFindByInIn{no}{\noshowsplit} + {bonobo}{\splitted}{\unsplitted} + ^^J + \BiteFindByIn {no}{\occursyesno} + {bobobo}{YES!}{NO!} + \BiteFindByIn {no}{\noshowsplit} + {bobobo}{bobobo}{\splitted}{\unsplitted} + \BiteFindByInIn{no}{\noshowsplit} + {bobobo}{\splitted}{\unsplitted} + ^^J + \BiteFindByInBraces{no}{\noShowSplit} + {{bo}no{bo}}{\splitted}{\unsplitted} + ^^J + \BiteGetNextWord{bo no bo}{\spacetocomma}{\unsplitted} + \BiteGetNextWord{bo nobo} {\spacetocomma}{\unsplitted} + \BiteGetNextWord{bonobo} {\spacetocomma}{\unsplitted} + ^^J} +\endinput |