diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-10 21:56:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-10 21:56:00 +0000 |
commit | 4f711ec63a6c65e74a08a634bc886ee54b2140fe (patch) | |
tree | 23e7907cc86a132ab95da3f8408a5ab5346b976b /Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx | |
parent | f5059243c2428b73d75e86f6917ce21b28f153df (diff) |
oberdiek update (10apr10)
git-svn-id: svn://tug.org/texlive/trunk@17792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx | 74 |
1 files changed, 38 insertions, 36 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx b/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx index 3d8813d1d44..52752d99621 100644 --- a/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/pdftexcmds.dtx @@ -206,7 +206,7 @@ and the derived files % \maketitle % % \begin{abstract} -% \LuaTeX\ provides most of the commands of \pdfTeX\ 1.40. However +% \hologo{LuaTeX} provides most of the commands of \hologo{pdfTeX} 1.40. However % a number of utility functions are removed. This package tries to fill % the gap and implements some of the missing primitive using Lua. % \end{abstract} @@ -217,9 +217,9 @@ and the derived files % % \section{Documentation} % -% Some primitives of \pdfTeX\ are not defined by \LuaTeX. +% Some primitives of \hologo{pdfTeX} are not defined by \hologo{LuaTeX}. % This package implements macro based solutions using Lua code -% for the following missing \pdfTeX\ primitives; +% for the following missing \hologo{pdfTeX} primitives; % \begin{compactitem} % \item \cs{pdfstrcmp} % \item \cs{pdfunescapehex} @@ -255,7 +255,7 @@ and the derived files % \end{quote} % \end{itemize} % -% \LuaTeX\ isn't stable yet and thus the status of this package is +% \hologo{LuaTeX} isn't stable yet and thus the status of this package is % \emph{experimental}. Feedback is welcome. % % \subsection{General principles} @@ -263,21 +263,21 @@ and the derived files % \begin{description} % \item[Naming convention:] % Usually this package defines a macro |\pdf@|\meta{cmd} if -% \pdfTeX\ provides |\pdf|\meta{cmd}. +% \hologo{pdfTeX} provides |\pdf|\meta{cmd}. % \item[Arguments:] The order of arguments in |\pdf@|\meta{cmd} -% is the same as for the corresponding primitive of \pdfTeX. -% The arguments are ordinary undelimited \TeX\ arguments, +% is the same as for the corresponding primitive of \hologo{pdfTeX}. +% The arguments are ordinary undelimited \hologo{TeX} arguments, % no \meta{general text} and without additional keywords. % \item[Expandibility:] % The macro |\pdf@|\meta{cmd} is expandable if the -% corresponding \pdfTeX\ primitive has this property. +% corresponding \hologo{pdfTeX} primitive has this property. % Exact two expansion steps are necessary (first is the macro % expansion) except for \cs{pdf@primitive} and \cs{pdf@ifprimitive}. % The latter ones are not macros, but have the direct meaning of the % primitive. -% \item[Without \LuaTeX:] +% \item[Without \hologo{LuaTeX}:] % The macros |\pdf@|\meta{cmd} are mapped to the commands -% of \pdfTeX\ if they are available. Otherwise they are undefined. +% of \hologo{pdfTeX} if they are available. Otherwise they are undefined. % \item[Availability:] % The macros that the packages provides are undefined, if % the necessary primitives are not found and cannot be @@ -301,7 +301,7 @@ and the derived files % \cs{pdf@escapestring} \M{string}\\ % \cs{pdf@escapename} \M{string} % \end{declcs} -% Same as the primitives of \pdfTeX. However \pdfTeX\ does not +% Same as the primitives of \hologo{pdfTeX}. However \hologo{pdfTeX} does not % know about characters with codes 256 and larger. Thus the % string is treated as byte string, characters with more than % eight bits are ignored. @@ -318,7 +318,7 @@ and the derived files % \end{declcs} % Same as |\pdffiledump offset| \meta{offset} |length| \meta{length} % |{|\meta{filename}|}|. Both \meta{offset} and \meta{length} must -% not be empty, but must be a valid \TeX\ number. +% not be empty, but must be a valid \hologo{TeX} number. % % \begin{declcs}{pdf@mdfivesum} \M{string} % \end{declcs} @@ -332,15 +332,15 @@ and the derived files % \begin{declcs}{pdf@shellescape} % \end{declcs} % Same as |\pdfshellescape|. It expands to |1| if external -% commands can be executed and |0| otherwise. In \pdfTeX\ external +% commands can be executed and |0| otherwise. In \hologo{pdfTeX} external % commands must be enabled first by command line option or -% configuration option. In \LuaTeX\ option |--safer| disables +% configuration option. In \hologo{LuaTeX} option |--safer| disables % the execution of external commands. % % \begin{declcs}{pdf@system} \M{cmdline} % \end{declcs} -% It is a wrapper for |\immediate\write18| in \pdfTeX\ or -% |os.execute| in \LuaTeX. +% It is a wrapper for |\immediate\write18| in \hologo{pdfTeX} or +% |os.execute| in \hologo{LuaTeX}. % % In theory |os.execute| % returns a status number. But its meaning is quite @@ -350,13 +350,15 @@ and the derived files % % \begin{declcs}{pdf@primitive} \csi{cmd} % \end{declcs} -% Same as \cs{pdfprimitive} in \pdfTeX\ or \LuaTeX. In \XeTeX\ the +% Same as \cs{pdfprimitive} in \hologo{pdfTeX} or \hologo{LuaTeX}. +% In \hologo{XeTeX} the % primitive is called \cs{primitive}. Despite the current definition % of the command \csi{cmd}, it's meaning as primitive is used. % % \begin{declcs}{pdf@ifprimitive} \csi{cmd} % \end{declcs} -% Same as \cs{ifpdfprimitive} in \pdfTeX\ or \LuaTeX. \XeTeX\ calls +% Same as \cs{ifpdfprimitive} in \hologo{pdfTeX} or +% \hologo{LuaTeX}. \hologo{XeTeX} calls % it \cs{ifprimitive}. It is a switch that checks if the command % \csi{cmd} has it's primitive meaning. % @@ -368,8 +370,8 @@ and the derived files % of \csi{cmd2}, then the argument \meta{true} is executed, otherwise % \meta{false}. The macro \cs{pdf@isprimitive} is expandable. % Internally it checks the result of \cs{meaning} and is therefore -% available for all \TeX\ variants, even the original \TeX. -% Example with \LaTeX: +% available for all \hologo{TeX} variants, even the original \hologo{TeX}. +% Example with \hologo{LaTeX}: %\begin{quote} %\begin{verbatim} %\makeatletter @@ -390,11 +392,11 @@ and the derived files % \cs{pdf@mdfivesumnative} \M{string} % \end{declcs} % The variants without |native| in the macro name are supposed to -% be compatible with \pdfTeX. However characters with more than -% eight bits are not supported and are ignored. If \LuaTeX\ is +% be compatible with \hologo{pdfTeX}. However characters with more than +% eight bits are not supported and are ignored. If \hologo{LuaTeX} is % running, then its UTF-8 coded strings are used. Thus the full % unicode character range is supported. However the result -% differs from \pdfTeX\ for characters with eight or more bits. +% differs from \hologo{pdfTeX} for characters with eight or more bits. % % \begin{declcs}{pdf@pipe} \M{cmdline} % \end{declcs} @@ -550,7 +552,7 @@ and the derived files \fi % \end{macrocode} % -% \subsection{Without \LuaTeX} +% \subsection{Without \hologo{LuaTeX}} % % \begin{macrocode} \ifluatex @@ -622,12 +624,12 @@ and the derived files % % \subsection{\cs{pdf@primitive}, \cs{pdf@ifprimitive}} % -% Since version 1.40.0 \pdfTeX\ has \cs{pdfprimitive} and +% Since version 1.40.0 \hologo{pdfTeX} has \cs{pdfprimitive} and % \cs{ifpdfprimitive}. And \cs{pdfprimitive} was fixed in % version 1.40.4. % -% \XeTeX\ provides them under the name \cs{primitive} and -% \cs{ifprimitive}. \LuaTeX\ knows both name variants, +% \hologo{XeTeX} provides them under the name \cs{primitive} and +% \cs{ifprimitive}. \hologo{LuaTeX} knows both name variants, % but they have possibly to be enabled first (|tex.enableprimitives|). % % Depending on the format TeX Live uses a prefix |luatex|. @@ -635,7 +637,7 @@ and the derived files % Caution: \cs{let} must be used for the definition of % the macros, especially because of \cs{ifpdfprimitive}. % -% \subsubsection{Using \LuaTeX's \texttt{tex.enableprimitives}} +% \subsubsection{Using \hologo{LuaTeX}'s \texttt{tex.enableprimitives}} % % \begin{macrocode} \ifluatex @@ -752,7 +754,7 @@ and the derived files \endgroup % \end{macrocode} % -% \subsection{Xe\TeX} +% \subsection{\hologo{XeTeX}} % % Look for primitives \cs{shellescape}, \cs{strcmp}. % \begin{macrocode} @@ -1131,7 +1133,7 @@ function escapehex(str, mode) ))) end % \end{macrocode} -% See procedure |unescapehex| in file \xfile{utils.c} of \pdfTeX. +% See procedure |unescapehex| in file \xfile{utils.c} of \hologo{pdfTeX}. % Caution: |tex.write| ignores leading spaces. % \begin{macrocode} function unescapehex(str, mode) @@ -1183,7 +1185,7 @@ function unescapehex(str, mode) tex.settoks(toks, string.char(unpack(result))) end % \end{macrocode} -% See procedure |escapestring| in file \xfile{utils.c} of \pdfTeX. +% See procedure |escapestring| in file \xfile{utils.c} of \hologo{pdfTeX}. % \begin{macrocode} function escapestring(str, mode) if mode == "byte" then @@ -1206,7 +1208,7 @@ function escapestring(str, mode) ))) end % \end{macrocode} -% See procedure |escapename| in file \xfile{utils.c} of \pdfTeX. +% See procedure |escapename| in file \xfile{utils.c} of \hologo{pdfTeX}. % \begin{macrocode} function escapename(str, mode) if mode == "byte" then @@ -1247,7 +1249,7 @@ function filesize(filename) end end % \end{macrocode} -% See procedure |makepdftime| in file \xfile{utils.c} of \pdfTeX. +% See procedure |makepdftime| in file \xfile{utils.c} of \hologo{pdfTeX}. % \begin{macrocode} function filemoddate(filename) local foundfile = kpse.find_file(filename, "tex", true) @@ -1719,13 +1721,13 @@ end % \begin{Version}{2009/04/10 v0.4} % \item % Adaptation for syntax change of \cs{directlua} in -% \LuaTeX\ 0.36. +% \hologo{LuaTeX} 0.36. % \end{Version} % \begin{Version}{2009/09/22 v0.5} % \item % \cs{pdf@primitive}, \cs{pdf@ifprimitive} added. % \item -% \XeTeX's variants are detected for +% \hologo{XeTeX}'s variants are detected for % \cs{pdf@shellescape}, \cs{pdf@strcmp}, \cs{pdf@primitive}, % \cs{pdf@ifprimitive}. % \end{Version} @@ -1744,7 +1746,7 @@ end % \begin{Version}{2010/04/01 v0.9} % \item % Use \cs{ifeof18} for defining \cs{pdf@shellescape} between -% \pdfTeX\ 1.21a (inclusive) and 1.30.0 (exclusive). +% \hologo{pdfTeX} 1.21a (inclusive) and 1.30.0 (exclusive). % \end{Version} % \end{History} % |