From eb20b1a58efdf85ed1ef1c7091bcb414a7a60a32 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 28 Apr 2007 00:47:40 +0000 Subject: oberdiek as always, infwarerr v1.0 new and updates git-svn-id: svn://tug.org/texlive/trunk@4200 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf | Bin 156938 -> 156937 bytes Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf | Bin 139327 -> 139325 bytes Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf | Bin 163980 -> 164339 bytes .../doc/latex/oberdiek/atbegshi-test1.tex | 2 +- .../doc/latex/oberdiek/atbegshi-test2.tex | 2 +- Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf | Bin 199145 -> 197859 bytes Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf | Bin 128869 -> 128869 bytes .../texmf-dist/doc/latex/oberdiek/attachfile2.pdf | Bin 216294 -> 216295 bytes Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf | Bin 133803 -> 133802 bytes Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf | Bin 282656 -> 282657 bytes .../doc/latex/oberdiek/bookmark-example.tex | 2 +- Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf | Bin 233644 -> 233995 bytes Master/texmf-dist/doc/latex/oberdiek/centernot.pdf | Bin 117866 -> 117867 bytes Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf | Bin 128876 -> 128877 bytes Master/texmf-dist/doc/latex/oberdiek/classlist.pdf | Bin 124630 -> 124630 bytes .../texmf-dist/doc/latex/oberdiek/colonequals.pdf | Bin 135300 -> 135298 bytes Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf | Bin 116876 -> 116876 bytes Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf | Bin 167093 -> 167693 bytes Master/texmf-dist/doc/latex/oberdiek/engord.pdf | Bin 147179 -> 148043 bytes Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf | Bin 124308 -> 130788 bytes Master/texmf-dist/doc/latex/oberdiek/flags.pdf | Bin 133366 -> 133365 bytes Master/texmf-dist/doc/latex/oberdiek/grffile.pdf | Bin 151919 -> 151919 bytes Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf | Bin 137284 -> 137284 bytes Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf | Bin 193619 -> 193619 bytes Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf | Bin 145074 -> 145074 bytes Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf | Bin 130743 -> 130743 bytes .../texmf-dist/doc/latex/oberdiek/hypdestopt.pdf | Bin 154935 -> 154936 bytes Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf | Bin 152038 -> 152038 bytes Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf | Bin 121355 -> 121354 bytes Master/texmf-dist/doc/latex/oberdiek/iflang.pdf | Bin 163958 -> 163053 bytes Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf | Bin 137395 -> 137970 bytes Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf | Bin 129677 -> 130482 bytes .../doc/latex/oberdiek/infwarerr-test1.tex | 212 ++++++++++++++++++++ .../doc/latex/oberdiek/infwarerr-test2.tex | 215 +++++++++++++++++++++ Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf | Bin 0 -> 152320 bytes Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf | Bin 487130 -> 487131 bytes Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf | Bin 245718 -> 245718 bytes Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf | Bin 161456 -> 161693 bytes .../texmf-dist/doc/latex/oberdiek/makerobust.pdf | Bin 123514 -> 123514 bytes Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf | Bin 524727 -> 536036 bytes Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf | Bin 159966 -> 159927 bytes .../texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf | Bin 132789 -> 132788 bytes Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf | Bin 160528 -> 160529 bytes Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf | Bin 166635 -> 164551 bytes .../doc/latex/oberdiek/pdfescape-test1.tex | 192 +++++++++++++++++- .../doc/latex/oberdiek/pdfescape-test2.tex | 180 ++++++++++++++++- .../doc/latex/oberdiek/pdfescape-test3.tex | 180 ++++++++++++++++- Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf | Bin 178447 -> 206406 bytes Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf | Bin 141643 -> 141645 bytes Master/texmf-dist/doc/latex/oberdiek/picture.pdf | Bin 139300 -> 139299 bytes Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf | Bin 182059 -> 182058 bytes Master/texmf-dist/doc/latex/oberdiek/refcount.pdf | Bin 135373 -> 135373 bytes .../doc/latex/oberdiek/setouterhbox-example.tex | 3 +- .../texmf-dist/doc/latex/oberdiek/setouterhbox.pdf | Bin 165045 -> 164971 bytes Master/texmf-dist/doc/latex/oberdiek/settobox.pdf | Bin 143235 -> 143234 bytes Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf | Bin 126851 -> 126851 bytes Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf | Bin 168272 -> 168271 bytes Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf | Bin 117011 -> 117010 bytes Master/texmf-dist/doc/latex/oberdiek/telprint.pdf | Bin 142539 -> 143007 bytes .../texmf-dist/doc/latex/oberdiek/transparent.pdf | Bin 124270 -> 124269 bytes Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf | Bin 137392 -> 137391 bytes Master/texmf-dist/doc/latex/oberdiek/zref.pdf | Bin 289274 -> 290682 bytes 62 files changed, 981 insertions(+), 7 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/oberdiek/infwarerr-test1.tex create mode 100644 Master/texmf-dist/doc/latex/oberdiek/infwarerr-test2.tex create mode 100644 Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf index 34e03a57080..58d6b495e35 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf and b/Master/texmf-dist/doc/latex/oberdiek/accsupp.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf index 30f0060f429..c8a4bde0e3a 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/aliascnt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf index ea9e4a7ea6c..65bae40d61f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf and b/Master/texmf-dist/doc/latex/oberdiek/alphalph.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test1.tex index 1616574753c..4e31801debd 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test1.tex @@ -29,7 +29,7 @@ %% \input atbegshi.sty\relax \def\msg#{\immediate\write16} -\msg{File: atbegshi-test1.tex 2007/04/19 v1.2 Test file for plain-TeX} +\msg{File: atbegshi-test1.tex 2007/04/27 v1.4 Test file for plain-TeX} \def\testmsg#1#2{% \msg{}% \msg{*** Test with box (#1), expected page output [#2]}% diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test2.tex index 50d7a7d6993..954abd2616f 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/atbegshi-test2.tex @@ -28,7 +28,7 @@ %% atbegshi-test1.tex, atbegshi-test2.tex. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{atbegshi-test2.tex}[2007/04/19 v1.2 Test file for LaTeX] +\ProvidesFile{atbegshi-test2.tex}[2007/04/27 v1.4 Test file for LaTeX] \RequirePackage{color} \pagecolor{yellow} \documentclass[a5paper,showtrims]{memoir} diff --git a/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf b/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf index 4df4e720450..6d008267c4d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf and b/Master/texmf-dist/doc/latex/oberdiek/atbegshi.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf b/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf index 717a2c705e7..ed0bb268008 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf and b/Master/texmf-dist/doc/latex/oberdiek/atenddvi.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf index d290f6c40af..627bda08e0c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf and b/Master/texmf-dist/doc/latex/oberdiek/attachfile2.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf index 3a26d40a5eb..91aeb62c0ef 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf and b/Master/texmf-dist/doc/latex/oberdiek/auxhook.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf index bdcb9c874ed..908f9eb80e7 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf and b/Master/texmf-dist/doc/latex/oberdiek/bmpsize.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/bookmark-example.tex b/Master/texmf-dist/doc/latex/oberdiek/bookmark-example.tex index dd8d3f3b99b..9154b990d70 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/bookmark-example.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/bookmark-example.tex @@ -36,7 +36,7 @@ open, openlevel=2, atend -]{bookmark}[2007/04/09] +]{bookmark}[2007/04/25] \bookmarksetup{color=blue} diff --git a/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf b/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf index fcb4fe09fe9..407bf45cbb1 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf and b/Master/texmf-dist/doc/latex/oberdiek/bookmark.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf index 504127e56e7..8d309f13c9c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf and b/Master/texmf-dist/doc/latex/oberdiek/centernot.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf index 5bc0b5254d2..66ca793a520 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf and b/Master/texmf-dist/doc/latex/oberdiek/chemarr.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf index 26b78e98462..0a984d75bb9 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf and b/Master/texmf-dist/doc/latex/oberdiek/classlist.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf index 3da04178343..7ce11513f0f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf and b/Master/texmf-dist/doc/latex/oberdiek/colonequals.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf index bcda6f7cdea..d0427f7115c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf and b/Master/texmf-dist/doc/latex/oberdiek/dvipscol.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf index a4151581f69..6277dac3210 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf and b/Master/texmf-dist/doc/latex/oberdiek/embedfile.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf index ab5777852fc..a2c623fb5f6 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/engord.pdf and b/Master/texmf-dist/doc/latex/oberdiek/engord.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf index e3493685737..745c9c1305c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf and b/Master/texmf-dist/doc/latex/oberdiek/epstopdf.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf index 700625a2fdf..123a6269016 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/flags.pdf and b/Master/texmf-dist/doc/latex/oberdiek/flags.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf index 95fc137186e..9528c1f4d2a 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf and b/Master/texmf-dist/doc/latex/oberdiek/grffile.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf index 5de66087591..9a732fd1903 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf and b/Master/texmf-dist/doc/latex/oberdiek/holtxdoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf b/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf index 1264c79e06d..f0586ff4323 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hycolor.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf index efeb76c0633..e83aa400d12 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypbmsec.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf index 9f3212229eb..acc454b441a 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypcap.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf index 890e853d1e2..cc7ae18f704 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypdestopt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf index 7e7ae1a02de..2ba52b72d48 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf and b/Master/texmf-dist/doc/latex/oberdiek/hypdoc.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf index f7eb1817761..fbcf5ccf969 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf and b/Master/texmf-dist/doc/latex/oberdiek/ifdraft.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf index 48e66529691..3916359c67f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf and b/Master/texmf-dist/doc/latex/oberdiek/iflang.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf index fa978d8213f..43522c04226 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf and b/Master/texmf-dist/doc/latex/oberdiek/ifpdf.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf index 47a68886ea1..82536bf732d 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf and b/Master/texmf-dist/doc/latex/oberdiek/ifvtex.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test1.tex new file mode 100644 index 00000000000..072a25c543c --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test1.tex @@ -0,0 +1,212 @@ +%% +%% This is file `infwarerr-test1.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% infwarerr.dtx (with options: `test1') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek +%% +%% 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 infwarerr.dtx +%% and the derived files +%% infwarerr.sty, infwarerr.pdf, infwarerr.ins, infwarerr.drv, +%% infwarerr-test1.tex, infwarerr-test2.tex. +%% +\let\PackageInfo\relax +\input infwarerr.sty\relax +\let\OrgWrite\write +\chardef\WriteUnused=16 % +\def\msg#{\immediate\OrgWrite\WriteUnused} +\msg{File: infwarerr-test1.tex 2007/04/26 v1.0 Test file for plain-TeX} +\catcode64=11 % +\def\pkgname{PACKAGE} +\def\clsname{CLASS} +\def\msgtext{MESSAGE\MessageBreak SECOND LINE} +\def\hlptext{HELP\MessageBreak SECOND LINE} + +\let\OrgWrite\write +\let\OrgErrMessage\errmessage + +\def\write#1#{% + \@write{#1}% +} +\def\@write#1#2{% + \OrgWrite#1{#2}% + \xdef\WriteNum{\number#1}% + \xdef\WriteText{#2}% +} +\def\TestFailed#1#2{% + \OrgErrMessage{Test (\string#1) failed: #2}% +} +\def\TestWrite#1#2#3{% + \ifnum\WriteNum=#2\relax + \else + \TestFailed#1{write stream number: \WriteNum <> #2}% + \fi + \begingroup + \let~\space + \edef\TestString{#3}% + \ifx\WriteText\TestString + \else + \msg{}% + \msg{[\WriteText]}% + \msg{<>}% + \msg{[#3]}% + \TestFailed#1{write text}% + \fi + \endgroup +} +\newtoks\ErrHelpToks +\def\errmessage#1{% + \global\ErrHelpToks=\expandafter{\the\errhelp}% + \msg{**************** error message ****************}% + \msg{! #1}% + \msg{**************** help message *****************}% + \msg{\the\errhelp}% + \msg{***********************************************}% + \xdef\ErrMessage{! #1}% +} +\def\TestInfo{% + \@PackageInfo\pkgname\msgtext + \TestWrite\@PackageInfo{-1}{% + Package PACKAGE Info: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + }% + \@PackageInfoNoLine\pkgname\msgtext + \TestWrite\@PackageInfoNoLine{-1}{% + Package PACKAGE Info: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~SECOND LINE.% + }% + \@ClassInfo\clsname\msgtext + \TestWrite\@ClassInfo{-1}{% + Class CLASS Info: MESSAGE^^J% + (CLASS)~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + }% + \@ClassInfoNoLine\clsname\msgtext + \TestWrite\@ClassInfoNoLine{-1}{% + Class CLASS Info: MESSAGE^^J% + (CLASS)~~~~~~~~~~~SECOND LINE.% + }% +} +\def\TestWarning{% + \@PackageWarning\pkgname\msgtext + \TestWrite\@PackageWarning\WriteUnused{% + ^^J% + Package PACKAGE Warning: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + ^^J% + }% + \@PackageWarningNoLine\pkgname\msgtext + \TestWrite\@PackageWarningNoLine\WriteUnused{% + ^^J% + Package PACKAGE Warning: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.% + ^^J% + }% + \@ClassWarning\clsname\msgtext + \TestWrite\@ClassWarning\WriteUnused{% + ^^J% + Class CLASS Warning: MESSAGE^^J% + (CLASS)~~~~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + ^^J% + }% + \@ClassWarningNoLine\clsname\msgtext + \TestWrite\@ClassWarningNoLine\WriteUnused{% + ^^J% + Class CLASS Warning: MESSAGE^^J% + (CLASS)~~~~~~~~~~~~~~SECOND LINE.% + ^^J% + }% +} +\def\TestError{% + \@PackageError\pkgname\msgtext\hlptext + \@TestError\@PackageError{% + ! Package PACKAGE Error: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the PACKAGE package documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + HELP^^J% + SECOND LINE% + }% + \@ClassError\clsname\msgtext\hlptext + \@TestError\@ClassError{% + ! Class CLASS Error: MESSAGE^^J% + (CLASS)~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the CLASS class documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + HELP^^J% + SECOND LINE% + }% + \@PackageError\pkgname\msgtext\@ehc + \@TestError\@PackageError{% + ! Package PACKAGE Error: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the PACKAGE package documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + Try typing~~~~to proceed.^^J% + If that doesn't work, type~~X ~~to quit.% + }% + \@PackageError\pkgname\msgtext\@ehd + \@TestError\@PackageError{% + ! Package PACKAGE Error: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the PACKAGE package documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + You're in trouble here.~~Try typing~~~~to proceed.^^J% + If that doesn't work, type~~X ~~to quit.% + }% +} +\def\@TestError#1#2#3{% + \begingroup + \let~\space + \edef\x{#2}% + \ifx\x\ErrMessage + \else + \msg{}% + \msg{[\ErrMessage]}% + \msg{<>}% + \msg{[\x]}% + \TestFailed#1{errmessage text}% + \fi + \edef\x{\the\ErrHelpToks}% + \edef\y{#3}% + \ifx\x\y + \else + \msg{}% + \msg{[\the\ErrHelpToks]}% + \msg{<>}% + \msg{[\y]}% + \TestFailed#1{errhelp text}% + \fi + \endgroup +} +\TestInfo +\TestWarning +\TestError +\end +\endinput +%% +%% End of file `infwarerr-test1.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test2.tex new file mode 100644 index 00000000000..c281acd6969 --- /dev/null +++ b/Master/texmf-dist/doc/latex/oberdiek/infwarerr-test2.tex @@ -0,0 +1,215 @@ +%% +%% This is file `infwarerr-test2.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% infwarerr.dtx (with options: `test2') +%% +%% This is a generated file. +%% +%% Copyright (C) 2007 by Heiko Oberdiek +%% +%% 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 infwarerr.dtx +%% and the derived files +%% infwarerr.sty, infwarerr.pdf, infwarerr.ins, infwarerr.drv, +%% infwarerr-test1.tex, infwarerr-test2.tex. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{infwarerr-test2.tex}[2007/04/26 v1.0 Test file for LaTeX] +\RequirePackage{infwarerr} +\makeatletter +\let\OrgWrite\write +\chardef\WriteUnused=\@unused +\def\msg#{\immediate\OrgWrite\WriteUnused} +\def\pkgname{PACKAGE} +\def\clsname{CLASS} +\def\msgtext{MESSAGE\MessageBreak SECOND LINE} +\def\hlptext{HELP\MessageBreak SECOND LINE} + +\let\OrgWrite\write +\let\OrgErrMessage\errmessage + +\def\write#1#{% + \@write{#1}% +} +\def\@write#1#2{% + \OrgWrite#1{#2}% + \xdef\WriteNum{\number#1}% + \xdef\WriteText{#2}% +} +\def\TestFailed#1#2{% + \OrgErrMessage{Test (\string#1) failed: #2}% +} +\def\TestWrite#1#2#3{% + \ifnum\WriteNum=#2\relax + \else + \TestFailed#1{write stream number: \WriteNum <> #2}% + \fi + \begingroup + \let~\space + \edef\TestString{#3}% + \ifx\WriteText\TestString + \else + \msg{}% + \msg{[\WriteText]}% + \msg{<>}% + \msg{[#3]}% + \TestFailed#1{write text}% + \fi + \endgroup +} +\newtoks\ErrHelpToks +\def\errmessage#1{% + \global\ErrHelpToks=\expandafter{\the\errhelp}% + \msg{**************** error message ****************}% + \msg{! #1}% + \msg{**************** help message *****************}% + \msg{\the\errhelp}% + \msg{***********************************************}% + \xdef\ErrMessage{! #1}% +} +\def\TestInfo{% + \@PackageInfo\pkgname\msgtext + \TestWrite\@PackageInfo{-1}{% + Package PACKAGE Info: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + }% + \@PackageInfoNoLine\pkgname\msgtext + \TestWrite\@PackageInfoNoLine{-1}{% + Package PACKAGE Info: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~SECOND LINE.% + }% + \@ClassInfo\clsname\msgtext + \TestWrite\@ClassInfo{-1}{% + Class CLASS Info: MESSAGE^^J% + (CLASS)~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + }% + \@ClassInfoNoLine\clsname\msgtext + \TestWrite\@ClassInfoNoLine{-1}{% + Class CLASS Info: MESSAGE^^J% + (CLASS)~~~~~~~~~~~SECOND LINE.% + }% +} +\def\TestWarning{% + \@PackageWarning\pkgname\msgtext + \TestWrite\@PackageWarning\WriteUnused{% + ^^J% + Package PACKAGE Warning: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + ^^J% + }% + \@PackageWarningNoLine\pkgname\msgtext + \TestWrite\@PackageWarningNoLine\WriteUnused{% + ^^J% + Package PACKAGE Warning: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.% + ^^J% + }% + \@ClassWarning\clsname\msgtext + \TestWrite\@ClassWarning\WriteUnused{% + ^^J% + Class CLASS Warning: MESSAGE^^J% + (CLASS)~~~~~~~~~~~~~~SECOND LINE on input line \the\inputlineno.% + ^^J% + }% + \@ClassWarningNoLine\clsname\msgtext + \TestWrite\@ClassWarningNoLine\WriteUnused{% + ^^J% + Class CLASS Warning: MESSAGE^^J% + (CLASS)~~~~~~~~~~~~~~SECOND LINE.% + ^^J% + }% +} +\def\TestError{% + \let\write\OrgWrite + \@PackageError\pkgname\msgtext\hlptext + \@TestError\@PackageError{% + ! Package PACKAGE Error: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the PACKAGE package documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + HELP^^J% + SECOND LINE% + }% + \@ClassError\clsname\msgtext\hlptext + \@TestError\@ClassError{% + ! Class CLASS Error: MESSAGE^^J% + (CLASS)~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the CLASS class documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + HELP^^J% + SECOND LINE% + }% + \@PackageError\pkgname\msgtext\@ehc + \@TestError\@PackageError{% + ! Package PACKAGE Error: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the PACKAGE package documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + Try typing~~~~to proceed.^^J% + If that doesn't work, type~~X ~~to quit.% + }% + \@PackageError\pkgname\msgtext\@ehd + \@TestError\@PackageError{% + ! Package PACKAGE Error: MESSAGE^^J% + (PACKAGE)~~~~~~~~~~~~~~~~SECOND LINE.^^J% + ^^J% + See the PACKAGE package documentation for explanation.^^J% + Type~~H ~~for immediate help% + }{% + You're in trouble here.~~Try typing~~~~to proceed.^^J% + If that doesn't work, type~~X ~~to quit.% + }% +} +\def\@TestError#1#2#3{% + \begingroup + \let~\space + \edef\x{#2}% + \@onelevel@sanitize\x + \@onelevel@sanitize\ErrMessage + \ifx\x\ErrMessage + \else + \msg{}% + \msg{[\ErrMessage]}% + \msg{<>}% + \msg{[\x]}% + \TestFailed#1{errmessage text}% + \fi + \edef\x{\the\ErrHelpToks}% + \edef\y{#3}% + \ifx\x\y + \else + \msg{}% + \msg{[\the\ErrHelpToks]}% + \msg{<>}% + \msg{[\y]}% + \TestFailed#1{errhelp text}% + \fi + \endgroup +} +\TestInfo +\TestWarning +\TestError +\@@end +\endinput +%% +%% End of file `infwarerr-test2.tex'. diff --git a/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf b/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf new file mode 100644 index 00000000000..1d97128d41e Binary files /dev/null and b/Master/texmf-dist/doc/latex/oberdiek/infwarerr.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf index 26cf82fdc67..af98c1fca3f 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf and b/Master/texmf-dist/doc/latex/oberdiek/inputenx.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf index cf0b11a60a0..65e9b605bc1 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf and b/Master/texmf-dist/doc/latex/oberdiek/kvoptions.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf index d8da8bfca69..0c9fc9b5efd 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf and b/Master/texmf-dist/doc/latex/oberdiek/kvsetkeys.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf index 76aa4776d0f..4f870d8b729 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf and b/Master/texmf-dist/doc/latex/oberdiek/makerobust.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf index 34c82fd9759..92a4ee6eba4 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf and b/Master/texmf-dist/doc/latex/oberdiek/oberdiek.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf index 95225242cef..d761b559f65 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pagesel.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf index 7024b9ac7c7..1f7e6af1a13 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdfcolfoot.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf index e784156ec76..f427ca42910 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdfcolmk.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf index cf69f532d39..cbe6bd2b8a6 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdfcrypt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test1.tex b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test1.tex index ba63700670b..6192ccfd13c 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test1.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test1.tex @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \makeatletter \ProvidesFile{pdfescape-test1.tex}% - [2007/04/11 v1.3 Test with \string\pdfescape... commands]% + [2007/04/21 v1.4 Test with \string\pdfescape... commands]% \@ifundefined{pdfescapehex}{% \PackageError{pdfescape-test1}{% Missing \string\pdfescape... commands% @@ -43,6 +43,14 @@ \LogTests{lgout}{*}{*} \newcommand*{\ExpectVar}[2]{% + \ifx#1#2% + \else + \begingroup + \@onelevel@sanitize#1% + \@onelevel@sanitize#2% + \typeout{[#1] <> [#2]}% + \endgroup + \fi \Expect*{\ifx#1#2true\else false\fi}{true}% } @@ -179,6 +187,40 @@ \ExpectVar\x\z \end{qstest} +\begin{qstest}{unhex-hash}{unescapehex, hash} + \catcode`\#=12 % + \EdefUnescapeHex\x{#20}% + \ExpectVar\x\space +\end{qstest} + +\begin{qstest}{unhex-invalid}{unescapehex, invalid} + \def\test#1#2{% + \EdefUnescapeHex\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \edef\x{\pdfunescapehex{4X}}% + \edef\y{\string @}% + \ifx\x\y + \else + \def~{\space}% + \typeout{************************************}% + \typeout{* Your pdfTeX contains bug 777.~~~~*}% + \typeout{* This test is redefined as dummy, *}% + \typeout{* because it triggers the bug.~~~~~*}% + \typeout{************************************}% + \def\test#1#2{}% + \fi + \test{X}{}% + \test{XY}{}% + \test{XYZ}{}% + \test{A}{^^a0}% + \test{AX}{^^a0}% + \test{XA}{^^a0}% + \test{XXAXX}{^^a0}% +\end{qstest} + \begin{qstest}{all-name}{\AllBytes, escapename} \EdefEscapeName\x{\AllBytes}% \Expect*{\x}*{\AllBytesName}% @@ -191,6 +233,154 @@ \ExpectVar\x\AllBytesString \end{qstest} +\begin{qstest}{uchexdigit}{unescape, uppercase hex digit} + \catcode`\@=11 % + \catcode0=12 % + \def\test#1#2{% + \uccode0=#1\relax + \uppercase{% + \def\x{^^@}% + }% + \Expect*{% + \ifcase\expandafter\PE@TestUcHexDigit\x + true% + \else + false% + \fi + }{#2}% + }% + \def\range#1#2#3{% + \count0=#1\relax + \loop + \ifnum\count0<#2\relax + \test{\count0}{#3}% + \advance\count0 by 1 % + \repeat + }% + \range{0}{47}{false}% + \range{48}{57}{true}% + \range{58}{64}{false}% + \range{65}{70}{true}% + \range{71}{255}{false}% +\end{qstest} + +\begin{qstest}{unescapename}{unescapename} + \def\test#1#2{% + \EdefUnescapeName\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \catcode`\#=12 % + \catcode0=12 % + \test{}{}% + \test{x}{x}% + \test{xy}{xy}% + \test{#}{#}% + \test{##}{##}% + \test{###}{###}% + \test{####}{####}% + \test{#x}{#x}% + \test{#xy}{#xy}% + \test{#1}{#1}% + \test{#40}{@}% + \test{#400}{@0}% + \test{#4x0}{#4x0}% + \test{#ab}{^^ab}% + \test{#00}{^^@}% + \test{x#40y#40z}{x@y@z}% + \test{#40#40#40#40}{@@@@}% + \test{a#x}{a#x}% + \test{a#xy}{a#xy}% + \test{a#1}{a#1}% + \test{a#40}{a@}% + \test{a#400}{a@0}% + \test{#20}{ }% + \test{a#20}{a }% + \test{a#20b}{a b}% + \test{a#20#20#20b}{a \space\space b}% +\end{qstest} + +\begin{qstest}{unescapestring}{unescapestring} + \def\test#1#2{% + \EdefUnescapeString\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \catcode0=12 % + \def\DefChar#1#2{% + \begingroup + \uccode0=#2\relax + \uppercase{\endgroup + \def#1{^^@}% + }% + }% + \DefChar\nul{0}% + \DefChar\one{1}% + \DefChar\bel{8}% + \DefChar\tab{9}% + \DefChar\lf{10}% + \DefChar\ff{12}% + \DefChar\cr{13}% + \DefChar\\{92}% + \test{}{}% + \test{a}{a}% + \test{\\}{}% + \test{\\\\}{\\}% + \test{\\\\y}{\\y}% + \test{\\000}{\nul}% + \test{\\b}{\bel}% + \test{\\t}{\tab}% + \test{\\n}{\lf}% + \test{\\f}{\ff}% + \test{\\r}{\cr}% + \test{\\(}{(}% + \test{\\)}{)}% + \test{\\040}{ }% + \test{\\100}{@}% + \test{\\40}{ }% + \test{\\1}{\one}% + \test{\\01}{\one}% + \test{\\001}{\one}% + \test{\\18}{\one8}% + \test{\\018}{\one8}% + \test{\\0018}{\one8}% + \test{x\\}{x}% + \test{x\\\\}{x\\}% + \test{x\\\\y}{x\\y}% + \test{x\\000}{x\nul}% + \test{x\\b}{x\bel}% + \test{x\\t}{x\tab}% + \test{x\\n}{x\lf}% + \test{x\\f}{x\ff}% + \test{x\\r}{x\cr}% + \test{x\\(}{x(}% + \test{x\\)}{x)}% + \test{x\\040}{x }% + \test{x\\100}{x@}% + \test{x\\40}{x }% + \test{x\\1}{x\one}% + \test{x\\01}{x\one}% + \test{x\\001}{x\one}% + \test{x\\18}{x\one8}% + \test{x\\018}{x\one8}% + \test{x\\0018}{x\one8}% + \test{\\b\\t\\n\\f\\r\\(\\)\\\\\\000\\040}{% + \bel\tab\lf\ff\cr()\\\nul\space + }% + \test{\\\lf}{}% + \test{x\\\lf}{x}% + \test{\cr}{\lf}% + \test{\cr\lf}{\lf}% + \test{\lf}{\lf}% + \test{\lf\cr}{\lf\lf}% + \test{x\cr}{x\lf}% + \test{x\cr\lf}{x\lf}% + \test{x\lf}{x\lf}% + \test{x\lf\cr}{x\lf\lf}% + \test{x\\\cr\lf y\cr}{xy\lf}% +\end{qstest} \stop \endinput %% diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test2.tex index 3890e6a1632..92872756884 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test2.tex @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \makeatletter \ProvidesFile{pdfescape-test2.tex}% - [2007/04/11 v1.3 Test without \string\pdfescape..., with e-TeX]% + [2007/04/21 v1.4 Test without \string\pdfescape..., with e-TeX]% \let\pdfescapehex\@undefined \let\pdfunescapehex\@undefined \let\pdfescapename\@undefined @@ -47,6 +47,14 @@ \LogTests{lgout}{*}{*} \newcommand*{\ExpectVar}[2]{% + \ifx#1#2% + \else + \begingroup + \@onelevel@sanitize#1% + \@onelevel@sanitize#2% + \typeout{[#1] <> [#2]}% + \endgroup + \fi \Expect*{\ifx#1#2true\else false\fi}{true}% } @@ -183,6 +191,28 @@ \ExpectVar\x\z \end{qstest} +\begin{qstest}{unhex-hash}{unescapehex, hash} + \catcode`\#=12 % + \EdefUnescapeHex\x{#20}% + \ExpectVar\x\space +\end{qstest} + +\begin{qstest}{unhex-invalid}{unescapehex, invalid} + \def\test#1#2{% + \EdefUnescapeHex\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \test{X}{}% + \test{XY}{}% + \test{XYZ}{}% + \test{A}{^^a0}% + \test{AX}{^^a0}% + \test{XA}{^^a0}% + \test{XXAXX}{^^a0}% +\end{qstest} + \begin{qstest}{all-name}{\AllBytes, escapename} \EdefEscapeName\x{\AllBytes}% \Expect*{\x}*{\AllBytesName}% @@ -195,6 +225,154 @@ \ExpectVar\x\AllBytesString \end{qstest} +\begin{qstest}{uchexdigit}{unescape, uppercase hex digit} + \catcode`\@=11 % + \catcode0=12 % + \def\test#1#2{% + \uccode0=#1\relax + \uppercase{% + \def\x{^^@}% + }% + \Expect*{% + \ifcase\expandafter\PE@TestUcHexDigit\x + true% + \else + false% + \fi + }{#2}% + }% + \def\range#1#2#3{% + \count0=#1\relax + \loop + \ifnum\count0<#2\relax + \test{\count0}{#3}% + \advance\count0 by 1 % + \repeat + }% + \range{0}{47}{false}% + \range{48}{57}{true}% + \range{58}{64}{false}% + \range{65}{70}{true}% + \range{71}{255}{false}% +\end{qstest} + +\begin{qstest}{unescapename}{unescapename} + \def\test#1#2{% + \EdefUnescapeName\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \catcode`\#=12 % + \catcode0=12 % + \test{}{}% + \test{x}{x}% + \test{xy}{xy}% + \test{#}{#}% + \test{##}{##}% + \test{###}{###}% + \test{####}{####}% + \test{#x}{#x}% + \test{#xy}{#xy}% + \test{#1}{#1}% + \test{#40}{@}% + \test{#400}{@0}% + \test{#4x0}{#4x0}% + \test{#ab}{^^ab}% + \test{#00}{^^@}% + \test{x#40y#40z}{x@y@z}% + \test{#40#40#40#40}{@@@@}% + \test{a#x}{a#x}% + \test{a#xy}{a#xy}% + \test{a#1}{a#1}% + \test{a#40}{a@}% + \test{a#400}{a@0}% + \test{#20}{ }% + \test{a#20}{a }% + \test{a#20b}{a b}% + \test{a#20#20#20b}{a \space\space b}% +\end{qstest} + +\begin{qstest}{unescapestring}{unescapestring} + \def\test#1#2{% + \EdefUnescapeString\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \catcode0=12 % + \def\DefChar#1#2{% + \begingroup + \uccode0=#2\relax + \uppercase{\endgroup + \def#1{^^@}% + }% + }% + \DefChar\nul{0}% + \DefChar\one{1}% + \DefChar\bel{8}% + \DefChar\tab{9}% + \DefChar\lf{10}% + \DefChar\ff{12}% + \DefChar\cr{13}% + \DefChar\\{92}% + \test{}{}% + \test{a}{a}% + \test{\\}{}% + \test{\\\\}{\\}% + \test{\\\\y}{\\y}% + \test{\\000}{\nul}% + \test{\\b}{\bel}% + \test{\\t}{\tab}% + \test{\\n}{\lf}% + \test{\\f}{\ff}% + \test{\\r}{\cr}% + \test{\\(}{(}% + \test{\\)}{)}% + \test{\\040}{ }% + \test{\\100}{@}% + \test{\\40}{ }% + \test{\\1}{\one}% + \test{\\01}{\one}% + \test{\\001}{\one}% + \test{\\18}{\one8}% + \test{\\018}{\one8}% + \test{\\0018}{\one8}% + \test{x\\}{x}% + \test{x\\\\}{x\\}% + \test{x\\\\y}{x\\y}% + \test{x\\000}{x\nul}% + \test{x\\b}{x\bel}% + \test{x\\t}{x\tab}% + \test{x\\n}{x\lf}% + \test{x\\f}{x\ff}% + \test{x\\r}{x\cr}% + \test{x\\(}{x(}% + \test{x\\)}{x)}% + \test{x\\040}{x }% + \test{x\\100}{x@}% + \test{x\\40}{x }% + \test{x\\1}{x\one}% + \test{x\\01}{x\one}% + \test{x\\001}{x\one}% + \test{x\\18}{x\one8}% + \test{x\\018}{x\one8}% + \test{x\\0018}{x\one8}% + \test{\\b\\t\\n\\f\\r\\(\\)\\\\\\000\\040}{% + \bel\tab\lf\ff\cr()\\\nul\space + }% + \test{\\\lf}{}% + \test{x\\\lf}{x}% + \test{\cr}{\lf}% + \test{\cr\lf}{\lf}% + \test{\lf}{\lf}% + \test{\lf\cr}{\lf\lf}% + \test{x\cr}{x\lf}% + \test{x\cr\lf}{x\lf}% + \test{x\lf}{x\lf}% + \test{x\lf\cr}{x\lf\lf}% + \test{x\\\cr\lf y\cr}{xy\lf}% +\end{qstest} \stop \endinput %% diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex index 83e1af9cae0..09de50d18dc 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \makeatletter \ProvidesFile{pdfescape-test3.tex}% - [2007/04/11 v1.3 Test without \string\pdfescape... and e-TeX]% + [2007/04/21 v1.4 Test without \string\pdfescape... and e-TeX]% \let\pdfescapehex\@undefined \let\pdfunescapehex\@undefined \let\pdfescapename\@undefined @@ -41,6 +41,14 @@ \LogTests{lgout}{*}{*} \newcommand*{\ExpectVar}[2]{% + \ifx#1#2% + \else + \begingroup + \@onelevel@sanitize#1% + \@onelevel@sanitize#2% + \typeout{[#1] <> [#2]}% + \endgroup + \fi \Expect*{\ifx#1#2true\else false\fi}{true}% } @@ -183,6 +191,28 @@ \ExpectVar\x\z \end{qstest} +\begin{qstest}{unhex-hash}{unescapehex, hash} + \catcode`\#=12 % + \EdefUnescapeHex\x{#20}% + \ExpectVar\x\space +\end{qstest} + +\begin{qstest}{unhex-invalid}{unescapehex, invalid} + \def\test#1#2{% + \EdefUnescapeHex\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \test{X}{}% + \test{XY}{}% + \test{XYZ}{}% + \test{A}{^^a0}% + \test{AX}{^^a0}% + \test{XA}{^^a0}% + \test{XXAXX}{^^a0}% +\end{qstest} + \begin{qstest}{all-name}{\AllBytes, escapename} \EdefEscapeName\x{\AllBytes}% \Expect*{\x}*{\AllBytesName}% @@ -195,6 +225,154 @@ \ExpectVar\x\AllBytesString \end{qstest} +\begin{qstest}{uchexdigit}{unescape, uppercase hex digit} + \catcode`\@=11 % + \catcode0=12 % + \def\test#1#2{% + \uccode0=#1\relax + \uppercase{% + \def\x{^^@}% + }% + \Expect*{% + \ifcase\expandafter\PE@TestUcHexDigit\x + true% + \else + false% + \fi + }{#2}% + }% + \def\range#1#2#3{% + \count0=#1\relax + \loop + \ifnum\count0<#2\relax + \test{\count0}{#3}% + \advance\count0 by 1 % + \repeat + }% + \range{0}{47}{false}% + \range{48}{57}{true}% + \range{58}{64}{false}% + \range{65}{70}{true}% + \range{71}{255}{false}% +\end{qstest} + +\begin{qstest}{unescapename}{unescapename} + \def\test#1#2{% + \EdefUnescapeName\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \catcode`\#=12 % + \catcode0=12 % + \test{}{}% + \test{x}{x}% + \test{xy}{xy}% + \test{#}{#}% + \test{##}{##}% + \test{###}{###}% + \test{####}{####}% + \test{#x}{#x}% + \test{#xy}{#xy}% + \test{#1}{#1}% + \test{#40}{@}% + \test{#400}{@0}% + \test{#4x0}{#4x0}% + \test{#ab}{^^ab}% + \test{#00}{^^@}% + \test{x#40y#40z}{x@y@z}% + \test{#40#40#40#40}{@@@@}% + \test{a#x}{a#x}% + \test{a#xy}{a#xy}% + \test{a#1}{a#1}% + \test{a#40}{a@}% + \test{a#400}{a@0}% + \test{#20}{ }% + \test{a#20}{a }% + \test{a#20b}{a b}% + \test{a#20#20#20b}{a \space\space b}% +\end{qstest} + +\begin{qstest}{unescapestring}{unescapestring} + \def\test#1#2{% + \EdefUnescapeString\x{#1}% + \edef\y{#2}% + \@onelevel@sanitize\y + \ExpectVar\x\y + }% + \catcode0=12 % + \def\DefChar#1#2{% + \begingroup + \uccode0=#2\relax + \uppercase{\endgroup + \def#1{^^@}% + }% + }% + \DefChar\nul{0}% + \DefChar\one{1}% + \DefChar\bel{8}% + \DefChar\tab{9}% + \DefChar\lf{10}% + \DefChar\ff{12}% + \DefChar\cr{13}% + \DefChar\\{92}% + \test{}{}% + \test{a}{a}% + \test{\\}{}% + \test{\\\\}{\\}% + \test{\\\\y}{\\y}% + \test{\\000}{\nul}% + \test{\\b}{\bel}% + \test{\\t}{\tab}% + \test{\\n}{\lf}% + \test{\\f}{\ff}% + \test{\\r}{\cr}% + \test{\\(}{(}% + \test{\\)}{)}% + \test{\\040}{ }% + \test{\\100}{@}% + \test{\\40}{ }% + \test{\\1}{\one}% + \test{\\01}{\one}% + \test{\\001}{\one}% + \test{\\18}{\one8}% + \test{\\018}{\one8}% + \test{\\0018}{\one8}% + \test{x\\}{x}% + \test{x\\\\}{x\\}% + \test{x\\\\y}{x\\y}% + \test{x\\000}{x\nul}% + \test{x\\b}{x\bel}% + \test{x\\t}{x\tab}% + \test{x\\n}{x\lf}% + \test{x\\f}{x\ff}% + \test{x\\r}{x\cr}% + \test{x\\(}{x(}% + \test{x\\)}{x)}% + \test{x\\040}{x }% + \test{x\\100}{x@}% + \test{x\\40}{x }% + \test{x\\1}{x\one}% + \test{x\\01}{x\one}% + \test{x\\001}{x\one}% + \test{x\\18}{x\one8}% + \test{x\\018}{x\one8}% + \test{x\\0018}{x\one8}% + \test{\\b\\t\\n\\f\\r\\(\\)\\\\\\000\\040}{% + \bel\tab\lf\ff\cr()\\\nul\space + }% + \test{\\\lf}{}% + \test{x\\\lf}{x}% + \test{\cr}{\lf}% + \test{\cr\lf}{\lf}% + \test{\lf}{\lf}% + \test{\lf\cr}{\lf\lf}% + \test{x\cr}{x\lf}% + \test{x\cr\lf}{x\lf}% + \test{x\lf}{x\lf}% + \test{x\lf\cr}{x\lf\lf}% + \test{x\\\cr\lf y\cr}{xy\lf}% +\end{qstest} \stop \endinput %% diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf index 953dbca8787..4a0d510d3a0 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdfescape.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf index 8219b7fb93e..bf8b50f20bc 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pdflscape.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf index 3fed31209f0..fbeccc6ac86 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/picture.pdf and b/Master/texmf-dist/doc/latex/oberdiek/picture.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf index a7b21f72e8a..5a4c7fa86d6 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf and b/Master/texmf-dist/doc/latex/oberdiek/pmboxdraw.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf index 101080fff16..a4d01487f29 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf and b/Master/texmf-dist/doc/latex/oberdiek/refcount.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-example.tex b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-example.tex index d77e0b68ad7..4cc1d35983b 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-example.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox-example.tex @@ -8,7 +8,8 @@ %% %% This is a generated file. %% -%% Copyright (C) 2005, 2006 by Heiko Oberdiek +%% Copyright (C) 2005, 2006, 2007 by +%% Heiko Oberdiek %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either diff --git a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf index 52089ad826d..41c40b33538 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf and b/Master/texmf-dist/doc/latex/oberdiek/setouterhbox.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf index 4d39a420733..5b81627525c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf and b/Master/texmf-dist/doc/latex/oberdiek/settobox.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf index 14215505294..b2225461fc4 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf and b/Master/texmf-dist/doc/latex/oberdiek/stackrel.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf index 392a3365f6e..330371a54ef 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf and b/Master/texmf-dist/doc/latex/oberdiek/tabularht.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf index 447eb4032fa..bdb9e8bea6c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf and b/Master/texmf-dist/doc/latex/oberdiek/tabularkv.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf index d30002f4022..096b21bd116 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf and b/Master/texmf-dist/doc/latex/oberdiek/telprint.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf index 322a46e0b2b..468a7f2028c 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf and b/Master/texmf-dist/doc/latex/oberdiek/transparent.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf index 7b16d92de9b..690ef774cbc 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf and b/Master/texmf-dist/doc/latex/oberdiek/twoopt.pdf differ diff --git a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf index 9852844d97e..c53c32a72be 100644 Binary files a/Master/texmf-dist/doc/latex/oberdiek/zref.pdf and b/Master/texmf-dist/doc/latex/oberdiek/zref.pdf differ -- cgit v1.2.3