summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/pict2e/pict2e.dtx')
-rw-r--r--Master/texmf-dist/source/latex/pict2e/pict2e.dtx38
1 files changed, 26 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
index 814fcef508e..d5c37a0db85 100644
--- a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
+++ b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx
@@ -2,7 +2,7 @@
%
%
%
-% Copyright (C) 2003-2008
+% Copyright (C) 2003-2009
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
% Hubert Gaesslein
% Josef Tkadlec, j.tkadlec@email.cz
@@ -23,7 +23,7 @@
%
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{pict2e}
-%<package> [2008/07/22 v0.2w Improved picture commands (HjG,RN,JT)]
+%<package> [2009/08/05 v0.2x Improved picture commands (HjG,RN,JT)]
%
%<*driver>
\listfiles
@@ -59,7 +59,7 @@
% \fi
%
% \GetFileInfo{pict2e.sty}
-% \def\docdate{2008/07/22}
+% \def\docdate{2009/08/05}
%
% \CheckSum{2073}
%
@@ -179,6 +179,7 @@
% \changes{v0.2u}{2008/06/29}{Also real slopes for lines and vectors. (JT)}
% \changes{v0.2v}{2008/07/19}{Improved internal division macro. (JT)}
% \changes{v0.2w}{2008/07/22}{Number of points in \cmd{\qbezier} not ignored. (JT)}
+% \changes{v0.2x}{2009/08/05}{Support for xetex. (JT)}
% \fi
%
% \changes{v0.1a}{2003/07/18}{First version. (RN)}
@@ -197,7 +198,9 @@
% \changes{v0.2v}{2008/07/19}{Sixth release to CTAN
% (2008/07/19 v0.2v). (JT)}
% \changes{v0.2w}{2008/07/22}{Seventh release to CTAN
-% (2008/07/19 v0.2v). (JT)}
+% (2008/07/19 v0.2w). (JT)}
+% \changes{v0.2w}{2008/07/22}{Eigth release to CTAN
+% (2009/08/08 v0.2x). (JT)}
%
%
% \DoNotIndex{\newcommand,\renewcommand,\newenvironment,\renewenvironment}
@@ -682,7 +685,8 @@
% pdftex & x & dvipdf & x? \\
% vtex & x & textures & x? \\
% dvipdfm & x & pctexps & x? \\
-% oztex & (x) & pctex32 & x? \\ \hline
+% xetex & x & pctex32 & x? \\
+% oztex & (x) & & \\ \hline
% ^^A emtex & --
% \end{tabular}
%
@@ -743,7 +747,7 @@
%
% Similar to the \textsf{graphics} and \textsf{color} packages,
% in most cases it is not necessary to give a driver option explicitly
-% withe the \cmd{\usepackage} (or \cmd{\RequirePackage}) command,
+% with the \cmd{\usepackage} (or \cmd{\RequirePackage}) command,
% if a suitable configuration file \texttt{pict2e.cfg} is present on your
% system (see the example file \texttt{pict2e-example.cfg}).
% On many systems it may be sufficient to copy
@@ -1526,6 +1530,7 @@
\DeclareOption{dvipdf}{\def\Gin@driver{dvipdf.def}}
\DeclareOption{dvipdfm}{\def\Gin@driver{dvipdfm.def}}
\DeclareOption{pdftex}{\def\Gin@driver{pdftex.def}}
+\DeclareOption{xetex}{\def\Gin@driver{xetex.def}}
\DeclareOption{dvipsone}{\def\Gin@driver{dvipsone.def}}
\DeclareOption{dviwindo}{\ExecuteOptions{dvipsone}}
\DeclareOption{oztex}{\ExecuteOptions{dvips}}
@@ -3447,12 +3452,21 @@
\def\roundjoin{\special{ps:: 1 setlinejoin}}
\def\beveljoin{\special{ps:: 2 setlinejoin}}
\or
- \def\buttcap{\pdfliteral{0 J}}
- \def\roundcap{\pdfliteral{1 J}}
- \def\squarecap{\pdfliteral{2 J}}
- \def\miterjoin{\pdfliteral{0 j}}
- \def\roundjoin{\pdfliteral{1 j}}
- \def\beveljoin{\pdfliteral{2 j}}
+ \@ifundefined{XeTeXrevision}{%
+ \def\buttcap{\pdfliteral{0 J}}%
+ \def\roundcap{\pdfliteral{1 J}}%
+ \def\squarecap{\pdfliteral{2 J}}%
+ \def\miterjoin{\pdfliteral{0 j}}%
+ \def\roundjoin{\pdfliteral{1 j}}%
+ \def\beveljoin{\pdfliteral{2 j}}%
+ }{%
+ \def\buttcap{\special{pdf: literal 0 J}}%
+ \def\roundcap{\special{pdf: literal 1 J}}%
+ \def\squarecap{\special{pdf: literal 2 J}}%
+ \def\miterjoin{\special{pdf: literal 0 j}}%
+ \def\roundjoin{\special{pdf: literal 1 j}}%
+ \def\beveljoin{\special{pdf: literal 2 j}}%
+ }%
\fi
% \end{macrocode}
% \end{macro}