summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx49
1 files changed, 34 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx b/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx
index 5171ac2a17e..b57088ea189 100644
--- a/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/pdfescape.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2007 by
+% Copyright (C) 2007, 2010 by
% Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%
% This work may be distributed and/or modified under the
@@ -69,6 +69,8 @@
%
%<*ignore>
\begingroup
+ \catcode123=1 %
+ \catcode125=2 %
\def\x{LaTeX2e}%
\expandafter\endgroup
\ifcase 0\ifx\install y1\fi\expandafter
@@ -80,7 +82,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: pdfescape 2007/11/11 v1.8 Provides hex, PDF name and string conversions (HO)}
+\Msg{* Package: pdfescape 2010/03/01 v1.9 Provides hex, PDF name and string conversions (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -91,7 +93,7 @@
This is a generated file.
-Copyright (C) 2007 by
+Copyright (C) 2007, 2010 by
Heiko Oberdiek <heiko.oberdiek at googlemail.com>
This work may be distributed and/or modified under the
@@ -134,7 +136,8 @@ and the derived files
\file{pdfescape-test5.tex}{\from{pdfescape.dtx}{test5}}%
}
-\obeyspaces
+\catcode32=13\relax% active space
+\let =\space%
\Msg{************************************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
@@ -161,7 +164,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{pdfescape.drv}%
- [2007/11/11 v1.8 Provides hex, PDF name and string conversions (HO)]%
+ [2010/03/01 v1.9 Provides hex, PDF name and string conversions (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -170,7 +173,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{1993}
+% \CheckSum{2015}
%
% \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
@@ -191,7 +194,7 @@ and the derived files
% \GetFileInfo{pdfescape.drv}
%
% \title{The \xpackage{pdfescape} package}
-% \date{2007/11/11 v1.8}
+% \date{2010/03/01 v1.9}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -336,16 +339,28 @@ and the derived files
\fi
\expandafter\x\csname ver@pdfescape.sty\endcsname
\ProvidesPackage{pdfescape}%
- [2007/11/11 v1.8 Provides hex, PDF name and string conversions (HO)]
+ [2010/03/01 v1.9 Provides hex, PDF name and string conversions (HO)]
% \end{macrocode}
%
% \subsection{Catcodes}
%
% \begin{macrocode}
-\expandafter\edef\csname PE@AtEnd\endcsname{%
- \catcode64 \the\catcode64\relax
-}
+\begingroup
+ \catcode123 1 % {
+ \catcode125 2 % }
+ \def\x{\endgroup
+ \expandafter\edef\csname PE@AtEnd\endcsname{%
+ \catcode35 \the\catcode35\relax
+ \catcode64 \the\catcode64\relax
+ \catcode123 \the\catcode123\relax
+ \catcode125 \the\catcode125\relax
+ }%
+ }%
+\x
+\catcode35 6 % #
\catcode64 11 % @
+\catcode123 1 % {
+\catcode125 2 % }
\def\TMP@EnsureCode#1#2#3{%
\edef\PE@AtEnd{%
\PE@AtEnd
@@ -1317,7 +1332,7 @@ and the derived files
% \begin{macrocode}
%<*test2>
\ProvidesFile{pdfescape-test2.tex}%
- [2007/11/11 v1.8 Test with \string\pdfescape... commands]%
+ [2010/03/01 v1.9 Test with \string\pdfescape... commands]%
%</test2>
% \end{macrocode}
%
@@ -1326,7 +1341,7 @@ and the derived files
% \begin{macrocode}
%<*test3>
\ProvidesFile{pdfescape-test3.tex}%
- [2007/11/11 v1.8 Test without \string\pdfescape..., with e-TeX]%
+ [2010/03/01 v1.9 Test without \string\pdfescape..., with e-TeX]%
%</test3>
% \end{macrocode}
%
@@ -1335,7 +1350,7 @@ and the derived files
% \begin{macrocode}
%<*test4>
\ProvidesFile{pdfescape-test4.tex}%
- [2007/11/11 v1.8 Test without \string\pdfescape... and e-TeX]%
+ [2010/03/01 v1.9 Test without \string\pdfescape... and e-TeX]%
%</test4>
% \end{macrocode}
%
@@ -1344,7 +1359,7 @@ and the derived files
% \begin{macrocode}
%<*test5>
\ProvidesFile{pdfescape-test5.tex}%
- [2007/11/11 v1.8 Test with LuaTeX]%
+ [2010/03/01 v1.9 Test with LuaTeX]%
%</test5>
% \end{macrocode}
%
@@ -2003,6 +2018,10 @@ and the derived files
% \item
% Use of package \xpackage{pdftexcmds} for \LuaTeX\ support.
% \end{Version}
+% \begin{Version}{2010/03/01 v1.9}
+% \item
+% Compatibility with \iniTeX.
+% \end{Version}
% \end{History}
%
% \PrintIndex