summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/picture
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-24 21:04:37 +0000
committerKarl Berry <karl@freefriends.org>2020-04-24 21:04:37 +0000
commitb5cfe0628998f7a30d60ece2bc23d785102d6bc3 (patch)
tree849fe45c6f99d04016620ddcce01484cf2c43ed0 /Master/texmf-dist/source/latex/picture
parentf579cd3953cc1f63f679445666d047843c1482eb (diff)
picture (24apr20)
git-svn-id: svn://tug.org/texlive/trunk@54867 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/picture')
-rw-r--r--Master/texmf-dist/source/latex/picture/picture.dtx36
1 files changed, 28 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/picture/picture.dtx b/Master/texmf-dist/source/latex/picture/picture.dtx
index 56cd8c8c477..7ffced525a0 100644
--- a/Master/texmf-dist/source/latex/picture/picture.dtx
+++ b/Master/texmf-dist/source/latex/picture/picture.dtx
@@ -1,12 +1,12 @@
% \iffalse meta-comment
%
% File: picture.dtx
-% Version: 2019/12/09 v1.5
+% Version: 2020-04-22 v1.6
% Info: Dimens for picture macros
%
% Copyright (C)
% 2006-2009 Heiko Oberdiek
-% 2016-2019 Oberdiek Package Support Group
+% 2016-2020 Oberdiek Package Support Group
% https://github.com/ho-tex/picture/issues
%
% This work may be distributed and/or modified under the
@@ -81,7 +81,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: picture 2019/12/09 v1.5 Dimens for picture macros (HO)}
+\Msg{* Package: picture 2020-04-22 v1.6 Dimens for picture macros (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -93,11 +93,11 @@
This is a generated file.
Project: picture
-Version: 2019/12/09 v1.5
+Version: 2020-04-22 v1.6
Copyright (C)
2006-2009 Heiko Oberdiek
- 2016-2019 Oberdiek Package Support Group
+ 2016-2020 Oberdiek Package Support Group
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -157,7 +157,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{picture.drv}%
- [2019/12/09 v1.5 Dimens for picture macros (HO)]%
+ [2020-04-22 v1.6 Dimens for picture macros (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -171,7 +171,7 @@ and the derived files
% \GetFileInfo{picture.drv}
%
% \title{The \xpackage{picture} package}
-% \date{2019/12/09 v1.5}
+% \date{2020-04-22 v1.6}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/picture/issues}}}
%
@@ -268,7 +268,7 @@ and the derived files
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{picture}%
- [2019/12/09 v1.5 Dimens for picture macros (HO)]%
+ [2020-04-22 v1.6 Dimens for picture macros (HO)]%
% \end{macrocode}
%
% \subsection{Options}
@@ -546,6 +546,23 @@ and the derived files
}
% \end{macrocode}
%
+% \subsubsection{Package \xpackage{pict2e}}
+% Additions suggested in https://github.com/ho-tex/picture/issues/1
+% \begin{macrocode}
+\@ifpackageloaded{pict2e}{%
+ \AtBeginDocument{%
+ \picture@redefine\@cbezier{[#1](&2,&3)(&4,&5)(&6,&7)(&8,&9)}%
+ }
+ \picture@redefine\pIIe@arc@@{(#1,#2)&3}
+ \picture@redefine\polyline{(&1,&2)}
+ \picture@redefine\@polyline{(&1,&2)}
+ \picture@redefine\@polygon{(&1,&2)}
+ \picture@redefine\@@polygon{(&1,&2)}
+ \picture@redefine\moveto{(&1,&2)}
+ \picture@redefine\lineto{(&1,&2)}
+ \picture@redefine\curveto{(&1,&2)(&3,&4)(&5,&6)}
+}{}
+% \end{macrocode}
% \subsection{Check package loading order}
%
% \begin{macro}{\PC@checkpackage}
@@ -764,6 +781,9 @@ and the derived files
% \item
% Documentation updates.
% \end{Version}
+% \begin{Version}{2020-04-22 v1.6}
+% \item Added definitions for pict2e (https://github.com/ho-tex/picture/issues/1)
+% \end{Version}
% \end{History}
%
% \PrintIndex