diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx | 68 |
1 files changed, 54 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx b/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx index eb8eb494439..f6eefff4e0f 100644 --- a/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/ifluatex.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: ifluatex.dtx % Version: 2010/03/01 v1.3 -% +% Info: Provides the ifluatex switch +% % Copyright (C) 2007, 2009, 2010 by % Heiko Oberdiek <heiko.oberdiek at googlemail.com> -% +% % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3c of this license or (at your option) any later @@ -15,23 +16,23 @@ % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of % LaTeX version 2005/12/01 or later. -% +% % This work has the LPPL maintenance status "maintained". -% +% % This Current Maintainer of this work is Heiko Oberdiek. -% +% % The Base Interpreter refers to any `TeX-Format', % because some files are installed in TDS:tex/generic//. -% +% % This work consists of the main source file ifluatex.dtx % and the derived files % ifluatex.sty, ifluatex.pdf, ifluatex.ins, ifluatex.drv, % ifluatex-test1.tex, ifluatex-test2.tex, ifluatex-test3.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/ifluatex.dtx % CTAN:macros/latex/contrib/oberdiek/ifluatex.pdf -% +% % Unpacking: % (a) If ifluatex.ins is present: % tex ifluatex.ins @@ -40,7 +41,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{ifluatex.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If ifluatex.drv is present: % latex ifluatex.drv @@ -50,14 +51,14 @@ % if available. Here you can specify further options, e.g. % use A4 as paper format: % \PassOptionsToClass{a4paper}{article} -% +% % Programm calls to get the documentation (example): % pdflatex ifluatex.dtx % makeindex -s gind.ist ifluatex.idx % pdflatex ifluatex.dtx % makeindex -s gind.ist ifluatex.idx % pdflatex ifluatex.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/ifluatex.sty % TDS:doc/latex/oberdiek/ifluatex.pdf @@ -132,6 +133,10 @@ and the derived files \file{ifluatex-test1.tex}{\from{ifluatex.dtx}{test1}}% \file{ifluatex-test2.tex}{\from{ifluatex.dtx}{test-reload1}}% \file{ifluatex-test3.tex}{\from{ifluatex.dtx}{test-reload2}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{ifluatex.xml}{\from{ifluatex.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -160,14 +165,14 @@ and the derived files \ProvidesFile{ifluatex.drv}% [2010/03/01 v1.3 Provides the ifluatex switch (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{ifluatex.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{568} +% \CheckSum{570} % % \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 @@ -842,6 +847,41 @@ and the derived files %\end{verbatim} % \end{quote} % +% \section{Catalogue} +% +% The following XML file can be used as source for the +% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}. +% The elements \texttt{caption} and \texttt{description} are imported +% from the original XML file from the Catalogue. +% The name of the XML file in the Catalogue is \xfile{ifluatex.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='ifluatex'> + <name>ifluatex</name> + <caption>Provides the \ifluatex switch.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2007,2009,2010'/> + <license type='lppl1.3'/> + <version number='1.3'/> + <description> + The package looks for LuaTeX regardless of its mode and provides + the switch <tt>\ifluatex</tt>; it works with Plain TeX or LaTeX. + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> + bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/ifluatex.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/ifluatex.dtx'/> + <miktex location='oberdiek'/> + <texlive location='ifluatex'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{History} % \begin{Version}{2007/12/12 v1.0} % \item |