summaryrefslogtreecommitdiff
path: root/graphics/pstricks/base/latex/pstricks.sty
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/base/latex/pstricks.sty')
-rw-r--r--graphics/pstricks/base/latex/pstricks.sty13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/pstricks/base/latex/pstricks.sty b/graphics/pstricks/base/latex/pstricks.sty
index 686bb4363e..562e1c25ad 100644
--- a/graphics/pstricks/base/latex/pstricks.sty
+++ b/graphics/pstricks/base/latex/pstricks.sty
@@ -1,4 +1,4 @@
-% $Id: pstricks.sty 806 2023-11-06 20:39:03Z herbert $
+% $Id: pstricks.sty 864 2024-02-02 08:35:01Z herbert $
%%
%% This is file `pstricks.sty'.
%%
@@ -17,10 +17,11 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pstricks}[2023/11/06 v0.74 LaTeX wrapper for `PSTricks' (RN,HV)]
+\ProvidesPackage{pstricks}[2024/02/02 v0.75 LaTeX wrapper for `PSTricks' (RN,HV)]
%
+\let\pst@documentclass=\documentclass
\def\documentclass{%
- \edef\@tempa{\jobname.tex }%
+ \edef\@tempa{"\jobname.tex" }%
\edef\@tempb{\@filef@und}%
\@onelevel@sanitize\@tempa
\@onelevel@sanitize\@tempb
@@ -30,10 +31,9 @@
it is already a name of a package}%
{Choose another name for your document}\@gobble
\else
- \@twoclasseserror
+ \expandafter\pst@documentclass
\fi
-}
-%
+}
\RequirePackage{iftex}
\def\pst@ColorPackage{xcolor}
\DeclareOption{noxcolor}{\def\pst@ColorPackage{color}}
@@ -94,6 +94,7 @@
%
\@ifundefined{PSTricksLoaded}
{%
+%
\let\saved@scalebox\scalebox
\input{pst-xkey}%
\input{pstricks}%