diff options
author | Karl Berry <karl@freefriends.org> | 2008-01-25 00:33:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-01-25 00:33:24 +0000 |
commit | 7b47a6fc77ad486993f61d5ecdcd884a64f331da (patch) | |
tree | 0c29e5a6adc88fe23713e5e1dfd2fcbe7be0f3e5 /Master/texmf-dist/tex/latex/pstricks/pstricks.sty | |
parent | fb100c8d5700c5ed13acd4bcf77f59447de8a8f3 (diff) |
pstricks 0.36 (23jan08)
git-svn-id: svn://tug.org/texlive/trunk@6393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty index e7d3cdc2f6d..4b5b9197b00 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-2007 Herbert Voss <voss@perce.de> +%% pstricks.sty Copyright (C) 2004-2008 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,21 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pstricks} - [2007/02/18 v0.33 LaTeX wrapper for `PSTricks' (RN,HV)] + [2008/01/22 v0.36 LaTeX wrapper for `PSTricks' (RN,HV)] +% +\def\documentclass{ + \edef\@tempa{\jobname.tex }% + \edef\@tempb{\@filef@und}% + \@onelevel@sanitize\@tempa + \@onelevel@sanitize\@tempb + \ifx\@tempa\@tempb + \@latex@error + {`\jobname.tex' is a forbidden name for your document}% + {Choose another name for your document}\@gobble + \else + \@twoclasseserror + \fi +} % \DeclareOption{plain}{% \input{pstricks.tex} @@ -34,7 +48,18 @@ \input{pstricks.tex} \ProvidesFile{pstricks.tex} [\filedate\space v\fileversion\space `PSTricks' (tvz)] - \IfFileExists{pstricks.pro}{\@addtofilelist{pstricks.pro}}{}% + \IfFileExists{pstricks.pro}{% + \ProvidesFile{pstricks.pro} + [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.00, PostScript prologue file (hv)] + \@addtofilelist{pst-dots.pro}}{}% + \IfFileExists{pst-algparser.pro}{% + \ProvidesFile{pst-algparser.pro} + [2008/01/01 v. 0.01, PostScript prologue file (hv)] + \@addtofilelist{pst-algparser.pro}}{}% {% \let\psscalebox=\scalebox \let\psscaleboxto=\scaleboxto @@ -50,6 +75,11 @@ \newif\ifpst@DIA\pst@DIAfalse \DeclareOption{DIA}{\pst@DIAtrue} \DeclareOption{noxcolor}{\def\pst@ColorPackage{color}} +\DeclareOption{vtex}{% +% \def\psfs@solid{\pst@fill{\pst@usecolor\psfillcolor fill }} +% \def\psfs@eofill{\pst@fill{\pst@usecolor\psfillcolor eofill }} +% \def\psfs@shape{\pst@fill{\pst@usecolor\psfillcolor fill }} +} \DeclareOption*{% \PassOptionsToPackage\CurrentOption{\pst@ColorPackage}} \ProcessOptions\relax |