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/tex/latex/pict2e/pict2e.sty | |
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/tex/latex/pict2e/pict2e.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pict2e/pict2e.sty | 26 |
1 files changed, 18 insertions, 8 deletions
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}% |