diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/graphics/graphics.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/graphics/graphics.dtx | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/graphics/graphics.dtx b/Master/texmf-dist/source/latex/graphics/graphics.dtx index 91c16e9141a..bbea6970307 100644 --- a/Master/texmf-dist/source/latex/graphics/graphics.dtx +++ b/Master/texmf-dist/source/latex/graphics/graphics.dtx @@ -3,11 +3,14 @@ % %% graphics.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz %% Copyright (C) 1995--1999 2001 David Carlisle +%% Copyright (C) 2005--2006 David Carlisle, LaTeX3 Project %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public %% License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. +%% Either version 1.3c or, at your option, any later version. +%% +%% This file has the LPPL maintenance status "maintained". %% %<*dtx> \ProvidesFile{graphics.dtx} @@ -17,7 +20,7 @@ %<driver> \ProvidesFile{graphics.drv} % \fi % \ProvidesFile{graphics.dtx} - [2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)] + [2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)] % % \iffalse %<*driver> @@ -39,7 +42,7 @@ % \date{\filedate} % \maketitle % -% \CheckSum{1158} +% \CheckSum{1173} % % \changes{v0.3a}{1994/02/24} % {First DPC version (after prototype by SPQR).} @@ -115,6 +118,10 @@ % of the standard |%%BoundingBox|. These are used by some applications % to get round the restriction that BoundingBox comments should only % have integer values. +% \item[demo] Instead of including a graphics file, make +% |\includegraphics| insert a black rectangle of size 150\,pt by +% 100\,pt unless either dimension was already specified by another +% option. % \end{description} % % \section{Standard Interface} @@ -492,6 +499,20 @@ % \end{macrocode} % \end{option} % +% \begin{option}{demo} +% \changes{v1.0o}{2006/02/20}{demo option added} +% If given this option the package will disregard the actual +% graphics file and insert a black box unless width or height are +% already specified. +% \begin{macrocode} +\DeclareOption{demo}{% + \AtBeginDocument{% + \def\Ginclude@graphics#1{% + \rule{\@ifundefined{Gin@@ewidth}{150pt}{\Gin@@ewidth}}% + {\@ifundefined{Gin@@eheight}{100pt}{\Gin@@eheight}}}}} +% \end{macrocode} +% \end{option} +% % \begin{macro}{\Gin@driver} % Driver in use. % \begin{macrocode} @@ -531,6 +552,24 @@ % \end{macrocode} % \end{option} % +% \begin{option}{dvipdfmx} +% \changes{v1.0m}{2005/11/14} +% {dvipdfmx added} +% The driver for the dvipdfmx project. +% \begin{macrocode} +\DeclareOption{dvipdfmx}{\def\Gin@driver{dvipdfmx.def}} +% \end{macrocode} +% \end{option} +% +% \begin{option}{xetex} +% \changes{v1.0m}{2005/11/14} +% {xetex added} +% Jonathan Kew's \TeX\ variant. +% \begin{macrocode} +\DeclareOption{xetex}{\def\Gin@driver{xetex.def}} +% \end{macrocode} +% \end{option} +% % \begin{option}{pdftex} % \changes{v1.0d}{1997/06/07} % {pdftex added} |