diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx b/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx index 5bedd5f7538..de8fdc78657 100644 --- a/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2007, 2009 by +% Copyright (C) 2007, 2009, 2010 by % Heiko Oberdiek <heiko.oberdiek at googlemail.com> % % This work may be distributed and/or modified under the @@ -65,6 +65,8 @@ % %<*ignore> \begingroup + \catcode123=1 % + \catcode125=2 % \def\x{LaTeX2e}% \expandafter\endgroup \ifcase 0\ifx\install y1\fi\expandafter @@ -76,7 +78,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)} +\Msg{* Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)} \Msg{************************************************************************} \keepsilent @@ -87,7 +89,7 @@ This is a generated file. -Copyright (C) 2007, 2009 by +Copyright (C) 2007, 2009, 2010 by Heiko Oberdiek <heiko.oberdiek at googlemail.com> This work may be distributed and/or modified under the @@ -126,7 +128,8 @@ and the derived files \file{ifluatex-test3.tex}{\from{ifluatex.dtx}{test-reload2}}% } -\obeyspaces +\catcode32=13\relax% active space +\let =\space% \Msg{************************************************************************} \Msg{*} \Msg{* To finish the installation you have to move the following} @@ -153,7 +156,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ifluatex.drv}% - [2009/04/17 v1.2 Provides the ifluatex switch (HO)]% + [2010/03/01 v1.3 Provides the ifluatex switch (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2008/08/11] \begin{document} @@ -183,7 +186,7 @@ and the derived files % \GetFileInfo{ifluatex.drv} % % \title{The \xpackage{ifluatex} package} -% \date{2009/04/17 v1.2} +% \date{2010/03/01 v1.3} % \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}} % % \maketitle @@ -300,7 +303,7 @@ and the derived files \fi \expandafter\x\csname ver@ifluatex.sty\endcsname \ProvidesPackage{ifluatex}% - [2009/04/17 v1.2 Provides the ifluatex switch (HO)] + [2010/03/01 v1.3 Provides the ifluatex switch (HO)] % \end{macrocode} % % \subsection{Catcodes} @@ -427,7 +430,7 @@ and the derived files \csname iftrue\endcsname \begingroup \newlinechar=10 % - \endlinechar=\newlinechar % + \endlinechar=\newlinechar% \ifnum0% \directlua{% if tex.enableprimitives then @@ -437,15 +440,15 @@ and the derived files }% \ifx\ifluatexluatexversion\@undefined\else 1\fi % =11 % - \global\let\luatexversion\ifluatexluatexversion % - \else % + \global\let\luatexversion\ifluatexluatexversion% + \else% \ifluatex@Error{% Missing \string\luatexversion% }{% Update LuaTeX.% }% - \fi % - \endgroup % + \fi% + \endgroup% \fi \fi % \end{macrocode} @@ -460,7 +463,7 @@ and the derived files \let\luatexrevision\@undefined \fi \newlinechar=10 % - \endlinechar=\newlinechar % + \endlinechar=\newlinechar% \ifcase0% \directlua{% if tex.enableprimitives then @@ -469,11 +472,11 @@ and the derived files tex.print('1') end }% - \ifx\ifluatexluatexrevision\@undefined 1\fi % - \relax % - \global\let\luatexrevision\ifluatexluatexrevision - \fi - \endgroup + \ifx\ifluatexluatexrevision\@undefined 1\fi% + \relax% + \global\let\luatexrevision\ifluatexluatexrevision% + \fi% + \endgroup% \fi \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname luatexrevision\endcsname\relax @@ -821,6 +824,10 @@ and the derived files % \item % Makes \cs{luatexrevision} available, too. % \end{Version} +% \begin{Version}{2010/03/01 v1.3} +% \item +% Line ends fixed in case \cs{endlinechar} = \cs{newlinechar}. +% \end{Version} % \end{History} % % \PrintIndex |