| 1 |
% $Id: test-pdfmatch.tex 759 2016-06-12 18:11:28Z karl $ |
| 2 |
% This file public domain. Bug report of \pdflastmatch crash: |
| 3 |
% http://tug.org/pipermail/tex-live/2016-June/038664.html |
| 4 |
% |
| 5 |
\catcode`\{=1 \catcode`\}=2 \catcode`^=7 \newlinechar=`^^J |
| 6 |
% |
| 7 |
\message{^^Jpdflastmatch0 before any match: \pdflastmatch0} |
| 8 |
\message{^^J}% |
| 9 |
% |
| 10 |
\message{^^Jmatch a to b: \pdfmatch{a}{b}} |
| 11 |
\message{^^J}% |
| 12 |
\message{pdflastmatch0: \pdflastmatch0} |
| 13 |
\message{^^J}% |
| 14 |
% |
| 15 |
\message{^^Jmatch example: \pdfmatch subcount 3 {ab(cd)*ef(gh)(ij)}{abefghij}} |
| 16 |
\message{^^J}% |
| 17 |
\message{pdflastmatch0 (0->abefghij): \pdflastmatch0 ^^J} |
| 18 |
\message{pdflastmatch1 (-1->): \pdflastmatch1 ^^J} |
| 19 |
\message{pdflastmatch2 (4->gh): \pdflastmatch2 ^^J} |
| 20 |
\message{pdflastmatch3 (-1->): \pdflastmatch3} |
| 21 |
\message{^^J}% |
| 22 |
\end |