diff options
author | Karl Berry <karl@freefriends.org> | 2007-04-11 23:02:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-04-11 23:02:14 +0000 |
commit | 6858df01ea6ebb32f4be0f68e4b2e03d8713f38f (patch) | |
tree | d0466192a4c6ae7f99e95d2e6e9b613ebcb73d3d /Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex | |
parent | 59314283a9039be6cceb0bbee8600837477c9058 (diff) |
oberdiek: accsupp, atenddvi, hycolor, iflang (11apr07)
git-svn-id: svn://tug.org/texlive/trunk@4149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/pdfescape-test3.tex index d2911c01dbf..83e1af9cae0 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}% - [2006/02/25 v1.1 Test without \string\pdfescape... and e-TeX] + [2007/04/11 v1.3 Test without \string\pdfescape... and e-TeX]% \let\pdfescapehex\@undefined \let\pdfunescapehex\@undefined \let\pdfescapename\@undefined @@ -45,11 +45,9 @@ } \makeatletter - \begingroup - \makeatletter - \gdef\AllBytes{} - \count@=0 + \gdef\AllBytes{}% + \count@=0 % \catcode0=12 % \@whilenum\count@<256 \do{% \lccode0=\count@ @@ -106,14 +104,14 @@ #D0#D1#D2#D3#D4#D5#D6#D7#D8#D9#DA#DB#DC#DD#DE#DF% #E0#E1#E2#E3#E4#E5#E6#E7#E8#E9#EA#EB#EC#ED#EE#EF% #F0#F1#F2#F3#F4#F5#F6#F7#F8#F9#FA#FB#FC#FD#FE#FF% - } + }% \endgroup \@onelevel@sanitize\AllBytesName \newcommand*{\AllBytesString}{} \begingroup - \def\|{|} - \edef\%{\@percentchar} + \def\|{|}% + \edef\%{\@percentchar}% \catcode`\|=0 % \catcode`\#=12 % \catcode`\~=12 % @@ -135,7 +133,7 @@ \320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337% \340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357% \360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377% - } + }% |endgroup \@onelevel@sanitize\AllBytesString @@ -148,52 +146,52 @@ \let\numexpr\org@numexpr \begin{qstest}{all-hex}{\AllBytes, escapehex} - \EdefEscapeHex\x{\AllBytes} + \EdefEscapeHex\x{\AllBytes}% \Expect*{\x}*{\AllBytesHex}% \ExpectVar\x\AllBytesHex \end{qstest} \begin{qstest}{all-unhex}{\AllBytesHex, unescapehex} - \EdefUnescapeHex\x{\AllBytesHex} - \Expect*{\x}*{\AllBytes} + \EdefUnescapeHex\x{\AllBytesHex}% + \Expect*{\x}*{\AllBytes}% \ExpectVar\x\AllBytes \end{qstest} \begin{qstest}{all-unhex-lc}{\AllBytesHexLC, unescapehex, lowercase} - \EdefUnescapeHex\x{\AllBytesHexLC} - \Expect*{\x}*{\AllBytes} + \EdefUnescapeHex\x{\AllBytesHexLC}% + \Expect*{\x}*{\AllBytes}% \ExpectVar\x\AllBytes \end{qstest} \begin{qstest}{unhex-incomplete}{unescapehex, incomplete} - \EdefUnescapeHex\x{4} - \Expect*{\x}{@} + \EdefUnescapeHex\x{4}% + \Expect*{\x}{@}% \end{qstest} \begin{qstest}{unhex-space}{unescapehex, space} - \EdefUnescapeHex\x{20} - \Expect*{\x}{ } + \EdefUnescapeHex\x{20}% + \Expect*{\x}{ }% \ExpectVar\x\space \end{qstest} \begin{qstest}{unhex-spaces}{unescapehex, spaces} - \EdefUnescapeHex\x{204020204120} + \EdefUnescapeHex\x{204020204120}% \def\y#1{% \edef\z{#1\string @#1#1\string A#1}% - }\y{ } - \Expect*{\x}*{\z} + }\y{ }% + \Expect*{\x}*{\z}% \ExpectVar\x\z \end{qstest} \begin{qstest}{all-name}{\AllBytes, escapename} - \EdefEscapeName\x{\AllBytes} - \Expect*{\x}*{\AllBytesName} + \EdefEscapeName\x{\AllBytes}% + \Expect*{\x}*{\AllBytesName}% \ExpectVar\x\AllBytesName \end{qstest} \begin{qstest}{all-string}{\AllBytes, escapestring} - \EdefEscapeString\x{\AllBytes} - \Expect*{\x}*{\AllBytesString} + \EdefEscapeString\x{\AllBytes}% + \Expect*{\x}*{\AllBytesString}% \ExpectVar\x\AllBytesString \end{qstest} |