diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx | 71 |
1 files changed, 57 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx b/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx index 6d1a9778135..4252d6a05fa 100644 --- a/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: ifpdf.dtx % Version: 2011/01/30 v2.3 -% +% Info: Provides the ifpdf switch +% % Copyright (C) 2001, 2005-2011 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,22 +16,22 @@ % 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 ifpdf.dtx % and the derived files % ifpdf.sty, ifpdf.pdf, ifpdf.ins, ifpdf.drv, ifpdf-test1.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/ifpdf.dtx % CTAN:macros/latex/contrib/oberdiek/ifpdf.pdf -% +% % Unpacking: % (a) If ifpdf.ins is present: % tex ifpdf.ins @@ -39,7 +40,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{ifpdf.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If ifpdf.drv is present: % latex ifpdf.drv @@ -49,14 +50,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 ifpdf.dtx % makeindex -s gind.ist ifpdf.idx % pdflatex ifpdf.dtx % makeindex -s gind.ist ifpdf.idx % pdflatex ifpdf.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/ifpdf.sty % TDS:doc/latex/oberdiek/ifpdf.pdf @@ -126,6 +127,10 @@ and the derived files \file{ifpdf.sty}{\from{ifpdf.dtx}{package}}% \usedir{doc/latex/oberdiek/test}% \file{ifpdf-test1.tex}{\from{ifpdf.dtx}{test1}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{ifpdf.xml}{\from{ifpdf.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -154,14 +159,14 @@ and the derived files \ProvidesFile{ifpdf.drv}% [2011/01/30 v2.3 Provides the ifpdf switch (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{ifpdf.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{593} +% \CheckSum{600} % % \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 @@ -926,6 +931,44 @@ 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{ifpdf.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='ifpdf'> + <name>ifpdf</name> + <caption>Provides the \ifpdf conditional.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2001,2005-2011'/> + <license type='lppl1.3'/> + <version number='2.3'/> + <description> + This package looks for pdfTeX in pdf mode and implements and + sets the switch <tt>\ifpdf</tt>. The detection is based on the + value of <tt>\pdfoutput</tt> (which the package will not + change). The package works with plain or LaTeX formats. To use + it with LaTeX simply <tt>\usepackage{ifpdf}</tt>. Then use + <tt>\ifpdf ... \else ... \fi</tt>. + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/ifpdf.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/ifpdf.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{History} % \begin{Version}{2001/06/14 v1.0} % \item |