diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/picture.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/picture.dtx | 56 |
1 files changed, 46 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/picture.dtx b/Master/texmf-dist/source/latex/oberdiek/picture.dtx index f103c413b98..1ee261fa49f 100644 --- a/Master/texmf-dist/source/latex/oberdiek/picture.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/picture.dtx @@ -1,6 +1,7 @@ % \iffalse meta-comment % -% Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +% Copyright (C) 2006, 2007, 2008 by +% Heiko Oberdiek <oberdiek@uni-freiburg.de> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -68,7 +69,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: picture 2007/04/11 v1.1 Dimens for picture macros (HO)} +\Msg{* Package: picture 2008/11/26 v1.2 Dimens for picture macros (HO)} \Msg{************************************************************************} \keepsilent @@ -79,7 +80,8 @@ This is a generated file. -Copyright (C) 2006, 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +Copyright (C) 2006, 2007, 2008 by + Heiko Oberdiek <oberdiek@uni-freiburg.de> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -137,7 +139,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{picture.drv}% - [2007/04/11 v1.1 Dimens for picture macros (HO)]% + [2008/11/26 v1.2 Dimens for picture macros (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2008/08/11] \begin{document} @@ -146,7 +148,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{294} +% \CheckSum{304} % % \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 @@ -167,7 +169,7 @@ and the derived files % \GetFileInfo{picture.drv} % % \title{The \xpackage{picture} package} -% \date{2007/04/11 v1.1} +% \date{2008/11/26 v1.2} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -238,8 +240,8 @@ and the derived files % % \subsection{Supported packages} % -% Package \xpackage{pspicture} is supported, but it must be loaded -% before package \xpackage{picture}. +% Packages \xpackage{pspicture} and \xpackage{pict2e} are supported, +% but they must be loaded before package \xpackage{picture}. % % New macros can be supported by \cs{picture@redefine}. % The first argument is the macro which contains the arguments @@ -263,7 +265,7 @@ and the derived files %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{picture}% - [2007/04/11 v1.1 Dimens for picture macros (HO)]% + [2008/11/26 v1.2 Dimens for picture macros (HO)]% % \end{macrocode} % % \subsection{Options} @@ -520,10 +522,37 @@ and the derived files \picture@redefine\Line{(&1,&2)}% \picture@redefine\Curve{(&1,&2)}% \picture@redefine\Vector{(&1,&2)}% -}{ +}{% \picture@redefine\@oval{(&1,&2)}% } % \end{macrocode} +% +% \subsection{Check package loading order} +% +% \begin{macro}{\PC@checkpackage} +% \begin{macrocode} +\def\Pc@checkpackage#1{% + \@ifpackageloaded{#1}{% + }{% + \AtBeginDocument{% + \@ifpackageloaded{#1}{% + \PackageWarningNoLine{picture}{% + Package `#1' is loaded after `picture'.\MessageBreak + Load package `picture' afterwards to get full support% + \MessageBreak + of its additional syntax with length specifications% + }% + }{}% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\Pc@checkpackage{pict2e} +\Pc@checkpackage{pspicture} +% \end{macrocode} +% % \begin{macrocode} %</package> % \end{macrocode} @@ -719,6 +748,13 @@ and the derived files % \item % Line ends sanitized. % \end{Version} +% \begin{Version}{2008/11/26 v1.2} +% \item +% Package \xpackage{pict2e} added to documentation section ``Supported +% packages''. +% \item +% Package order of supported packages is checked. +% \end{Version} % \end{History} % % \PrintIndex |