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/source/latex/oberdiek/pdfescape.dtx | |
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/source/latex/oberdiek/pdfescape.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx | 117 |
1 files changed, 79 insertions, 38 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx index 0f4cd5ff633..56419efe093 100644 --- a/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx @@ -60,7 +60,7 @@ % %<*ignore> \begingroup - \def\x{LaTeX2e} + \def\x{LaTeX2e}% \expandafter\endgroup \ifcase 0\ifx\install y1\fi\expandafter \ifx\csname processbatchFile\endcsname\relax\else1\fi @@ -71,7 +71,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: pdfescape 2006/02/25 v1.1 Provides hex, PDF name and string conversions (HO)} +\Msg{* Package: pdfescape 2007/04/11 v1.3 Provides hex, PDF name and string conversions (HO)} \Msg{************************************************************************} \keepsilent @@ -137,16 +137,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{pdfescape.drv}% - [2006/02/25 v1.1 Provides hex, PDF name and string conversions (HO)] + [2007/04/11 v1.3 Provides hex, PDF name and string conversions (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc} \begin{document} - \DocInput{pdfescape.dtx} + \DocInput{pdfescape.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{1075} +% \CheckSum{1074} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -167,7 +167,7 @@ and the derived files % \GetFileInfo{pdfescape.drv} % % \title{The \xpackage{pdfescape} package} -% \date{2006/02/25 v1.1} +% \date{2007/04/11 v1.3} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -264,7 +264,7 @@ and the derived files \fi \expandafter\x\csname ver@pdfescape.sty\endcsname \ProvidesPackage{pdfescape}% - [2006/02/25 v1.1 Provides hex, PDF name and string conversions (HO)] + [2007/04/11 v1.3 Provides hex, PDF name and string conversions (HO)] % \end{macrocode} % % \subsection{Preparations} @@ -789,7 +789,7 @@ and the derived files % \begin{macrocode} %<*test1> \ProvidesFile{pdfescape-test1.tex}% - [2006/02/25 v1.1 Test with \string\pdfescape... commands] + [2007/04/11 v1.3 Test with \string\pdfescape... commands]% %</test1> % \end{macrocode} % @@ -798,7 +798,7 @@ and the derived files % \begin{macrocode} %<*test2> \ProvidesFile{pdfescape-test2.tex}% - [2006/02/25 v1.1 Test without \string\pdfescape..., with e-TeX] + [2007/04/11 v1.3 Test without \string\pdfescape..., with e-TeX]% %</test2> % \end{macrocode} % @@ -807,7 +807,7 @@ and the derived files % \begin{macrocode} %<*test3> \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]% %</test3> % \end{macrocode} % @@ -863,12 +863,9 @@ and the derived files } \makeatletter - - \begingroup - \makeatletter - \gdef\AllBytes{} - \count@=0 + \gdef\AllBytes{}% + \count@=0 % \catcode0=12 % \@whilenum\count@<256 \do{% \lccode0=\count@ @@ -925,14 +922,14 @@ and the derived files #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 % @@ -954,7 +951,7 @@ and the derived files \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 @@ -971,52 +968,52 @@ and the derived files %</test3> \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} @@ -1028,13 +1025,47 @@ and the derived files % \end{macrocode} % \section{Installation} % -% \paragraph{CTAN.} This package is available on +% \subsection{Download} +% +% \paragraph{Package.} This package is available on % CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}: % \begin{description} % \item[\CTAN{macros/latex/contrib/oberdiek/pdfescape.dtx}] The source file. % \item[\CTAN{macros/latex/contrib/oberdiek/pdfescape.pdf}] Documentation. % \end{description} % +% +% \paragraph{Bundle.} All the packages of the bundle `oberdiek' +% are also available in a TDS compliant ZIP archive. There +% the packages are already unpacked and the documentation files +% are generated. The files and directories obey the TDS standard. +% \begin{description} +% \item[\CTAN{macros/latex/contrib/oberdiek/oberdiek-tds.zip}] +% \end{description} +% +% \subsection{Bundle installation} +% +% \paragraph{Unpacking.} Unpack the \xfile{oberdiek-tds.zip} in the +% TDS tree (also known as \xfile{texmf} tree) of your choice. +% Example (linux): +% \begin{quote} +% |unzip oberdiek-tds.zip -d ~/texmf| +% \end{quote} +% +% \paragraph{Script installation.} +% Check the directory \xfile{TDS:scripts/oberdiek/} for +% scripts that need further installation steps. +% Package \xpackage{attachfile2} comes with the Perl script +% \xfile{pdfatfi.pl} that should be installed in such a way +% that it can be called as \texttt{pdfatfi}. +% Example (linux): +% \begin{quote} +% |chmod +x scripts/oberdiek/pdfatfi.pl|\\ +% |cp scripts/oberdiek/pdfatfi.pl /usr/local/bin/| +% \end{quote} +% +% \subsection{Package installation} +% % \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting % \docstrip\ archive. The files are extracted by running the % \xfile{.dtx} through \plainTeX: @@ -1068,8 +1099,10 @@ and the derived files % TDS installing feature, then some files can already be in the right % place, see the documentation of \docstrip. % -% \paragraph{Refresh file databases.} If your \TeX~distribution -% (\teTeX, \mikTeX, \dots) rely on file databases, you must refresh +% \subsection{Refresh file name databases} +% +% If your \TeX~distribution +% (\teTeX, \mikTeX, \dots) relies on file name databases, you must refresh % these. For example, \teTeX\ users run \verb|texhash| or % \verb|mktexlsr|. % @@ -1143,6 +1176,14 @@ and the derived files % Fix: \cs{EdefEscapeHex} and \cs{EdefEscapeName} now generate % tokens with catcode 12 (other) only. % \end{Version} +% \begin{Version}{2007/03/20 v1.2} +% \item +% Fix: Wrong year in \cs{ProvidesPackage}. +% \end{Version} +% \begin{Version}{2007/04/11 v1.3} +% \item +% Line ends sanitized. +% \end{Version} % \end{History} % % \PrintIndex |