diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-12 00:37:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-12 00:37:05 +0000 |
commit | 0e9db47d484e4bb1b34a9543761f161a3051dfbe (patch) | |
tree | 28b2c7597ed1e7e84971dfdf02e316f97e246762 /Master/texmf-dist | |
parent | 18d12dac429adb17f4ed9b617239f89894643f1c (diff) |
pict2e update (9aug09)
git-svn-id: svn://tug.org/texlive/trunk@14620 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
16 files changed, 153 insertions, 98 deletions
diff --git a/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf b/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf Binary files differindex fe72730488c..d419588e434 100644 --- a/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf +++ b/Master/texmf-dist/doc/latex/pict2e/p2e-drivers.pdf diff --git a/Master/texmf-dist/doc/latex/pict2e/pict2e-d.txt b/Master/texmf-dist/doc/latex/pict2e/pict2e-d.txt deleted file mode 100644 index 8fc23e05346..00000000000 --- a/Master/texmf-dist/doc/latex/pict2e/pict2e-d.txt +++ /dev/null @@ -1,42 +0,0 @@ -to do list - -* Separate arrows, possibility to add them to curves. - -* Conversion pt -> bp will omit the scale factor at the output. (multiplying -the dimension by 0.99626401 before removing pt). - -* Add operator for rotation. (Otherwise graphics should be used.) - -*? Test slope coordinates to be real number (see below), not rounded to zero. -Ths is pribably not necessary - too complicated, waste of computer time and -with almost no interesting effect. - -\def\pIIe@tilldot #1.{#1} -\def\pIIe@RealToParts #1.#2:#3#4{% - \def #3{#1}% - \ifx #3\empty \edef #3{0}\else \ifx #3\space \edef #3{0}\fi\fi - \def #4{#2} - \ifx #4\empty - \def#4{0}% - \else - \edef #4{.\expandafter\pIIe@tilldot #4}% - \fi} -\newcommand*\pIIe@checkslopeargs[2]{% - \pIIe@checkslopearg{#1}% - \pIIe@checkslopearg{#2}% - \ifdim #1\p@=\z@ \ifdim #2\p@=\z@ \@badlinearg \fi \fi} -\newcommand*\pIIe@checkslopearg[1]{% - \def\@tempa{#1}\expandafter\pIIe@RealToParts\@tempa.:\@tempb\@tempc - \ifnum\@tempb<\z@ \edef\@tempb{-\@tempb}\fi - \ifnum \@tempb>16383 - \@badlinearg - \else - \ifnum \@tempb=16383 \ifdim \@tempc\p@>.99998\p@ \@badlinearg \fi \fi - \fi} -\newcommand*\pIIe@checkslopeargsvector[2]{% - \pIIe@checkslopeargs{#1}{#2}% - \@tempdima #1\p@ \ifdim \@tempdima>1000\p@ \@badlinearg \fi - \@tempdima #2\p@ \ifdim \@tempdima>1000\p@ \@badlinearg \fi} -\def\@badlinearg{\PackageError - {pict2e}{Bad \protect\line\space or \protect\vector\space argument}{}} - diff --git a/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf b/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf Binary files differindex 499ce81d2fe..1c704ec90d9 100644 --- a/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf +++ b/Master/texmf-dist/doc/latex/pict2e/pict2e.pdf diff --git a/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx b/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx index 13b716b4a2c..09ee38deb0a 100644 --- a/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx +++ b/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx @@ -1,12 +1,13 @@ % \iffalse meta-comment % % p2e-drivers.dtx -% Time-stamp: "p2e-drivers.dtx 2004-06-25 08:23:34 CEST Friday hubertjg" +% Time-stamp: "p2e-drivers.dtx 2009-08-05 15:25:00 CEST JT" % % -% Copyright (C) 2003, 2004 +% Copyright (C) 2003, 2004, 2009 % Rolf Niepraschk, Rolf.Niepraschk@ptb.de % Hubert Gaesslein, HubertJG@open.mind.de +% Josef Tkadlec, j.tkadlec@email.cz % % % This work may be distributed and/or modified under the @@ -33,6 +34,7 @@ %<pdftex, >\ProvidesFile{p2e-pdftex.def} %<vtex, >\ProvidesFile{p2e-vtex.def} %<dvipdfm, >\ProvidesFile{p2e-dvipdfm.def} +%<xetex, >\ProvidesFile{p2e-xetex.def} %<textures, >\ProvidesFile{p2e-textures.def} %<pctexps, >\ProvidesFile{p2e-pctexps.def} %<pctex32, >\ProvidesFile{p2e-pctex32.def} @@ -43,22 +45,23 @@ %</driver> % %<cfg>\ProvidesFile{pict2e.cfg}% - [2004/06/25 v0.1r + [2009/08/05 v0.1s %<*!cfg> - Driver-dependant file (RN,HjG)] + Driver-dependant file (RN,HjG,JT)] %</!cfg> %<cfg> pict2e configuration for teTeX/TeXLive] % %<*driver> \documentclass{ltxdoc} \GetFileInfo{p2e-drivers.dtx} - \def\docdate{2004/06/25} + \def\docdate{2009/08/05} \begin{document} \title{Graphics drivers for \textsf{pict2e}\thanks {This document corresponds to \textsf{\filename} \fileversion, dated \filedate, documentation dated \docdate.}} - \author{Rolf Niepraschk\thanks{\texttt{Rolf.Niepraschk@ptb.de}} - \,and Hubert G\"a{\ss}lein\thanks{\texttt{HubertJG@open.mind.de}}} + \author{Rolf Niepraschk\thanks{\texttt{Rolf.Niepraschk@ptb.de}}, + Hubert G\"a{\ss}lein\thanks{\texttt{HubertJG@open.mind.de}} + \,and Josef Tkadlec\thanks{\texttt{j.tkadlec@email.cz}}} \date{\filedate} % \maketitle \DocInput{p2e-drivers.dtx} @@ -66,7 +69,7 @@ %</driver> % \fi % -% \CheckSum{101} +% \CheckSum{111} % % \changes{v0.1g}{2003/11/07}{Translated documentation to English (HjG)} % \changes{v0.1g}{2003/11/07}{Added driver \texttt{dvipdfm} (RN)} @@ -85,6 +88,7 @@ % \changes{v0.1p}{2004/03/26}{Minor changes to documentation (HjG)} % \changes{v0.1q}{2004/04/22}{Added lppl (RN/HjG)} % \changes{v0.1r}{2004/06/25}{Small fixes in documentation (HjG)} +% \changes{v0.1s}{2009/08/05}{Support for xetex added (JT)} % % \newcommand*\PS{PostScript} % \newcommand*\PDF{PDF} @@ -376,6 +380,26 @@ %\fi % % +% \subsection{xetex} +% +% A \textsf{pict2e} driver file for the \textsf{xetex} driver +% (submitted by Apostolos Syropoulos). +% \begin{macro}{\pIIe@mode} +% We are about to generate \PDF\ code. +% \begin{macrocode} +%<*xetex> +\def\pIIe@mode{2} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pIIe@code} +% \begin{macrocode} +\def\pIIe@code#1{\special{pdf: literal q #1 Q}} +%</xetex> +% \end{macrocode} +% \end{macro} +% +% % \subsection{dvipdf} % % A \textsf{pict2e} driver file for the \textsf{dvipdf} driver @@ -501,6 +525,10 @@ \@ifundefined{OpMode}{}{% \chardef\x=2 % }% + % check XeTeX + \@ifundefined{XeTeXrevision}{}{% + \chardef\x=3 % + }% \expandafter\endgroup \ifcase\x % default case @@ -508,9 +536,12 @@ \or % pdfTeX is running in pdf mode \ExecuteOptions{pdftex}% -\else +\or % VTeX is running \ExecuteOptions{vtex}% +\else + % XeTeX is running + \ExecuteOptions{xetex}% \fi % \end{macrocode} % You can also specify other options to the \textsf{pict2e} package in 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} diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.ins b/Master/texmf-dist/source/latex/pict2e/pict2e.ins index 898054bc0f6..55b8af70aab 100644 --- a/Master/texmf-dist/source/latex/pict2e/pict2e.ins +++ b/Master/texmf-dist/source/latex/pict2e/pict2e.ins @@ -1,6 +1,6 @@ -% Time-stamp: "pict2e.ins Tue 2008-05-06 22:00:29 JT" +% Time-stamp: "pict2e.ins Tue 2009-08-05 15:22:00 JT" %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -32,7 +32,7 @@ \preamble -Copyright (C) 2003, 2004, 2008 +Copyright (C) 2003, 2004, 2008, 2009 Rolf Niepraschk, Rolf.Niepraschk@ptb.de Hubert Gaesslein, HubertJG@open.mind.de Josef Tkadlec, j.tkadlec@email.cz @@ -74,6 +74,8 @@ This work consists of all files listed in `manifest.txt'. \from{p2e-drivers.dtx}{vtex}} \file{p2e-dvipdfm.def}{% \from{p2e-drivers.dtx}{dvipdfm}} + \file{p2e-xetex.def}{% + \from{p2e-drivers.dtx}{xetex}} \file{p2e-textures.def}{% \from{p2e-drivers.dtx}{textures}} \file{p2e-pctexps.def}{% diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def b/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def index 763c1c80ff4..e4ec2b27300 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-dvipdfm.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `dvipdfm') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-dvipdfm.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] \def\pIIe@mode{2} \def\pIIe@code#1{\special{pdf: content #1}} \endinput diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def b/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def index e805691c94a..a0ac44fc9dc 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-dvips.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `dvips') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-dvips.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] \def\pIIe@mode{1} \def\pIIe@code#1{% \Gin@PS@raw{save /setgray { pop } def}% diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def b/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def index e426da8a8b8..a621a618695 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-pctex32.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `pctex32') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-pctex32.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] % \def\pIIe@mode{-1} % \def\pIIe@code#1{} \endinput diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def b/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def index b8e3b68fb28..50d3c813218 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-pctexps.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `pctexps') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-pctexps.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] % \def\pIIe@mode{-1} % \def\pIIe@code#1{} \endinput diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def index 9b8aa642e5e..3347fbf1c47 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-pdftex.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `pdftex') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-pdftex.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] \begingroup \@ifundefined{pdfoutput}{}{% \ifnum\pdfoutput>0\relax diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def b/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def index 41a69708b39..c7097ab1cfe 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-textures.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `textures') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-textures.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] % \def\pIIe@mode{-1} % \def\pIIe@code#1{} \endinput diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def index 7e8fb2333af..ef5a2e13722 100644 --- a/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-vtex.def @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `vtex') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,8 +24,8 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{p2e-vtex.def} - [2004/06/25 v0.1r - Driver-dependant file (RN,HjG)] + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] \begingroup \@ifundefined{VTeXversion}{}{% \ifnum\OpMode>0\relax diff --git a/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def b/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def new file mode 100644 index 00000000000..5a6611800ed --- /dev/null +++ b/Master/texmf-dist/tex/latex/pict2e/p2e-xetex.def @@ -0,0 +1,33 @@ +%% +%% This is file `p2e-xetex.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% p2e-drivers.dtx (with options: `xetex') +%% +%% Copyright (C) 2003, 2004, 2008, 2009 +%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de +%% Hubert Gaesslein, HubertJG@open.mind.de +%% Josef Tkadlec, j.tkadlec@email.cz +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "author-maintained". +%% +%% This work consists of all files listed in `manifest.txt'. +%% +\ProvidesFile{p2e-xetex.def} + [2009/08/05 v0.1s + Driver-dependant file (RN,HjG,JT)] +\def\pIIe@mode{2} +\def\pIIe@code#1{\special{pdf: literal q #1 Q}} +\endinput +%% +%% End of file `p2e-xetex.def'. diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg b/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg index e308d815fd3..36d5a6c1467 100644 --- a/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg +++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg @@ -6,7 +6,7 @@ %% %% p2e-drivers.dtx (with options: `cfg') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -24,7 +24,7 @@ %% This work consists of all files listed in `manifest.txt'. %% \ProvidesFile{pict2e.cfg}% - [2004/06/25 v0.1r + [2009/08/05 v0.1s pict2e configuration for teTeX/TeXLive] %% Select an appropriate default driver. \begingroup @@ -40,6 +40,10 @@ \@ifundefined{OpMode}{}{% \chardef\x=2 % }% + % check XeTeX + \@ifundefined{XeTeXrevision}{}{% + \chardef\x=3 % + }% \expandafter\endgroup \ifcase\x % default case @@ -47,9 +51,12 @@ \or % pdfTeX is running in pdf mode \ExecuteOptions{pdftex}% -\else +\or % VTeX is running \ExecuteOptions{vtex}% +\else + % XeTeX is running + \ExecuteOptions{xetex}% \fi %% \ExecuteOptions{pstarrows} \endinput diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty index a738618fdb6..50d676a2394 100644 --- a/Master/texmf-dist/tex/latex/pict2e/pict2e.sty +++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.sty @@ -6,7 +6,7 @@ %% %% pict2e.dtx (with options: `package') %% -%% Copyright (C) 2003, 2004, 2008 +%% Copyright (C) 2003, 2004, 2008, 2009 %% Rolf Niepraschk, Rolf.Niepraschk@ptb.de %% Hubert Gaesslein, HubertJG@open.mind.de %% Josef Tkadlec, j.tkadlec@email.cz @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{pict2e} - [2008/07/22 v0.2w Improved picture commands (HjG,RN,JT)] + [2009/08/05 v0.2x Improved picture commands (HjG,RN,JT)] \edef\Gin@codes{% \catcode`\noexpand\^^A\the\catcode`\^^A\relax \catcode`\noexpand\"\the\catcode`\"\relax @@ -46,6 +46,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}} @@ -708,12 +709,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 \AtBeginDocument{\@ifundefined{cbezier}{\newcommand}{\renewcommand}*% \cbezier[2][0]{\pIIe@@cbezier[#1]#2}% |