| 1 |
\def\filename{bitedemo.tex} \def\filedate{2012/03/29} |
| 2 |
\def\fileinfo{demonstrating/testing bitelist.sty (UL)} |
| 3 |
\expandafter\ifx\csname ProvidesPackage\endcsname\relax \else |
| 4 |
\edef\bitedemolatexstart{% |
| 5 |
\noexpand\ProvidesFile{\filename}% |
| 6 |
[\filedate\space\fileinfo]% |
| 7 |
\noexpand\RequirePackage{bitelist}} |
| 8 |
\expandafter\bitedemolatexstart |
| 9 |
\fi |
| 10 |
\ifx\BiteMakeIf\undefined \input bitelist.sty \fi |
| 11 |
\ifx\typeout\undefined |
| 12 |
\def\typeout{\immediate\write17} |
| 13 |
\newlinechar`^^J |
| 14 |
\fi |
| 15 |
\def\splitted #1#2#3{>>#1|#2|#3<<} |
| 16 |
\def\unsplitted#1{>>#1<<} |
| 17 |
\def\spacetocomma#1#2{>>#1,#2<<} |
| 18 |
\BiteMakeIfOnly {\def}{\occursyesno}{no} |
| 19 |
\BiteMakeIf {\def}{\noshowsplit}{no} |
| 20 |
\BiteMakeIfBraces{\def}{\noShowSplit}{no} |
| 21 |
\typeout{^^J |
| 22 |
\BiteFindByIn {no}{\occursyesno} |
| 23 |
{bonobo}{YES!}{NO!} |
| 24 |
\BiteFindByIn {no}{\noshowsplit} |
| 25 |
{bonobo}{bonobo}{\splitted}{\unsplitted} |
| 26 |
\BiteFindByInIn{no}{\noshowsplit} |
| 27 |
{bonobo}{\splitted}{\unsplitted} |
| 28 |
^^J |
| 29 |
\BiteFindByIn {no}{\occursyesno} |
| 30 |
{bobobo}{YES!}{NO!} |
| 31 |
\BiteFindByIn {no}{\noshowsplit} |
| 32 |
{bobobo}{bobobo}{\splitted}{\unsplitted} |
| 33 |
\BiteFindByInIn{no}{\noshowsplit} |
| 34 |
{bobobo}{\splitted}{\unsplitted} |
| 35 |
^^J |
| 36 |
\BiteFindByInBraces{no}{\noShowSplit} |
| 37 |
{{bo}no{bo}}{\splitted}{\unsplitted} |
| 38 |
^^J |
| 39 |
\BiteGetNextWord{bo no bo}{\spacetocomma}{\unsplitted} |
| 40 |
\BiteGetNextWord{bo nobo} {\spacetocomma}{\unsplitted} |
| 41 |
\BiteGetNextWord{bonobo} {\spacetocomma}{\unsplitted} |
| 42 |
^^J} |
| 43 |
\endinput |