From 719665eeaf4a9ad3504b931721d905f82c530bb2 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 26 Oct 2008 16:12:29 +0000
Subject: pstricks update (20oct08)

git-svn-id: svn://tug.org/texlive/trunk@11067 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')

diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index 2b7a1a875f9..9c4c95faa0a 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -5,7 +5,7 @@
 %%
 %% pstricks.sty Copyright (C) 1997 Timothy Van Zandt
 %% pstcol.sty   Copyright (C) 1994-1996 1999 David Carlisle
-%% pstricks.sty Copyright (C) 2004-2008 Herbert Voss <voss@perce.de>
+%% pstricks.sty Copyright (C) 2004-2009 Herbert Voss <voss@perce.de>
 %%                                 Rolf Niepraschk <Rolf.Niepraschk@ptb.de>
 %%
 %% This package may be distributed under the terms of the LaTeX Project
@@ -16,7 +16,7 @@
 \NeedsTeXFormat{LaTeX2e}
 
 \ProvidesPackage{pstricks}
-  [2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)]
+  [2008/10/19 v0.38 LaTeX wrapper for `PSTricks' (RN,HV)]
 % 
 \def\documentclass{
   \edef\@tempa{\jobname.tex }%
@@ -33,9 +33,11 @@
   \fi
 }
 % 
+\newif\ifpst@OldVersion\pst@OldVersionfalse
+\DeclareOption{97}{\pst@OldVersiontrue}
 %------------------------------------ PLAIN --------------------------------
 \DeclareOption{plain}{%
-  \input{pstricks.tex}
+  \ifpst@OldVersion\input{pstricks97.tex}\else\input{pstricks.tex}\fi
     \ProvidesFile{pstricks.tex}
       [\filedate\space v\fileversion\space `PSTricks' (tvz)]
   \endinput
@@ -47,16 +49,16 @@
 \@ifundefined{PSTricksLoaded}
 {%
   \let\saved@scalebox\scalebox
-  \input{pstricks.tex}
+  \ifpst@OldVersion\input{pstricks97.tex}\else\input{pstricks.tex}\fi
   \ProvidesFile{pstricks.tex}
     [\filedate\space v\fileversion\space `PSTricks' (tvz)]
   \IfFileExists{pstricks.pro}{%
     \ProvidesFile{pstricks.pro}
-      [2008/01/01 v. 1.05,  PostScript prologue file (hv)]
+      [2008/01/01 v. 1.03,  PostScript prologue file (hv)]
       \@addtofilelist{pstricks.pro}}{}%
   \IfFileExists{pst-dots.pro}{%
     \ProvidesFile{pst-dots.pro}
-      [2006/12/19 v. 2.02,  PostScript prologue file (hv)]
+      [2006/12/19 v. 2.00,  PostScript prologue file (hv)]
       \@addtofilelist{pst-dots.pro}}{}%
   \IfFileExists{pst-algparser.pro}{%
     \ProvidesFile{pst-algparser.pro}
-- 
cgit v1.2.3

