diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx b/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx index db7de6a05a4..eabc0aa26b3 100644 --- a/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/ifpdf.dtx @@ -1,24 +1,50 @@ % \iffalse %% Source File: ifpdf.dtx -%% Copyright 2016 Heiko Oberdiek and LaTeX3 project +%% Copyright 2016-2017 Heiko Oberdiek and LaTeX3 project %% %% This file may be distributed under the terms of the LPPL. -%% See README for details. +%% https://www.latex-project.org/lppl/ % +%<*ignore> +\ifx\ProvidesFile\undefined\let\install y\fi +\ifx\install y\else +\long\def\tmp#1\endbatchfile{} +\expandafter\tmp +\fi +%</ignore> +%<*install> +\input docstrip +\keepsilent +\preamble +\endpreamble + +\askforoverwritefalse + +\generate{ +%<*ignore> +\file{ifpdf.ins}{\from{ifpdf.dtx}{install}} +%</ignore> +\file{ifpdf.sty}{\from{ifpdf.dtx}{package}} +} + +\endbatchfile +%</install> %<*dtx> \ProvidesFile{ifpdf.dtx} %</dtx> +%<*!install> %<package>\ifx\ProvidesPackage\undefined %<package>\def\next#1#2[#3]{\wlog{#2 #3}\expandafter\gdef -%<package>\csname ver@ifpdf.sty\endcsname{#3}} +%<package>\csname ver\string @ifpdf.sty\endcsname{#3}} %<package>\expandafter\next\fi %<package>\ProvidesPackage{ifpdf} %<driver> \ProvidesFile{ifpdf.drv} % \fi % \ProvidesFile{ifpdf.dtx} -[2016/05/14 v3.1 Provides the ifpdf switch] -% +[2017/03/15 v3.2 Provides the ifpdf switch] % \iffalse +%</!install> +% %<*driver> \documentclass{ltxdoc} \usepackage{hyperref} @@ -111,3 +137,5 @@ end % \endinput % 2016/04/04 v3.0 rewrite to be self standing and work with new luatex/ % 2016/05/14 v3.1 define ver@ifpdf.sty in plain tex. +% 2017/03/15 v3.2 define ver\string@ifpdf.sty in amstex tex. +% https://github.com/ho-tex/oberdiek/issues/23 |