summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/picture.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/picture.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/picture.dtx66
1 files changed, 42 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/picture.dtx b/Master/texmf-dist/source/latex/oberdiek/picture.dtx
index 1ee261fa49f..9bd58d6897b 100644
--- a/Master/texmf-dist/source/latex/oberdiek/picture.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/picture.dtx
@@ -1,7 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2006, 2007, 2008 by
-% Heiko Oberdiek <oberdiek@uni-freiburg.de>
+% Copyright (C) 2006-2009 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
@@ -69,7 +68,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: picture 2008/11/26 v1.2 Dimens for picture macros (HO)}
+\Msg{* Package: picture 2009/10/11 v1.3 Dimens for picture macros (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -80,8 +79,7 @@
This is a generated file.
-Copyright (C) 2006, 2007, 2008 by
- Heiko Oberdiek <oberdiek@uni-freiburg.de>
+Copyright (C) 2006-2009 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
@@ -139,7 +137,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{picture.drv}%
- [2008/11/26 v1.2 Dimens for picture macros (HO)]%
+ [2009/10/11 v1.3 Dimens for picture macros (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -148,7 +146,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{304}
+% \CheckSum{321}
%
% \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
@@ -169,7 +167,7 @@ and the derived files
% \GetFileInfo{picture.drv}
%
% \title{The \xpackage{picture} package}
-% \date{2008/11/26 v1.2}
+% \date{2009/10/11 v1.3}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -265,7 +263,7 @@ and the derived files
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{picture}%
- [2008/11/26 v1.2 Dimens for picture macros (HO)]%
+ [2009/10/11 v1.3 Dimens for picture macros (HO)]%
% \end{macrocode}
%
% \subsection{Options}
@@ -333,26 +331,42 @@ and the derived files
\setlength\dimen@{#1\unitlength}\Pc@next\Pc@nil{#1}%
}%
\let\PcOrg@calc@error\calc@error
- \def\Pc@calc@error#1{%
- \expandafter\ifx\expandafter\unitlength\noexpand#1\relax
- \def\calc@next##1!{%
- \endgroup
- \aftergroup\afterassignment
- \aftergroup\Pc@next
+ \@ifpackagelater{calc}{2007/08/22}{% v4.3
+ \def\Pc@calc@error#1{%
+ \expandafter\ifx\expandafter\unitlength\noexpand#1\relax
+ \def\calc@next##1!{%
+ \endgroup
+ \aftergroup\afterassignment
+ \aftergroup\Pc@next
+ }%
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi
+ {%
+ \calc@next{#1}%
+ }{%
+ \PcOrg@calc@error{#1}%
}%
- \else
- \@ReturnAfterFi{%
+ }%
+ }{%
+ \def\Pc@calc@error#1{%
+ \expandafter\ifx\expandafter\unitlength\noexpand#1\relax
+ \def\calc@next##1!{%
+ \endgroup
+ \aftergroup\afterassignment
+ \aftergroup\Pc@next
+ }%
+ \expandafter\@gobble
+ \else
+ \expandafter\@firstofone
+ \fi
+ {%
\PcOrg@calc@error{#1}%
}%
- \fi
+ }%
}%
- \expandafter\@firstofone
-\else
- \expandafter\@gobble
\fi
-{%
- \long\def\@ReturnAfterFi#1\fi{\fi#1}%
-}
% \end{macrocode}
%
% \subsubsection{Method \xoption{etex}}
@@ -755,6 +769,10 @@ and the derived files
% \item
% Package order of supported packages is checked.
% \end{Version}
+% \begin{Version}{2009/10/11 v1.3}
+% \item
+% Fix because of new version v4.3 of package \xpackage{calc}.
+% \end{Version}
% \end{History}
%
% \PrintIndex