diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
180 files changed, 5893 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf Binary files differindex 721c61b3c8f..96aee65f46f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf Binary files differindex 64d2075f792..847437e47c6 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf Binary files differindex 5ecde69c044..db4f715e69b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf b/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf Binary files differnew file mode 100644 index 00000000000..3bfa25fb7ba --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/askinclude.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf b/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf Binary files differindex 4b0ca47d8db..3bc4a89467b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf b/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf Binary files differindex 8bb1df67130..d41d9b87320 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf Binary files differindex 436d28e819e..316109d98a3 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf Binary files differindex c22e69a0bde..be1185922f7 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf b/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf Binary files differindex 7bd2d03728a..33114cb08cf 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/bigintcalc.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf b/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf Binary files differindex 63d66e5ca3b..a9be5f8f4ca 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/bitset.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf Binary files differindex 1682862d0e4..8c2c93e3428 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf b/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf Binary files differindex bd3871ea352..08eb9cb3b76 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf Binary files differindex 358a40fb0b6..96cadd98563 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/catchfile.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf Binary files differindex 70a386e60db..9471da6676e 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf Binary files differindex 2b54bf53e66..26a9a9a7ca9 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf Binary files differindex 7e89d712854..3c775457710 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf Binary files differindex 5afe5c47c2d..5b3c5a5d250 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf Binary files differindex a7b397aae97..e4bbdc94016 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf Binary files differindex 096ba1907f9..91d2587b96c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf Binary files differindex 58cca6539f6..07a1e190bee 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf Binary files differindex e0ddff965a1..09ad35cbc51 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf b/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf Binary files differindex 8bc0f6bc822..0638fc97f58 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/etexcmds.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/example-mycolorsetup.sty b/Master/texmf-dist/doc/latex/oberdiek/example-mycolorsetup.sty index 25a123d91d7..e3226af813f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/example-mycolorsetup.sty +++ b/Master/texmf-dist/doc/latex/oberdiek/example-mycolorsetup.sty @@ -26,7 +26,8 @@ %% This work consists of the main source file kvoptions.dtx %% and the derived files %% kvoptions.sty, kvoptions.pdf, kvoptions.ins, kvoptions.drv, -%% example-mycolorsetup.sty, kvoptions-test1.tex. +%% kvoptions-patch.sty, example-mycolorsetup.sty, +%% kvoptions-test1.tex, kvoptions-test2.tex. %% %% No we don't need the option 'color'. %% With color support option 'emphcolor' will dynamically @@ -34,7 +35,7 @@ % Package identification % ----------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{example-mycolorsetup}[2007/10/02 Managing my colors] +\ProvidesPackage{example-mycolorsetup}[2007/10/18 Managing my colors] \RequirePackage{ifpdf} \RequirePackage{kvoptions} diff --git a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf Binary files differindex 8f4f4c5bcf4..447294ab02e 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf b/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf Binary files differindex cbbc935c8e7..fef247f8647 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/grfext.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf Binary files differindex 6fcc0b72d3d..3c6ac71fb6d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf Binary files differindex f25036ee563..b5535654df1 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf b/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf Binary files differindex fd2b832c00c..18575c6806e 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf Binary files differindex 05602d321d4..2f4c3d5733a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf Binary files differindex 35d7632dfff..28b4112f475 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf Binary files differindex 43e229a83fd..064373b543d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf Binary files differindex 7fa447c6033..8159a04b16f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf Binary files differindex ade2cd5a7e3..5a5033dc98e 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf Binary files differindex df6371bf6ab..2cee8b55b79 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf Binary files differindex 6b5ad56372d..b86dc46c057 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf Binary files differindex 580daf5cb9c..0ba795255a4 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf b/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf Binary files differindex 3821ac1eda9..152b1ad19ea 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf Binary files differindex 9203ca9e90e..4819112008f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf b/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf Binary files differindex 161a3b40d2b..ae7011ac1d8 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/intcalc.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf Binary files differindex 89e71b5133b..309d829ad1f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf Binary files differindex f4110fab0cf..711400f7c53 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf b/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf Binary files differnew file mode 100644 index 00000000000..a81a970745f --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/listingsutf8.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf Binary files differindex 413c98d4b42..f92b08b69a0 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf Binary files differindex c4df5f6495a..408ac3d03b2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf Binary files differindex 806c3dda08b..fc68191e124 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf Binary files differindex f3d4f4c5628..0f697e5d768 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcol.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf Binary files differindex 77fc0928449..c1488a5a0f8 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf Binary files differindex b16a1b630ba..e70f1bc2e9a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf Binary files differindex a1334f403a8..8ba05147a63 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf Binary files differindex a3d9de705ec..6e61b32bc89 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf Binary files differindex 8a2084591b2..3263af07489 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf Binary files differindex d2b50f80033..8380073a962 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf Binary files differindex 1dd1bf2072a..c19016917fb 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf Binary files differindex 10c07b6e977..f6d0496a84c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf Binary files differindex 6444b6f8ea0..3d65c6d0136 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf Binary files differindex 8e0f11e5705..40a9b16a091 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf b/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf Binary files differindex aa83acad4ca..dedd6534667 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/selinput.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf Binary files differindex 37dbbe7249c..2985dd02230 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf Binary files differindex cc2a25a8a01..5796a29d12a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf b/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf Binary files differindex 43de362e3c2..f65519bacc7 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/soulutf8.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf Binary files differindex f8fffdf3a11..70225341dd2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf b/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf Binary files differindex b07bf55f954..97a03927bb1 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/stringenc.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf Binary files differindex 4d27a653e9a..d0305942618 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf Binary files differindex 1f490de7b75..fa2c8fee54b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf Binary files differindex b36039cf50c..1212f76fbb2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/ExtractRotate.java b/Master/texmf-dist/doc/latex/oberdiek/test/ExtractRotate.java new file mode 100644 index 00000000000..c65ee28a2df --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/ExtractRotate.java @@ -0,0 +1,48 @@ +/** + * ExtractRotate.java + * + * Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> + * + * Requires: PDFBox (http://www.pdfbox.org/) + * + * Syntax: java ExtractRotate <pdffile> <textfile> + * + * The <pdffile> is analyzed and for each page its rotation + * setting is printed in the <textfile>. Example: + * /Page 1 /Rotate 0 + * /Page 2 /Rotate 90 + */ +import java.io.FileInputStream; +import java.io.FileWriter; +import org.pdfbox.pdfparser.PDFParser; +import org.pdfbox.pdmodel.PDDocument; +import org.pdfbox.pdmodel.PDDocumentCatalog; +import org.pdfbox.pdmodel.PDPage; + +public class ExtractRotate { + + public static void main(String[] args) { + try { + String infile = args[0]; + String outfile = args[1]; + FileWriter out = new FileWriter(outfile); + PDFParser parser = + new PDFParser(new FileInputStream(infile)); + parser.parse(); + PDDocument document = parser.getPDDocument(); + PDDocumentCatalog catalog = document.getDocumentCatalog(); + int i = 0; + for (Object page: catalog.getAllPages()) { + i++; + out.write("/Page " + i + " " + "/Rotate " + + ((PDPage)page).findRotation() + "\n"); + } + document.close(); + out.close(); + } + catch (Exception e) { + e.printStackTrace(); + System.exit(1); + } + } +} diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/alphalph-test1.tex index 0823d890246..0823d890246 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/alphalph-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/alphalph-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/alphalph-test2.tex index 15c7c02052f..31b310ae78a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/alphalph-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/alphalph-test2.tex @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \nofiles \documentclass{article} -\usepackage{alphalph}[2007/04/11] +\usepackage{alphalph}[2007/09/09] \usepackage{qstest} \IncludeTests{*} \LogTests{log}{*}{*} diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/alphalph-test3.tex index 1fa4f8a53b7..5ddff4f9f26 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/alphalph-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/alphalph-test3.tex @@ -40,7 +40,7 @@ \let\numexpr\saved@numexpr } \DisableNumexpr -\usepackage{alphalph}[2007/04/11] +\usepackage{alphalph}[2007/09/09] \RestoreNumexpr \usepackage{qstest} \IncludeTests{*} diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-a.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-a.tex new file mode 100644 index 00000000000..b36335098b6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-a.tex @@ -0,0 +1,47 @@ +%% +%% This is file `askinclude-a.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `a') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\chapter{Chapter A} +\let\filea=Y +\endinput +%% +%% End of file `askinclude-a.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-b.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-b.tex new file mode 100644 index 00000000000..57ec1a68851 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-b.tex @@ -0,0 +1,47 @@ +%% +%% This is file `askinclude-b.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `b') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\chapter{Chapter B} +\let\fileb=Y +\endinput +%% +%% End of file `askinclude-b.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-c.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-c.tex new file mode 100644 index 00000000000..35521c12b65 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-c.tex @@ -0,0 +1,47 @@ +%% +%% This is file `askinclude-c.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `c') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\chapter{Chapter C} +\let\filec=Y +\endinput +%% +%% End of file `askinclude-c.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test1.tex new file mode 100644 index 00000000000..41b0963b9ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test1.tex @@ -0,0 +1,238 @@ +%% +%% This is file `askinclude-test1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test1') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \makeatletter + \def\RestoreCatcodes{}% + \count@=0 % + \loop + \edef\RestoreCatcodes{% + \RestoreCatcodes + \catcode\the\count@=\the\catcode\count@\relax + }% + \ifnum\count@<255 % + \advance\count@\@ne + \repeat + \def\RangeCatcodeInvalid#1#2{% + \count@=#1\relax + \loop + \catcode\count@=15 % + \ifnum\count@<#2\relax + \advance\count@\@ne + \repeat + }% + \def\Test#1\EndTest{% + \RangeCatcodeInvalid{0}{47}% + \RangeCatcodeInvalid{58}{64}% + \RangeCatcodeInvalid{91}{96}% + \RangeCatcodeInvalid{123}{255}% + \catcode`\@=12 % + \catcode`\\=0 % + \catcode`\{=1 % + \catcode`\}=2 % + \catcode`\#=6 % + \catcode`\[=12 % + \catcode`\]=12 % + \catcode`\%=14 % + \catcode`\ =10 % + \catcode13=5 % + #1\relax + \RestoreCatcodes + \makeatother + }% + \Test + \usepackage{askinclude}[2007/10/23]% + \EndTest +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{*} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{*} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test1.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test10.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test10.tex new file mode 100644 index 00000000000..a6c97696cd7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test10.tex @@ -0,0 +1,205 @@ +%% +%% This is file `askinclude-test10.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test10') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?{}N} +\CheckAnswer{askinclude-a} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test10.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test11.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test11.tex new file mode 100644 index 00000000000..7fe3ab90e3b --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test11.tex @@ -0,0 +1,205 @@ +%% +%% This is file `askinclude-test11.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test11') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?xxyxxN} +\CheckAnswer{askinclude-a} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test11.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test12.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test12.tex new file mode 100644 index 00000000000..6faec31a899 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test12.tex @@ -0,0 +1,210 @@ +%% +%% This is file `askinclude-test12.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test12') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{askinclude-b} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-b} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\AskInc@AddFile{askinclude-c} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{askinclude-b} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{true} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test12.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test13.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test13.tex new file mode 100644 index 00000000000..49aa6a3c68c --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test13.tex @@ -0,0 +1,209 @@ +%% +%% This is file `askinclude-test13.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test13') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{askinclude-b} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-b} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{askinclude-b} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{true} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test13.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test14.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test14.tex new file mode 100644 index 00000000000..ba67f07168a --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test14.tex @@ -0,0 +1,209 @@ +%% +%% This is file `askinclude-test14.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test14') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{*} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{*} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{*} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test14.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test15.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test15.tex new file mode 100644 index 00000000000..074133b4c69 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test15.tex @@ -0,0 +1,211 @@ +%% +%% This is file `askinclude-test15.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test15') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?D} +\CheckAnswer{askinclude-a,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-a} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\gdef\AskInc@Answer{askinclude-a,askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test15.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test16.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test16.tex new file mode 100644 index 00000000000..98e3438b78d --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test16.tex @@ -0,0 +1,212 @@ +%% +%% This is file `askinclude-test16.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test16') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?A} +\CheckAnswer{askinclude-a,askinclude-b,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-a} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\gdef\AskInc@Answer{askinclude-a,askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\gdef\AskInc@Answer{askinclude-a,askinclude-b,askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test16.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test17.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test17.tex new file mode 100644 index 00000000000..7f065e02f4a --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test17.tex @@ -0,0 +1,209 @@ +%% +%% This is file `askinclude-test17.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test17') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?N} +\CheckAnswer{} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-a} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test17.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test18.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test18.tex new file mode 100644 index 00000000000..2dac7959bde --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test18.tex @@ -0,0 +1,210 @@ +%% +%% This is file `askinclude-test18.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test18') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\includeonly{askinclude-b} +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{} +\CheckAnswer{askinclude-a} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-a} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{askinclude-a} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{true} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test18.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test19.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test19.tex new file mode 100644 index 00000000000..c54102de25b --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test19.tex @@ -0,0 +1,214 @@ +%% +%% This is file `askinclude-test19.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test19') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?N} +\CheckAnswer{} +\begin{filecontents*}{\jobname.aux} +\gdef\AskInc@Answer{askinclude-a} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\AskInc@AddFile{askinclude-b} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\ifx\AtBeginDocumentMode Y% + \AtBeginDocument{\includeonly{askinclude-b}}% +\else + \includeonly{askinclude-b}% +\fi +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test19.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test2.tex new file mode 100644 index 00000000000..fb2270519fe --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test2.tex @@ -0,0 +1,204 @@ +%% +%% This is file `askinclude-test2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test2') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{*} +\CheckAnswer{*} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{*} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test2.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test20.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test20.tex new file mode 100644 index 00000000000..0f689f5363e --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test20.tex @@ -0,0 +1,205 @@ +%% +%% This is file `askinclude-test20.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test20') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\let\AtBeginDocumentMode=N% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{*} +\begin{filecontents*}{\jobname.aux} +\@includeonly{*} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{*} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test20.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test21.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test21.tex new file mode 100644 index 00000000000..ab61dec472c --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test21.tex @@ -0,0 +1,205 @@ +%% +%% This is file `askinclude-test21.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test21') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\let\AtBeginDocumentMode=N% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{-} +\begin{filecontents*}{\jobname.aux} +\@includeonly{} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{-} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test21.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test22.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test22.tex new file mode 100644 index 00000000000..ee9bd2c75f0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test22.tex @@ -0,0 +1,205 @@ +%% +%% This is file `askinclude-test22.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test22') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\let\AtBeginDocumentMode=N% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{}} +\CheckAnswer{askinclude-a,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\@includeonly{askinclude-a,askinclude-c} +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{askinclude-a,askinclude-c} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test22.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test23.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test23.tex new file mode 100644 index 00000000000..c855fa077f5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test23.tex @@ -0,0 +1,208 @@ +%% +%% This is file `askinclude-test23.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test23') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{makematch}{*,!askinclude-b}} +\CheckAnswer{*,!askinclude-b} +\CheckMatchMethod{makematch} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{*,!askinclude-b} +\gdef\AskInc@MatchMethod{makematch} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +|AddMatch +\AskInc@AddMatch{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\AskInc@AddMatch{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test23.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test24.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test24.tex new file mode 100644 index 00000000000..98521c41003 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test24.tex @@ -0,0 +1,208 @@ +%% +%% This is file `askinclude-test24.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test24') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{pdfmatch}{.,!askinclude-b}} +\CheckAnswer{.,!askinclude-b} +\CheckMatchMethod{pdfmatch} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{.,!askinclude-b} +\gdef\AskInc@MatchMethod{pdfmatch} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +|AddMatch +\AskInc@AddMatch{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\AskInc@AddMatch{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test24.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test3.tex new file mode 100644 index 00000000000..57c2abaf228 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test3.tex @@ -0,0 +1,204 @@ +%% +%% This is file `askinclude-test3.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test3') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{-}% +\CheckAnswer{-} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{-} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test3.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test4.tex new file mode 100644 index 00000000000..952ea8cbdcf --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test4.tex @@ -0,0 +1,204 @@ +%% +%% This is file `askinclude-test4.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test4') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{askinclude-b}} +\CheckAnswer{askinclude-b} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{askinclude-b} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{false} +\CheckInclude{b}{true} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test4.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test5.tex new file mode 100644 index 00000000000..1b3f293b550 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test5.tex @@ -0,0 +1,204 @@ +%% +%% This is file `askinclude-test5.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test5') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{{askinclude-a,askinclude-c}} +\CheckAnswer{askinclude-a,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{askinclude-a,askinclude-c} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test5.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test6.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test6.tex new file mode 100644 index 00000000000..a47b258b7e2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test6.tex @@ -0,0 +1,206 @@ +%% +%% This is file `askinclude-test6.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test6') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?yny} +\CheckAnswer{askinclude-a,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\gdef\AskInc@Answer{askinclude-a,askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test6.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test7.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test7.tex new file mode 100644 index 00000000000..80eae1bb8c8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test7.tex @@ -0,0 +1,207 @@ +%% +%% This is file `askinclude-test7.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test7') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?yA} +\CheckAnswer{askinclude-a,askinclude-b,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\gdef\AskInc@Answer{askinclude-a,askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\gdef\AskInc@Answer{askinclude-a,askinclude-b,askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test7.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test8.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test8.tex new file mode 100644 index 00000000000..f90d7ed43dc --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test8.tex @@ -0,0 +1,207 @@ +%% +%% This is file `askinclude-test8.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test8') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?yD} +\CheckAnswer{askinclude-a,askinclude-b,askinclude-c} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\gdef\AskInc@Answer{askinclude-a,askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\gdef\AskInc@Answer{askinclude-a,askinclude-b,askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{true} +\CheckInclude{c}{true} +\end{document} +\endinput +%% +%% End of file `askinclude-test8.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test9.tex b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test9.tex new file mode 100644 index 00000000000..ab1f15e67ea --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/askinclude-test9.tex @@ -0,0 +1,205 @@ +%% +%% This is file `askinclude-test9.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% askinclude.dtx (with options: `test0,test9') +%% +%% This is a generated file. +%% +%% Copyright (C) 1991-1994 by Pablo A. Straub +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file askinclude.dtx +%% and the derived files +%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv, +%% askinclude-a.tex, askinclude-b.tex, askinclude-c.tex, +%% askinclude-test1.tex, askinclude-test2.tex, +%% askinclude-test3.tex, askinclude-test4.tex, +%% askinclude-test5.tex, askinclude-test6.tex, +%% askinclude-test7.tex, askinclude-test8.tex, +%% askinclude-test9.tex, askinclude-test10.tex, +%% askinclude-test11.tex, askinclude-test12.tex, +%% askinclude-test13.tex, askinclude-test14.tex, +%% askinclude-test15.tex, askinclude-test16.tex, +%% askinclude-test17.tex, askinclude-test18.tex, +%% askinclude-test19.tex, askinclude-test20.tex, +%% askinclude-test21.tex, askinclude-test22.tex, +%% askinclude-test23.tex, askinclude-test24.tex. +%% +\ifx\CompatibilityMode Y% + \documentstyle[filecontents,qstest,askinclude]{book}% +\else + \documentclass{book}% + \usepackage{filecontents}% + \usepackage{qstest}% + \ifx\AtBeginDocumentMode Y% + \AtBeginDocument{% + \usepackage{askinclude}[2007/10/23]% + }% + \else + \usepackage{askinclude}[2007/10/23]% + \fi +\fi +\IncludeTests{*} +\LogTests{log}{*}{*} +\makeatletter +\let\org@typein\typein +\def\typein[#1]#2{% + \ifx\@Stack\@StackEmpty + \begin{qstest}{StackNonEmpty}{StackNonEmpty}% + \Expect{Error: empty stack}{}% + \end{qstest}% + \org@typein[{#1}]{#2}% + \else + \edef#1{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@car\@Stack\@nil + }% + }% + \xdef\@Stack{% + \unexpanded\expandafter\expandafter\expandafter{% + \expandafter\@cdr\@Stack\@nil + }% + }% + \typeout{}% + \typeout{\string#1=#1}% + \fi +} +\def\@StackEmpty{\BOTTOM} +\let\@Stack\@StackEmpty +\newcommand*{\Stack}[1]{% + \def\@Stack{#1\BOTTOM}% +} +\AtEndDocument{% + \begin{qstest}{StackUsed}{StackUsed}% + \Expect*{% + \ifx\@Stack\@StackEmpty + \else + Error: Unused stack entries% + \fi + }{}% + \end{qstest}% +} +\newcommand*{\CheckInclude}[2]{% + \include{askinclude-#1}% + \begin{qstest}{CheckInclude-#1}{CheckInclude-#1}% + \Expect*{% + \expandafter\ifx\csname file#1\endcsname Ytrue\else false\fi + }{#2}% + \end{qstest}% +} +\def\@EndChecks{} +\AtBeginDocument{% + \AtEndDocument{% + \if@filesw + \immediate\write\@mainaux{\string\@EndChecks}% + \fi + }% +} +\newcommand*{\CheckAnswer}[1]{% + \gdef\AnswerText{#1}% + \g@addto@macro\@EndChecks{\@CheckAnswer}% +} +\def\@CheckAnswer{% + \begin{qstest}{CheckAnswer}{CheckAnswer}% + \Expect*{\unexpanded\expandafter{\AskInc@Answer}}% + *{\unexpanded\expandafter{\AnswerText}}% + \end{qstest}% +} +\newcommand*{\CheckMatchMethod}[1]{% + \gdef\MatchMethodText{#1}% + \g@addto@macro\@EndChecks{\@CheckMatchMethod}% +} +\def\@CheckMatchMethod{% + \begin{qstest}{CheckMatchMethod}{CheckMatchMethod}% + \Expect*{\unexpanded\expandafter{\AskInc@MatchMethod}}% + *{\unexpanded\expandafter{\MatchMethodText}}% + \end{qstest}% +} +\def\@CheckAux{% + \begin{qstest}{CheckAux}{CheckAux}% + \def\GetFileContents##1{% + \pdfunescapehex{% + \pdffiledump length\pdffilesize{##1}{##1}% + }% + }% + \Expect*{\GetFileContents{\jobname.aux}}% + *{\GetFileContents{\jobname-aux.aux}}% + \end{qstest}% +} +\g@addto@macro\@EndChecks{\@CheckAux} +\let\org@filec@ntents\filec@ntents +\def\filec@ntents{% + \catcode`\|=0 % + \org@filec@ntents +} +\begingroup + \endlinechar=-1 % + \catcode`\|=0 % + \@makeother\#% + \@makeother\\% + |gdef|AddList{% + \providecommand*\AskInc@AddList[2]{% + \ifcase\ifx#1\@undefined + \else\ifx#1\relax + \else\ifx#1\@empty + \else1\fi\fi\fi0 % + \gdef#1{#2}% + \else + \g@addto@macro#1{,#2}% + \fi + }% + }% + |gdef|AddFile{% + \providecommand\AskInc@AddFile{% + \AskInc@AddList\AskInc@Files + }% + }% + |gdef|AddMatch{% + \providecommand\AskInc@AddMatch{% + \AskInc@AddList\AskInc@MatchFiles + }% + }% +|endgroup +\Stack{?yN} +\CheckAnswer{askinclude-a} +\begin{filecontents*}{\jobname.aux} +\relax +\end{filecontents*} +\begin{filecontents*}{\jobname-aux.aux} +\relax|space +\gdef\AskInc@Answer{} +\gdef\AskInc@MatchMethod{} +|AddList +|AddFile +\AskInc@AddFile{askinclude-a} +\gdef\AskInc@Answer{askinclude-a} +\@input{askinclude-a.aux} +\AskInc@AddFile{askinclude-b} +\@input{askinclude-b.aux} +\AskInc@AddFile{askinclude-c} +\@input{askinclude-c.aux} +\@EndChecks +\end{filecontents*} +\begin{document} +\CheckInclude{a}{true} +\CheckInclude{b}{false} +\CheckInclude{c}{false} +\end{document} +\endinput +%% +%% End of file `askinclude-test9.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/atbegshi-test1.tex index b6677eb7b7c..b6677eb7b7c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/atbegshi-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/atbegshi-test2.tex index 4ce167f48f6..4ce167f48f6 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/atbegshi-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/atbegshi-test3.tex index d8d20c078dd..d8d20c078dd 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/atbegshi-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/bigintcalc-test1.tex index acedbc7d1bf..acedbc7d1bf 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/bigintcalc-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/bigintcalc-test2.tex index 3d34ec0e48f..3d34ec0e48f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/bigintcalc-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/bigintcalc-test3.tex index 67b97d45a8d..67b97d45a8d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bigintcalc-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/bigintcalc-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/bitset-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/bitset-test1.tex index c5baacfbc56..c5baacfbc56 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bitset-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/bitset-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/bitset-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/bitset-test2.tex index 146141d3171..146141d3171 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bitset-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/bitset-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/bitset-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/bitset-test3.tex index a53c82704c8..a53c82704c8 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bitset-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/bitset-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/catchfile-test1.tex index db2fbc18b9e..db2fbc18b9e 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/catchfile-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/catchfile-test2.tex index c3d195fb607..c3d195fb607 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/catchfile-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/catchfile-test3.tex index b5344616da6..b5344616da6 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/catchfile-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test1.tex index 97e77f68cd2..97e77f68cd2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/embedfile-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex index 3ddfb6eaa83..3ddfb6eaa83 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/embedfile-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex index b04fe415556..b04fe415556 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/embedfile-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/engord-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/engord-test1.tex index 329ce58e477..329ce58e477 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/engord-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/engord-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/epstopdf-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/epstopdf-test1.tex index 86f8a5979e4..86f8a5979e4 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/epstopdf-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/epstopdf-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex index 6812abb9a5c..6812abb9a5c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex index 02e5af69e34..02e5af69e34 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex index da5c70f24ba..da5c70f24ba 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex index d17a4c7dd95..d17a4c7dd95 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/etexcmds-test4.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/etexcmds-test4.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/grfext-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/grfext-test1.tex index 4d8e64b1138..4d8e64b1138 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/grfext-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/grfext-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/grfext-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/grfext-test2.tex index 514e0710c2d..514e0710c2d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/grfext-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/grfext-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/hycolor-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/hycolor-test1.tex index cdfefea856c..cdfefea856c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hycolor-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/hycolor-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/hycolor-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/hycolor-test2.tex index f76c74d23e4..f76c74d23e4 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/hycolor-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/hycolor-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test1.tex index 19fe407c9f9..19fe407c9f9 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test2.tex index 6dc72d704eb..6dc72d704eb 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test3.tex index 667bd85afac..667bd85afac 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test4.tex index b89af71f3dd..b89af71f3dd 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang-test4.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test4.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test5.tex index aa5d69fbdc4..aa5d69fbdc4 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/iflang-test5.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/iflang-test5.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifpdf-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex index a34a9e296e8..a34a9e296e8 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/ifpdf-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/ifpdf-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifvtex-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/ifvtex-test1.tex index 3f8329bdbf5..3f8329bdbf5 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/ifvtex-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/ifvtex-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/infwarerr-test1.tex index 39fe9a2f27f..39fe9a2f27f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/infwarerr-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/infwarerr-test2.tex index e40eb3897ef..e40eb3897ef 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/infwarerr-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/infwarerr-test3.tex index 4159934123d..4159934123d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/infwarerr-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test1.tex index 06bf9e08db3..06bf9e08db3 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test2.tex index 8242acd1ee7..8242acd1ee7 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test3.tex index 4874311d1f0..4874311d1f0 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test4.tex index 021744f16dd..021744f16dd 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/intcalc-test4.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/intcalc-test4.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvoptions-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvoptions-test1.tex index de0a68d2468..ffc4acdda7a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/kvoptions-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvoptions-test1.tex @@ -26,7 +26,8 @@ %% This work consists of the main source file kvoptions.dtx %% and the derived files %% kvoptions.sty, kvoptions.pdf, kvoptions.ins, kvoptions.drv, -%% example-mycolorsetup.sty, kvoptions-test1.tex. +%% kvoptions-patch.sty, example-mycolorsetup.sty, +%% kvoptions-test1.tex, kvoptions-test2.tex. %% %% No we don't need the option 'color'. %% With color support option 'emphcolor' will dynamically diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/kvoptions-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvoptions-test2.tex new file mode 100644 index 00000000000..1e3f3eae309 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvoptions-test2.tex @@ -0,0 +1,80 @@ +%% +%% This is file `kvoptions-test2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% kvoptions.dtx (with options: `test2') +%% +%% This is a generated file. +%% +%% Copyright (C) 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file kvoptions.dtx +%% and the derived files +%% kvoptions.sty, kvoptions.pdf, kvoptions.ins, kvoptions.drv, +%% kvoptions-patch.sty, example-mycolorsetup.sty, +%% kvoptions-test1.tex, kvoptions-test2.tex. +%% +%% No we don't need the option 'color'. +%% With color support option 'emphcolor' will dynamically +%% change the color of \emph statements. +\NeedsTeXFormat{LaTeX2e} +\makeatletter +\catcode`\@=11 % +\def\RestoreCatcodes{} +\count@=0 % +\loop + \edef\RestoreCatcodes{% + \RestoreCatcodes + \catcode\the\count@=\the\catcode\count@\relax + }% +\ifnum\count@<255 % + \advance\count@\@ne +\repeat + +\def\RangeCatcodeInvalid#1#2{% + \count@=#1\relax + \loop + \catcode\count@=15 % + \ifnum\count@<#2\relax + \advance\count@\@ne + \repeat +} +\def\Test#1{% + \RangeCatcodeInvalid{0}{47}% + \RangeCatcodeInvalid{58}{64}% + \RangeCatcodeInvalid{91}{96}% + \RangeCatcodeInvalid{123}{255}% + \catcode`\@=12 % + \catcode`\\=0 % + \catcode`\{=1 % + \catcode`\}=2 % + \catcode`\#=6 % + \catcode`\[=12 % + \catcode`\]=12 % + \catcode`\%=14 % + \catcode`\ =10 % + \catcode13=5 % + #1\relax + \RestoreCatcodes +} +\Test{\RequirePackage{kvoptions-patch}}% +\Test{\RequirePackage{kvoptions}}% +\csname @@end\endcsname +\endinput +%% +%% End of file `kvoptions-test2.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex index 14225a1cd0b..14225a1cd0b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex index 739944bab57..739944bab57 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex index fcf53c96479..fcf53c96479 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/kvsetkeys-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test1.tex new file mode 100644 index 00000000000..009a172b75d --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test1.tex @@ -0,0 +1,77 @@ +%% +%% This is file `listingsutf8-test1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% listingsutf8.dtx (with options: `test1') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file listingsutf8.dtx +%% and the derived files +%% listingsutf8.sty, listingsutf8.pdf, listingsutf8.ins, listingsutf8.drv, +%% listingsutf8-test1.tex, listingsutf8-test2.tex, +%% listingsutf8-test3.tex, listingsutf8-test4.tex, +%% listingsutf8-test5.tex. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\makeatletter +\def\RestoreCatcodes{} +\count@=0 % +\loop + \edef\RestoreCatcodes{% + \RestoreCatcodes + \catcode\the\count@=\the\catcode\count@\relax + }% +\ifnum\count@<255 % + \advance\count@\@ne +\repeat + +\def\RangeCatcodeInvalid#1#2{% + \count@=#1\relax + \loop + \catcode\count@=15 % + \ifnum\count@<#2\relax + \advance\count@\@ne + \repeat +} +\def\Test{% + \RangeCatcodeInvalid{0}{47}% + \RangeCatcodeInvalid{58}{64}% + \RangeCatcodeInvalid{91}{96}% + \RangeCatcodeInvalid{123}{127}% + \catcode`\@=12 % + \catcode`\\=0 % + \catcode`\{=1 % + \catcode`\}=2 % + \catcode`\#=6 % + \catcode`\[=12 % + \catcode`\]=12 % + \catcode`\%=14 % + \catcode`\ =10 % + \catcode13=5 % + \RequirePackage{listingsutf8}[2007/10/22]\relax + \RestoreCatcodes +} +\Test +\csname @@end\endcsname +\end +\endinput +%% +%% End of file `listingsutf8-test1.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test2.tex new file mode 100644 index 00000000000..9c063c43c93 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test2.tex @@ -0,0 +1,66 @@ +%% +%% This is file `listingsutf8-test2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% listingsutf8.dtx (with options: `test2,utf8') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file listingsutf8.dtx +%% and the derived files +%% listingsutf8.sty, listingsutf8.pdf, listingsutf8.ins, listingsutf8.drv, +%% listingsutf8-test1.tex, listingsutf8-test2.tex, +%% listingsutf8-test3.tex, listingsutf8-test4.tex, +%% listingsutf8-test5.tex. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\usepackage{filecontents} +\def\do#1{% + \ifx#1\^% + \else + \noexpand\do\noexpand#1% + \fi +} +\expandafter\let\expandafter\dospecials\expandafter\empty +\expandafter\edef\expandafter\dospecials\expandafter{\dospecials} +\begin{filecontents*}{ExampleUTF8.java} +public class ExampleUTF8 { + public static String testString = + "Umlauts: " + + "^^c3^^84^^c3^^96^^c3^^9c^^c3^^a4^^c3^^b6^^c3^^bc^^c3^^9f"; + public static void main(String[] args) { + System.out.println(testString); + } +} +\end{filecontents*} +\usepackage{listingsutf8}[2007/10/22] +\def\Text{% + Umlauts: % + ^^c3^^84^^c3^^96^^c3^^9c^^c3^^a4^^c3^^b6^^c3^^bc^^c3^^9f% +} +\begin{document} +\lstinputlisting[% + language=Java,% + inputencoding=utf8/latin1,% +]{ExampleUTF8.java} +\end{document} +\endinput +%% +%% End of file `listingsutf8-test2.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test3.tex new file mode 100644 index 00000000000..5e56c610dbd --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test3.tex @@ -0,0 +1,34 @@ +%% +%% This is file `listingsutf8-test3.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% listingsutf8.dtx (with options: `test3,utf8x') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file listingsutf8.dtx +%% and the derived files +%% listingsutf8.sty, listingsutf8.pdf, listingsutf8.ins, listingsutf8.drv, +%% listingsutf8-test1.tex, listingsutf8-test2.tex, +%% listingsutf8-test3.tex, listingsutf8-test4.tex, +%% listingsutf8-test5.tex. +%% +\endinput +%% +%% End of file `listingsutf8-test3.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test4.tex new file mode 100644 index 00000000000..a10cddd78f7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test4.tex @@ -0,0 +1,34 @@ +%% +%% This is file `listingsutf8-test4.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% listingsutf8.dtx (with options: `test4,utf8,noetex') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file listingsutf8.dtx +%% and the derived files +%% listingsutf8.sty, listingsutf8.pdf, listingsutf8.ins, listingsutf8.drv, +%% listingsutf8-test1.tex, listingsutf8-test2.tex, +%% listingsutf8-test3.tex, listingsutf8-test4.tex, +%% listingsutf8-test5.tex. +%% +\endinput +%% +%% End of file `listingsutf8-test4.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test5.tex new file mode 100644 index 00000000000..20b6887a650 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/listingsutf8-test5.tex @@ -0,0 +1,34 @@ +%% +%% This is file `listingsutf8-test5.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% listingsutf8.dtx (with options: `test5,utf8x,noetex') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file listingsutf8.dtx +%% and the derived files +%% listingsutf8.sty, listingsutf8.pdf, listingsutf8.ins, listingsutf8.drv, +%% listingsutf8-test1.tex, listingsutf8-test2.tex, +%% listingsutf8-test3.tex, listingsutf8-test4.tex, +%% listingsutf8-test5.tex. +%% +\endinput +%% +%% End of file `listingsutf8-test5.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcol-test1.tex index 531c7b9114f..531c7b9114f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcol-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcol-test2.tex index 98a4e6e52f1..98a4e6e52f1 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcol-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcol-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcol-test3.tex index 027ad453882..027ad453882 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcol-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcol-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcolfoot-test1.tex index 5ea5fc5e585..5ea5fc5e585 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcolfoot-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcolparallel-test1.tex index d15d2454c5d..d15d2454c5d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparallel-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcolparallel-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcolparcolumns-test1.tex index 531fe69027e..531fe69027e 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfcolparcolumns-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfcolparcolumns-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test1.tex index ff1f9fc9d3a..ff1f9fc9d3a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test2.tex index 2f5df20991b..2f5df20991b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test3.tex index 3559f6d91ce..3559f6d91ce 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test4.tex index 6043b54bb89..6043b54bb89 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test4.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdfescape-test4.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test1.tex new file mode 100644 index 00000000000..cb448b037d3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test1.tex @@ -0,0 +1,56 @@ +%% +%% This is file `pdflscape-test1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdflscape.dtx (with options: `test0,test1') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file pdflscape.dtx +%% and the derived files +%% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +%% pdflscape-test1.tex, pdflscape-test2.tex, +%% pdflscape-test3.tex, pdflscape-test4.tex, +%% pdflscape-test5.tex, pdflscape-test6.tex, +%% pdflscape-test6.txt, ExtractRotate.java. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\usepackage{qstest} +\IncludeTests{*} +\LogTests{log}{*}{*} +\usepackage{ifpdf} +\ifpdf + \def\ExpectDriver{pdftex}% +\fi +\usepackage{ifxetex}% +\ifxetex + \def\ExpectDriver{dvipdfm}% +\fi +\usepackage{pdflscape}[2007/10/21] +\begin{document} +\begin{qstest}{driver}{driver} + \makeatletter + \Expect*{\PLS@driver}*{\ExpectDriver}% +\end{qstest} +\end{document} +\endinput +%% +%% End of file `pdflscape-test1.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test2.tex new file mode 100644 index 00000000000..bbda2741de8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test2.tex @@ -0,0 +1,49 @@ +%% +%% This is file `pdflscape-test2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdflscape.dtx (with options: `test0,test2') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file pdflscape.dtx +%% and the derived files +%% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +%% pdflscape-test1.tex, pdflscape-test2.tex, +%% pdflscape-test3.tex, pdflscape-test4.tex, +%% pdflscape-test5.tex, pdflscape-test6.tex, +%% pdflscape-test6.txt, ExtractRotate.java. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\usepackage{qstest} +\IncludeTests{*} +\LogTests{log}{*}{*} +\def\ExpectDriver{pdftex} +\usepackage[pdftex]{pdflscape}[2007/10/21] +\begin{document} +\begin{qstest}{driver}{driver} + \makeatletter + \Expect*{\PLS@driver}*{\ExpectDriver}% +\end{qstest} +\end{document} +\endinput +%% +%% End of file `pdflscape-test2.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test3.tex new file mode 100644 index 00000000000..19301acc4d1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test3.tex @@ -0,0 +1,49 @@ +%% +%% This is file `pdflscape-test3.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdflscape.dtx (with options: `test0,test3') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file pdflscape.dtx +%% and the derived files +%% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +%% pdflscape-test1.tex, pdflscape-test2.tex, +%% pdflscape-test3.tex, pdflscape-test4.tex, +%% pdflscape-test5.tex, pdflscape-test6.tex, +%% pdflscape-test6.txt, ExtractRotate.java. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\usepackage{qstest} +\IncludeTests{*} +\LogTests{log}{*}{*} +\def\ExpectDriver{dvipdfm} +\usepackage[dvipdfmx]{pdflscape}[2007/10/21] +\begin{document} +\begin{qstest}{driver}{driver} + \makeatletter + \Expect*{\PLS@driver}*{\ExpectDriver}% +\end{qstest} +\end{document} +\endinput +%% +%% End of file `pdflscape-test3.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test4.tex new file mode 100644 index 00000000000..570b6191a30 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test4.tex @@ -0,0 +1,50 @@ +%% +%% This is file `pdflscape-test4.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdflscape.dtx (with options: `test0,test4') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file pdflscape.dtx +%% and the derived files +%% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +%% pdflscape-test1.tex, pdflscape-test2.tex, +%% pdflscape-test3.tex, pdflscape-test4.tex, +%% pdflscape-test5.tex, pdflscape-test6.tex, +%% pdflscape-test6.txt, ExtractRotate.java. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\usepackage{qstest} +\IncludeTests{*} +\LogTests{log}{*}{*} +\def\ExpectDriver{dvips} +\usepackage[dvipsone]{graphics} +\usepackage{pdflscape}[2007/10/21] +\begin{document} +\begin{qstest}{driver}{driver} + \makeatletter + \Expect*{\PLS@driver}*{\ExpectDriver}% +\end{qstest} +\end{document} +\endinput +%% +%% End of file `pdflscape-test4.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test5.tex new file mode 100644 index 00000000000..95ab5cc5735 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test5.tex @@ -0,0 +1,86 @@ +%% +%% This is file `pdflscape-test5.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdflscape.dtx (with options: `test5') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file pdflscape.dtx +%% and the derived files +%% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +%% pdflscape-test1.tex, pdflscape-test2.tex, +%% pdflscape-test3.tex, pdflscape-test4.tex, +%% pdflscape-test5.tex, pdflscape-test6.tex, +%% pdflscape-test6.txt, ExtractRotate.java. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{minimal} +\usepackage{qstest} +\IncludeTests{*} +\LogTests{log}{*}{*} +\usepackage{pdflscape}[2007/10/21] +\begin{document} +\begin{qstest}{checkangle}{checkangle} + \makeatletter + \def\Result{% + \def\ResultString{\the\count@}% + }% + \def\PackageError#1#2#3{% + \def\Result{% + \def\ResultString{error}% + }% + }% + \def\Test#1#2{% + \begingroup + \PLS@CheckAngle{#1}% + \Result + \Expect*{\ResultString}{#2}% + \endgroup + }% + \Test{0}{0}% + \Test{90}{90}% + \Test{180}{180}% + \Test{270}{270}% + \Test{360}{0}% + \Test{450}{90}% + \Test{540}{180}% + \Test{630}{270}% + \Test{720}{0}% + \Test{3600}{0}% + \Test{3690}{90}% + \Test{-90}{270}% + \Test{-180}{180}% + \Test{-270}{-90}% + \Test{-360}{0}% + \Test{-450}{270}% + \Test{540}{180}% + \Test{-630}{90}% + \Test{-720}{0}% + \Test{-3600}{0}% + \Test{-3690}{270}% + \Test{1}{error}% + \Test{-1}{error}% + \Test{123}{error}% +\end{qstest} +\end{document} +\endinput +%% +%% End of file `pdflscape-test5.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test6.tex b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test6.tex new file mode 100644 index 00000000000..68b88109378 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test6.tex @@ -0,0 +1,57 @@ +%% +%% This is file `pdflscape-test6.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdflscape.dtx (with options: `test6') +%% +%% This is a generated file. +%% +%% Copyright (C) 2001, 2004, 2006, 2007 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file pdflscape.dtx +%% and the derived files +%% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +%% pdflscape-test1.tex, pdflscape-test2.tex, +%% pdflscape-test3.tex, pdflscape-test4.tex, +%% pdflscape-test5.tex, pdflscape-test6.tex, +%% pdflscape-test6.txt, ExtractRotate.java. +%% +\NeedsTeXFormat{LaTeX2e} +\documentclass{article} +\usepackage{pdflscape}[2007/10/21] +\begin{document} +\section{Portrait page} +\begin{landscape} +\section{Landscape page} +Foo bar foo bar foo bar foo bar foo bar +foo bar foo bar foo bar foo bar foo bar. +\end{landscape} +\section{Portrait Section} +Foo bar +\begin{landscape} +\section{Again Landscape Section} +\newpage +\section{Second Page of Landscape Section} +\end{landscape} +\section{Second Last Portrait Page} +\newpage +\section{Last Portrait Page} +\end{document} +\endinput +%% +%% End of file `pdflscape-test6.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test6.txt b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test6.txt new file mode 100644 index 00000000000..7056f3a9085 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/test/pdflscape-test6.txt @@ -0,0 +1,7 @@ +/Page 1 /Rotate 0 +/Page 2 /Rotate 90 +/Page 3 /Rotate 0 +/Page 4 /Rotate 90 +/Page 5 /Rotate 90 +/Page 6 /Rotate 0 +/Page 7 /Rotate 0 diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test1.tex index 1f952da54e2..1f952da54e2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/selinput-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test2.tex index de58844bd09..de58844bd09 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/selinput-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test3.tex index 897643f9927..897643f9927 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/selinput-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test4.tex index 94561b045b5..94561b045b5 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/selinput-test4.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test4.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/selinput-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test5.tex index aa41dcc6d43..aa41dcc6d43 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/selinput-test5.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/selinput-test5.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/setouterhbox-test1.tex index 92b27d356ce..92b27d356ce 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/setouterhbox-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/setouterhbox-test2.tex index 47caba209f2..47caba209f2 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/setouterhbox-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test1.tex index 573d15a8b42..573d15a8b42 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test2.tex index d43dc88aa01..d43dc88aa01 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test2.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test3.tex index d6d33ae9a73..d6d33ae9a73 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test3.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test4.tex b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test4.tex index 0550357500b..0550357500b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test4.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test4.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test5.tex b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test5.tex index 41795b145ac..41795b145ac 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/soulutf8-test5.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/soulutf8-test5.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/stringenc-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/stringenc-test1.tex index 940af5d5b64..a43e30ed4ca 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/stringenc-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/stringenc-test1.tex @@ -64,10 +64,10 @@ \repeat } \def\Test{% - \RangeCatcodeInvalid{0}{47} - \RangeCatcodeInvalid{58}{64} - \RangeCatcodeInvalid{91}{96} - \RangeCatcodeInvalid{123}{255} + \RangeCatcodeInvalid{0}{47}% + \RangeCatcodeInvalid{58}{64}% + \RangeCatcodeInvalid{91}{96}% + \RangeCatcodeInvalid{123}{255}% \catcode`\@=12 % \catcode`\\=0 % \catcode`\{=1 % @@ -78,7 +78,7 @@ \catcode`\%=14 % \catcode`\ =10 % \catcode13=5 % - \usepackage{stringenc}[2007/09/09]% + \usepackage{stringenc}[2007/10/22]% \RestoreCatcodes } \Test @@ -91,22 +91,16 @@ \IncludeTests{*} \LogTests{log}{*}{*} \def\Test#1{% - \begin{qstest}{loading}{loading} - \RangeCatcodeInvalid{0}{47}% - % 0-9 - \RangeCatcodeInvalid{58}{64}% - % A-Z - \RangeCatcodeInvalid{91}{96}% - % a-z - \RangeCatcodeInvalid{123}{255}% + \begin{qstest}{loading}{loading}% \setbox0=\hbox{% \def\par{p}% + \RangeCatcodeInvalid{0}{255}% \StringEncodingLoad{#1}% }% - \Expect*{\the\wd0}{0.0pt} - \end{qstest} + \Expect*{\the\wd0}{0.0pt}% + \end{qstest}% } -\@for\x:=\SE@EncodingFileList\do{% +\@for\x:=\StringEncodingList\do{% \Test\x } \@@end diff --git a/Master/texmf-dist/doc/latex/oberdiek/stringenc-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/stringenc-test2.tex index 973d5b92210..e1f5df8704d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/stringenc-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/stringenc-test2.tex @@ -47,7 +47,7 @@ \let\SavedNumexpr\numexpr \let\numexpr\relax \fi -\usepackage{stringenc}[2007/09/09] +\usepackage{stringenc}[2007/10/22] \ifx\plainmode Y \let\numexpr\SavedNumexpr \fi @@ -63,7 +63,7 @@ \x } \def\TestTest#1#2#3#4#5|#6|#7\NIL{% - \begin{qstest}{encodings}{encodings, conversion} + \begin{qstest}{encodings}{encodings, conversion}% \setbox0=\hbox{% \def\par{p}% \EdefUnescapeHex\IN{#4}% @@ -79,8 +79,8 @@ }% }% }% - \Expect*{\the\wd0}{0.0pt} - \end{qstest} + \Expect*{\the\wd0}{0.0pt}% + \end{qstest}% } \def\AllBytesLow{% diff --git a/Master/texmf-dist/doc/latex/oberdiek/telprint-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/test/telprint-test1.tex index ed748e0c77a..ed748e0c77a 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/telprint-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/test/telprint-test1.tex diff --git a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf Binary files differindex 230735afb84..e3955c5d84d 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf Binary files differindex 27d558ccf4e..d234b546eeb 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf diff --git a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf Binary files differindex 655eb8704a0..86dd2b8c61f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf +++ b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf |