diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/grffile.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/grffile.dtx | 156 |
1 files changed, 129 insertions, 27 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/grffile.dtx b/Master/texmf-dist/source/latex/oberdiek/grffile.dtx index f2e7e30bc33..fc0e87ae098 100644 --- a/Master/texmf-dist/source/latex/oberdiek/grffile.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/grffile.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: grffile.dtx -% Version: 2010/12/09 v1.13 -% -% Copyright (C) 2006-2010 by +% Version: 2012/04/05 v1.16 +% Info: Extended file name support for graphics +% +% Copyright (C) 2006-2012 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,20 +16,20 @@ % 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. -% +% % This work consists of the main source file grffile.dtx % and the derived files % grffile.sty, grffile.pdf, grffile.ins, grffile.drv, % grffile-test1.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/grffile.dtx % CTAN:macros/latex/contrib/oberdiek/grffile.pdf -% +% % Unpacking: % (a) If grffile.ins is present: % tex grffile.ins @@ -37,7 +38,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{grffile.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If grffile.drv is present: % latex grffile.drv @@ -47,14 +48,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 grffile.dtx % makeindex -s gind.ist grffile.idx % pdflatex grffile.dtx % makeindex -s gind.ist grffile.idx % pdflatex grffile.dtx -% +% % Installation: % TDS:tex/latex/oberdiek/grffile.sty % TDS:doc/latex/oberdiek/grffile.pdf @@ -76,7 +77,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: grffile 2010/12/09 v1.13 Extended file name support for graphics (HO)} +\Msg{* Package: grffile 2012/04/05 v1.16 Extended file name support for graphics (HO)} \Msg{************************************************************************} \keepsilent @@ -88,9 +89,9 @@ This is a generated file. Project: grffile -Version: 2010/12/09 v1.13 +Version: 2012/04/05 v1.16 -Copyright (C) 2006-2010 by +Copyright (C) 2006-2012 by Heiko Oberdiek <heiko.oberdiek at googlemail.com> This work may be distributed and/or modified under the @@ -122,6 +123,10 @@ and the derived files \file{grffile.sty}{\from{grffile.dtx}{package}}% \usedir{doc/latex/oberdiek/test}% \file{grffile-test1.tex}{\from{grffile.dtx}{test1}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{grffile.xml}{\from{grffile.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -148,16 +153,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{grffile.drv}% - [2010/12/09 v1.13 Extended file name support for graphics (HO)]% + [2012/04/05 v1.16 Extended file name support for graphics (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{grffile.dtx}% \end{document} %</driver> % \fi % -% \CheckSum{803} +% \CheckSum{868} % % \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 @@ -178,7 +183,7 @@ and the derived files % \GetFileInfo{grffile.drv} % % \title{The \xpackage{grffile} package} -% \date{2010/12/09 v1.13} +% \date{2012/04/05 v1.16} % \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}} % % \maketitle @@ -394,7 +399,7 @@ and the derived files %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{grffile}% - [2010/12/09 v1.13 Extended file name support for graphics (HO)]% + [2012/04/05 v1.16 Extended file name support for graphics (HO)]% % \end{macrocode} % % \subsection{Catcode stuff} @@ -573,9 +578,10 @@ and the derived files \fi \fi \fi - \toks@\expandafter{\grffile@filename}% +% \toks@\expandafter{\grffile@filename}% \edef\x{\endgroup - \noexpand\grffile@Ginclude@graphics{\the\toks@}% +% \noexpand\grffile@Ginclude@graphics{\the\toks@}% + \noexpand\grffile@Ginclude@graphics{\grffile@filename}% }% \x } @@ -650,7 +656,7 @@ and the derived files \grffile@XeTeX@IfFileExists{\reserved@b#1}{% \edef\grffile@file@found{\reserved@b#1}% \let\reserved@a\@firstoftwo - \@break@tfor + \iftrue\@break@tfor\fi }{}% }% \fi @@ -713,6 +719,48 @@ and the derived files % \begin{macrocode} \fi \fi +% \end{macrocode} +% \begin{macro}{\grffile@org@Gread@eps} +% \begin{macrocode} + \let\grffile@org@Gread@eps\Gread@eps +% \end{macrocode} +% \end{macro} +% \begin{macrocode} + \def\grffile@temp#1\immediate\openin#2 #3\grffile@nil#4\grffile@NIL{% + \begingroup + \toks@{#2}% + \edef\grffile@temp{\the\toks@}% + \def\grffile@test{\@inputcheck####1}% + \ifx\grffile@temp\grffile@test + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% + \toks@{% + #1% + \immediate\openin\@inputcheck"##1"\relax + #3% + }% + \expandafter\endgroup + \expandafter\def\expandafter\Gread@eps + \expandafter##\expandafter1\expandafter{% + \the\toks@ + }% + \PackageInfo{grffile}{% + \string\Gread@eps\space patched% + }% + }{% + \PackageWarning{grffile}{% + Unsupported \string\Gread@eps\space not patched% + }% + \endgroup + }% + }% + \expandafter\grffile@temp\Gread@eps{#1}\grffile@nil + \immediate\openin{} \grffile@nil\grffile@NIL +% \end{macrocode} +% \begin{macrocode} \else \begingroup \let\on@line\@empty @@ -1195,19 +1243,58 @@ showpage %\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{grffile.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='grffile'> + <name>grffile</name> + <caption>Extended file name support for graphics.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2006-2012'/> + <license type='lppl1.3'/> + <version number='1.16'/> + <description> + The package extends the file name processing of package + <xref refid='graphics'>graphics</xref> to support a larger range + of file names. For example, the file name may contain several dots. + + Or in case of <xref refid='pdftex'>pdfTeX</xref> in PDF mode the + file name may contain spaces. + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> + bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/grffile.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/grffile.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{thebibliography}{9} -% +% % \bibitem{graphics} % David Carlisle, Sebastian Rahtz: \textit{The \xpackage{graphics} package}; % 2006/02/20 v1.0o; % \CTAN{macros/latex/required/graphics/graphics.dtx}. -% +% % \bibitem{graphicx} % Sebastian Rahtz, Heiko Oberdiek: % \textit{The \xpackage{graphicx} package}; % 1999/02/16 v1.0f; % \CTAN{macros/latex/required/graphics/graphicx.dtx}. -% +% % \end{thebibliography} % % \begin{History} @@ -1283,6 +1370,21 @@ showpage % \item % Option \xoption{space} also supports \hologo{XeTeX}. % \end{Version} +% \begin{Version}{2011/10/04 v1.14} +% \item +% Fix for option \xoption{space} support of \hologo{XeTeX} +% for EPS files (\cs{Gread@eps}). (Bug reported by Peter Davis.) +% \end{Version} +% \begin{Version}{2011/10/17 v1.15} +% \item +% Bug fix for option \xoption{space} support of \hologo{XeTeX}. +% Wrong usage of \cs{@break@tfor} fixed. +% (Bug reported by Martin Schr\"oder.) +% \end{Version} +% \begin{Version}{2012/04/05 v1.16} +% \item +% Some fix for option \xoption{extendedchars}. +% \end{Version} % \end{History} % % \PrintIndex |