diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx | 99 |
1 files changed, 81 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx b/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx index bf464a0acd9..09d191305ab 100644 --- a/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/epstopdf.dtx @@ -69,12 +69,13 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: epstopdf 2007/10/02 v1.5 Conversion with epstopdf on the fly (HO)} +\Msg{* Package: epstopdf 2007/11/11 v1.6 Conversion with epstopdf on the fly (HO)} \Msg{************************************************************************} \keepsilent \askforoverwritefalse +\let\MetaPrefix\relax \preamble This is a generated file. @@ -100,6 +101,7 @@ and the derived files epstopdf-test1.tex. \endpreamble +\let\MetaPrefix\DoubleperCent \generate{% \file{epstopdf.ins}{\from{epstopdf.dtx}{install}}% @@ -118,6 +120,10 @@ and the derived files \Msg{*} \Msg{* epstopdf.sty} \Msg{*} +\Msg{* And install the following script file:} +\Msg{*} +\Msg{* } +\Msg{*} \Msg{* To produce the documentation run the file `epstopdf.drv'} \Msg{* through LaTeX.} \Msg{*} @@ -133,16 +139,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{epstopdf.drv}% - [2007/10/02 v1.5 Conversion with epstopdf on the fly (HO)]% + [2007/11/11 v1.6 Conversion with epstopdf on the fly (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2007/10/21] +\usepackage{holtxdoc}[2007/11/11] \begin{document} \DocInput{epstopdf.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{513} +% \CheckSum{607} % % \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 @@ -163,7 +169,7 @@ and the derived files % \GetFileInfo{epstopdf.drv} % % \title{The \xpackage{epstopdf} package} -% \date{2007/10/02 v1.5} +% \date{2007/11/11 v1.6} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -421,6 +427,9 @@ and the derived files \fi \fi \else + \catcode35 6 % # + \catcode123 1 % { + \catcode125 2 % } \expandafter\ifx\csname PackageInfo\endcsname\relax \def\x#1#2{% \immediate\write-1{Package #1 Info: #2.}% @@ -437,6 +446,7 @@ and the derived files % Package identification: % \begin{macrocode} \begingroup + \catcode35 6 % # \catcode40 12 % ( \catcode41 12 % ) \catcode44 12 % , @@ -445,6 +455,8 @@ and the derived files \catcode47 12 % / \catcode58 12 % : \catcode64 11 % @ + \catcode123 1 % { + \catcode125 2 % } \expandafter\ifx\csname ProvidesPackage\endcsname\relax \def\x#1#2#3[#4]{\endgroup \immediate\write-1{Package: #3 #4}% @@ -460,16 +472,28 @@ and the derived files \fi \expandafter\x\csname ver@epstopdf.sty\endcsname \ProvidesPackage{epstopdf}% - [2007/10/02 v1.5 Conversion with epstopdf on the fly (HO)] + [2007/11/11 v1.6 Conversion with epstopdf on the fly (HO)] % \end{macrocode} % % \subsubsection{Catcodes} % % \begin{macrocode} -\expandafter\edef\csname ETE@AtEnd\endcsname{% - \catcode64 \the\catcode64\relax -} +\begingroup + \catcode123 1 % { + \catcode125 2 % } + \def\x{\endgroup + \expandafter\edef\csname ETE@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{% \edef\ETE@AtEnd{% \ETE@AtEnd @@ -497,6 +521,7 @@ and the derived files \RequirePackage{infwarerr}[2007/09/09] \RequirePackage{grfext}\relax \RequirePackage{kvoptions}[2007/10/02] +\RequirePackage{pdftexcmds}[2007/11/11] % \end{macrocode} % % \subsection{Checks} @@ -539,9 +564,9 @@ and the derived files % % \begin{macrocode} \begingroup - \expandafter\ifx\csname pdfshellescape\endcsname\relax + \expandafter\ifx\csname pdf@shellescape\endcsname\relax \else - \ifnum\pdfshellescape>0 % + \ifnum\pdf@shellescape>0 % \else \@PackageWarningNoLine{epstopdf}{% Shell escape feature is not enabled% @@ -574,7 +599,7 @@ and the derived files % % \begin{macrocode} \begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdffilemoddate\endcsname\relax +\expandafter\ifx\csname pdf@filemoddate\endcsname\relax \def\ETE@Make#1#2{% \ifETE@update \ETE@WarnModDate @@ -592,7 +617,7 @@ and the derived files \else \def\ETE@Make#1#2{% \ifETE@update - \ifnum\pdfstrcmp{\pdffilemoddate{#1}}{\pdffilemoddate{#2}}>0 % + \ifnum\pdf@strcmp{\pdf@filemoddate{#1}}{\pdf@filemoddate{#2}}>0 % \expandafter\expandafter\expandafter\@firstofone \else \@PackageInfoNoLine{epstopdf}{% @@ -606,8 +631,10 @@ and the derived files }% \def\ETE@FileInfo#1#2{% #1 file: <#2>% - \expandafter\ETE@Date\pdffilemoddate{#2}\@nil - \expandafter\ETE@Size\pdffilesize{#2}\@nil + \expandafter\expandafter\expandafter + \ETE@Date\pdf@filemoddate{#2}\@nil + \expandafter\expandafter\expandafter + \ETE@Size\pdf@filesize{#2}\@nil }% \def\ETE@Date#1\@nil{% \ifx\\#1\\% @@ -685,7 +712,7 @@ and the derived files }% \fi \ETE@Make\SourceFile\OutputFile{% - \immediate\write18{\CommandLine}% + \pdf@system{\CommandLine}% \ifETE@verbose \@PackageInfoNoLine{epstopdf}{% \ETE@FileInfo{Result}\OutputFile @@ -776,7 +803,39 @@ and the derived files %<*test1> % \end{macrocode} % \begin{macrocode} +\catcode`\{=1 % +\catcode`\}=2 % +\catcode`\#=6 % \catcode`\@=11 % +\expandafter\ifx\csname count@\endcsname\relax + \countdef\count@=255 % +\fi +\expandafter\ifx\csname @gobble\endcsname\relax + \long\def\@gobble#1{}% +\fi +\expandafter\ifx\csname @firstofone\endcsname\relax + \long\def\@firstofone#1{#1}% +\fi +\expandafter\ifx\csname loop\endcsname\relax + \expandafter\@firstofone +\else + \expandafter\@gobble +\fi +{% + \def\loop#1\repeat{% + \def\body{#1}% + \iterate + }% + \def\iterate{% + \body + \let\next\iterate + \else + \let\next\relax + \fi + \next + }% + \let\repeat=\fi +}% \def\RestoreCatcodes{} \count@=0 % \loop @@ -785,7 +844,7 @@ and the derived files \catcode\the\count@=\the\catcode\count@\relax }% \ifnum\count@<255 % - \advance\count@\@ne + \advance\count@ 1 % \repeat \def\RangeCatcodeInvalid#1#2{% @@ -793,7 +852,7 @@ and the derived files \loop \catcode\count@=15 % \ifnum\count@<#2\relax - \advance\count@\@ne + \advance\count@ 1 % \repeat } \def\Test{% @@ -1047,6 +1106,10 @@ and the derived files % \item % Configuration file support added. % \end{Version} +% \begin{Version}{2007/11/11 v1.6} +% \item +% Use of package \xpackage{pdftexcmds} for \LuaTeX\ support. +% \end{Version} % \end{History} % % \PrintIndex |