summaryrefslogtreecommitdiff
path: root/graphics/pstricks/base
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-03 03:02:06 +0000
committerNorbert Preining <norbert@preining.info>2024-02-03 03:02:06 +0000
commit8d5a9f6bbecb297f513b9ed16e574db1c1310228 (patch)
tree4d9e1be6863ce68eb23b545add6e000edff4817c /graphics/pstricks/base
parentb5a938a222c59addea5ca0a22cd53b2bbf66e1fa (diff)
CTAN sync 202402030302
Diffstat (limited to 'graphics/pstricks/base')
-rw-r--r--graphics/pstricks/base/Changes2
-rw-r--r--graphics/pstricks/base/README10
-rw-r--r--graphics/pstricks/base/doc/pst-news23.pdfbin99253 -> 98838 bytes
-rw-r--r--graphics/pstricks/base/doc/pst-news23.tex3
-rw-r--r--graphics/pstricks/base/doc/pst-news24.pdfbin0 -> 98554 bytes
-rw-r--r--graphics/pstricks/base/doc/pst-news24.tex100
-rw-r--r--graphics/pstricks/base/doc/test-pst.pdfbin189902 -> 0 bytes
-rw-r--r--graphics/pstricks/base/doc/test-pst.tex257
-rw-r--r--graphics/pstricks/base/generic/pstricks.tex17
-rw-r--r--graphics/pstricks/base/latex/pstricks.sty13
10 files changed, 128 insertions, 274 deletions
diff --git a/graphics/pstricks/base/Changes b/graphics/pstricks/base/Changes
index 19cea82ce0..887654e5b9 100644
--- a/graphics/pstricks/base/Changes
+++ b/graphics/pstricks/base/Changes
@@ -11,6 +11,7 @@ pstricks.tex --------
versions like 2.47a have only changes in other files, but not
in this main package.
+3.19c 2024-02-02 - fix for check of wrong docname "pstricks.tex" in pstricks.sty (RN)
3.19b 2023-11-06 - Revert Code for \DocumentMetadata in pstricks.sty
3.19a 2023-10-30 - Try to suppress the warning with lualatex and a
missing \DeclareMetada{} (only in pstricks.sty)
@@ -110,6 +111,7 @@ Version 97 patch 3, 98/06/01
pstricks.sty --------
+0.75 2024-02-02 - fix for check of wrong docname "pstricks.tex" in pstricks.sty (RN)
0.74 2023-11-06 - Revert Code for \DocumentMetadata
0.73 2023-10-05 - Try to suppress the warning with lualatex and a
missing \DeclareMetada{}
diff --git a/graphics/pstricks/base/README b/graphics/pstricks/base/README
index 1fd4da8c3d..1fef6ff6ee 100644
--- a/graphics/pstricks/base/README
+++ b/graphics/pstricks/base/README
@@ -1,4 +1,4 @@
-PSTricks 2022
+PSTricks 2024
This package may be distributed under the terms of the LaTeX Project
Public License, as described in lppl.txt in the base LaTeX distribution.
@@ -113,8 +113,12 @@ pdf graphic files.
See documentation for more informations.
+6 - Running lualatex with luapstricks.lua
+Works in nearly all cases and make more sense than using auto-pst-pdf-lua.
+However, it can be slow for heavy calculations.
-6 - Documentation
+
+7 - Documentation
-------------
There is a mailing list devoted to discussions on PSTricks usage.
The informations to subscribe to this list and to consult the archives can
@@ -122,4 +126,4 @@ be found on the Web page.
--
-Denis Girou, Sebastian Rahtz and Herbert Voss (updated August 2021)
+Denis Girou, Sebastian Rahtz and Herbert Voss (updated August 2023)
diff --git a/graphics/pstricks/base/doc/pst-news23.pdf b/graphics/pstricks/base/doc/pst-news23.pdf
index be8b87b6a5..9df95b74b7 100644
--- a/graphics/pstricks/base/doc/pst-news23.pdf
+++ b/graphics/pstricks/base/doc/pst-news23.pdf
Binary files differ
diff --git a/graphics/pstricks/base/doc/pst-news23.tex b/graphics/pstricks/base/doc/pst-news23.tex
index c637212728..0dfc437b46 100644
--- a/graphics/pstricks/base/doc/pst-news23.tex
+++ b/graphics/pstricks/base/doc/pst-news23.tex
@@ -31,8 +31,7 @@
\section{\texttt{pstricks.sty}}
%--------------------------------------------------------------------------------------
With \LuaLaTeX\ the package now tries to detect if the command \Lcs{DocumentMetadata} is
-needed. If yes, than it is defined as \Verb|\DocumentMetadata{}|. This code does not really
-worked, the reason why the user has to set \Lcs{DocumentMetadata} by it's own.
+needed. If yes, than it is defined as \Verb|\DocumentMetadata{}|.
%--------------------------------------------------------------------------------------
diff --git a/graphics/pstricks/base/doc/pst-news24.pdf b/graphics/pstricks/base/doc/pst-news24.pdf
new file mode 100644
index 0000000000..bbc7bf404d
--- /dev/null
+++ b/graphics/pstricks/base/doc/pst-news24.pdf
Binary files differ
diff --git a/graphics/pstricks/base/doc/pst-news24.tex b/graphics/pstricks/base/doc/pst-news24.tex
new file mode 100644
index 0000000000..3fb53580ab
--- /dev/null
+++ b/graphics/pstricks/base/doc/pst-news24.tex
@@ -0,0 +1,100 @@
+%% $Id: pst-news21.tex 382 2021-12-29 19:19:18Z herbert $
+%\RequirePackage{pdfmanagement-testphase}
+\DocumentMetadata{}
+\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
+ headinclude=false,footinclude=false,twoside,usegeometry,dvipsnames]{pst-doc}
+
+\usepackage{libertinus}
+\usepackage{hvlogos}
+\listfiles
+%\usepackage[svgnames,dvipsnames,x11names,pspdf=-dALLOWPSTRANSPARENCY]{pstricks-pdf}
+\usepackage{showexpl,pst-arrow,pst-plot,pst-geometrictools}
+\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={},extendedchars},
+ escapechar=?}
+
+\usepackage{biblatex}
+\addbibresource{PSTricks.bib}
+\def\Lcs#1{\texttt{\textbackslash#1}}
+\begin{document}
+
+\title{\texttt{News -- \the\year}\\ \Large new macros and bugfixes for the basic package.}
+\author{Herbert Voß}
+\date{\today}
+
+\settitle
+
+\tableofcontents
+
+\part{\texttt{pstricks} -- package}
+
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.sty}}
+%--------------------------------------------------------------------------------------
+Modified check for a wrong \LaTeX-doc filename \texttt{pstricks.tex}. The old one was
+broken.
+
+
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.tex} (v. 3.19c -- 2024/02/02)}
+%--------------------------------------------------------------------------------------
+
+Added a test for \verb|lualatex| before the default linewidth and color are set.
+See last line in \verb|pstricks.tex|
+
+\section{\LuaLaTeX}\label{lua}
+This version has a stable basic support for the lua package
+\LPack{luapstricks.lua}, available from \url{https://github.com/zauguin/luapstricks}.
+This is also part of every \MiKTeX\ or \TeXLive\ installation. This documentation was
+run with \verb|lualatex|, which creates directly the pdf. No GhostScript needed.
+
+Example:
+
+
+ \def\myline#1{\psline[linecolor=red,linewidth=0.5pt,arrowscale=1.5]{#1}(0,1ex)(1.3,1ex)}%
+ \def\mylineA#1{\psline[linecolor=red,linewidth=0.5pt,arrowscale=4.5]{#1}(0,1ex)(2,1ex)}%
+ \psset{arrowscale=1.5}
+ \begin{longtable}{@{} c @{\qquad} p{3cm} l @{}}%
+ Value & Example & Name \\[2pt]\hline
+ \Lnotation{-} & \myline{-} & None\\
+ \Lnotation{<->} & \myline{<->} & Arrowheads.\\
+ \Lnotation{>-<} & \myline{>-<} & Reverse arrowheads.\\
+ \Lnotation{<{<}-{>}>} & \myline{<<->>} & Double arrowheads.\\
+ \Lnotation{{>}>-{<}<} & \myline{>>-<<} & Double reverse arrowheads.\\
+ \Lnotation{{|}-{|}} & \myline{|-|} & T-bars, flush to endpoints.\\
+ \Lnotation{{|}*-{|}*} & \myline{|*-|*} & T-bars, centered on endpoints.\\
+ \Lnotation{[-]} & \myline{[-]} & Square brackets.\\
+ \Lnotation{]-[} & \myline{]-[} & Reversed square brackets.\\
+ \Lnotation{(-)} & \myline{(-)} & Rounded brackets.\\
+ \Lnotation{)-(} & \myline{)-(} & Reversed rounded brackets.\\
+ \Lnotation{o-o} & \myline{o-o} & Circles, centered on endpoints.\\
+ \Lnotation{*-*} & \myline{*-*} & Disks, centered on endpoints.\\
+ \Lnotation{oo-oo} & \myline{oo-oo} & Circles, flush to endpoints.\\
+ \Lnotation{**-**} & \myline{**-**} & Disks, flush to endpoints.\\
+ \Lnotation{{|}<->{|}} & \myline{|<->|} & T-bars and arrows.\\
+ \Lnotation{{|}>-<{|}} & \myline{|>-<|} & T-bars and reverse arrows.\\
+ \Lnotation{h-h{}} & \myline{h-h} & left/right hook arrows.\\
+ \Lnotation{H-H{}} & \myline{H-H} & left/right hook arrows.\\
+ \Lnotation{v-v} & \myline{v-v} & left/right inside vee arrows.\\
+ \Lnotation{V-V} & \myline{V-V} & left/right outside vee arrows.\\
+ \Lnotation{f-f} & \myline{f-f} & left/right inside filled arrows.\\
+ \Lnotation{F-F} & \myline{F-F} & left/right outside filled arrows.\\
+ \Lnotation{t-t} & \myline{t-t} & left/right inside slash arrows.\\[5pt]
+ \Lnotation{T-T} & \myline{T-T} & left/right outside slash arrows.\\
+%
+ \Lnotation{<D-D>} & \mylineA{<D-D>} & curved arrows.\\
+ \Lnotation{<D<D-D>D>} & \mylineA{<D<D-D>D>} & curved doubled arrows.\\
+ \Lnotation{D>-<D} & \mylineA{D>-<D} & curved arrows, tip inside.\\
+ \Lnotation{<T-T>} & \myline{<T-T>} & curved lines.\\
+% \Lnotation{>T-T<} & \mylineA{>T-T<} & \TikZ\ like arrows.\\
+ \hline
+ \end{longtable}
+
+
+
+
+\nocite{*}
+\printbibliography
+
+
+\end{document}
+
diff --git a/graphics/pstricks/base/doc/test-pst.pdf b/graphics/pstricks/base/doc/test-pst.pdf
deleted file mode 100644
index 2ac2bd0199..0000000000
--- a/graphics/pstricks/base/doc/test-pst.pdf
+++ /dev/null
Binary files differ
diff --git a/graphics/pstricks/base/doc/test-pst.tex b/graphics/pstricks/base/doc/test-pst.tex
deleted file mode 100644
index 2af57b5daa..0000000000
--- a/graphics/pstricks/base/doc/test-pst.tex
+++ /dev/null
@@ -1,257 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -*- Mode: Latex -*- %%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% test-pst.tex --- Various PSTricks tests, from the PSTricks chapter
-%% of "The LaTeX Graphics Companion" (by Goossens, Rahtz,
-%% Mittelbach, Addison Wesley, 1997)
-%%
-%% Author : Sebastian RAHTZ (Oxford University - GB)
-%% <sebastian.rahtz@computing-services.oxford.ac.uk>
-%% Created the : Tue Feb 3 20:37:47 1998
-%% Last mod. by : Denis GIROU (CNRS/IDRIS - France) <Denis.Girou@idris.fr>
-%% Last mod. the : Wed May 5 20:09:18 1999
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\documentclass{article}
-
-\usepackage[latin1]{inputenc} % From LaTeX distribution
-\usepackage{calc} % From LaTeX distribution
-\usepackage{graphicx} % From LaTeX distribution
-\usepackage{ifthen} % From LaTeX distribution
-\usepackage{subfigure} % From CTAN/macros/latex/contrib/supported/subfigure
-\usepackage{pst-all} % From PSTricks
-\usepackage{pst-poly} % From pstricks/contrib/pst-poly
-\usepackage{multido} % From PSTricks
-\input{random.tex} % From CTAN/macros/generic
-
-% Take care that on some non Unix systems, you may have to replace
-% the / character by, for instance, the : one (\input{lgc:#2.inl}})
-\newcommand{\ExampleSubFigure}[2][0.3333]{%
-\subfigure[Example #2]{%
- \begin{minipage}[t]{#1\textwidth}
- \parbox[b]{\textwidth}{%
- \centering
- \input{lgc/#2.inl}}
- \end{minipage}}}
-
-\newpsobject{showgrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=6pt}
-
-% New colors defined
-\definecolor{brown}{rgb}{.65, .16, .16}
-\definecolor{lightblue}{rgb}{.68, .85, .9}
-\definecolor{palegreen}{rgb}{.6, .98, .6}
-\definecolor{pink}{rgb}{1, .75, .8}
-\definecolor{wheat}{rgb}{.96, .87, .7}
-
-% Layout changes
-\textheight=23cm
-\topmargin=-2cm
-\textwidth=16cm
-\oddsidemargin=0cm
-\evensidemargin=0cm
-
-\begin{document}
-
-\title{Test file for the PSTricks 97 distribution:\\
- most of the PSTricks examples of\\
- \emph{The \LaTeX{} Graphics Companion}}
-\author{Sebastian \textsc{Rahtz} --- March 1997}
-\date{Version 1.3 (September 9, 1998)}
-\maketitle
-
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure{4-2-1}%
- \ExampleSubFigure{4-2-2}%
- \ExampleSubFigure{4-2-3}
- \ExampleSubFigure{4-2-4}%
- \ExampleSubFigure{4-2-5}
- \caption{Section 2}
-\end{figure}
-
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure{4-3-1}%
- \ExampleSubFigure{4-3-2}
- \caption{Section 3}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure{4-4-1}%
- \ExampleSubFigure{4-4-2}%
- \ExampleSubFigure{4-4-3}
- \ExampleSubFigure{4-4-4}%
- \ExampleSubFigure{4-4-5}%
- \ExampleSubFigure{4-4-6}
- \ExampleSubFigure{4-4-7}%
- \ExampleSubFigure{4-4-8}%
- \ExampleSubFigure{4-4-9}
- \ExampleSubFigure{4-4-10}%
- \ExampleSubFigure{4-4-11}%
- \ExampleSubFigure{4-4-12}
- \caption{Section 4}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[0.5]{4-5-1}%
- \ExampleSubFigure[0.5]{4-5-2}
- \ExampleSubFigure[0.75]{4-5-3}%
- \ExampleSubFigure[0.25]{4-5-4}
- \ExampleSubFigure[0.15]{4-5-5}%
- \ExampleSubFigure[0.25]{4-5-6}%
- \ExampleSubFigure[0.2]{4-5-7}%
- \ExampleSubFigure[0.2]{4-5-8}%
- \ExampleSubFigure[0.2]{4-5-9}
- \ExampleSubFigure[0.5]{4-5-10}%
- \ExampleSubFigure[0.5]{4-5-11}
- \caption{Section 5-A}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-5-13}
- \ExampleSubFigure[1]{4-5-14}
- \ExampleSubFigure[1]{4-5-16}
- \caption{Section 5-B}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure{4-6-1}%
- \ExampleSubFigure{4-6-2}%
- \ExampleSubFigure{4-6-3}
- \ExampleSubFigure{4-6-4}%
- \ExampleSubFigure{4-6-5}%
- \ExampleSubFigure{4-6-6}
- \ExampleSubFigure{4-6-7}%
- \ExampleSubFigure{4-6-8}%
- \ExampleSubFigure{4-6-9}
- \ExampleSubFigure{4-6-10}%
- \ExampleSubFigure{4-6-11}%
- \ExampleSubFigure{4-6-12}
- \ExampleSubFigure{4-6-13}%
- \ExampleSubFigure{4-6-14}%
- \ExampleSubFigure{4-6-15}
- \ExampleSubFigure{4-6-16}%
- \ExampleSubFigure{4-6-17}%
- \ExampleSubFigure{4-6-18}
- \caption{Section 6-A}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure{4-6-19}%
- \ExampleSubFigure{4-6-20}%
- \ExampleSubFigure{4-6-21}
- \ExampleSubFigure{4-6-22}%
- \ExampleSubFigure{4-6-23}%
- \ExampleSubFigure{4-6-24}
- \ExampleSubFigure{4-6-25}
- \caption{Section 6-B}
-\end{figure}
-
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-6-26}
- \ExampleSubFigure{4-6-27}%
- \ExampleSubFigure{4-6-28}%
- \ExampleSubFigure{4-6-29}
- \ExampleSubFigure[0.3333]{4-6-30}%
- \ExampleSubFigure[0.6667]{4-6-31}
- \ExampleSubFigure[1]{4-6-32}
- \caption{Section 6-C}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-6-33}
- \ExampleSubFigure[0.5]{4-6-34}%
- \ExampleSubFigure[0.5]{4-6-35}
- \ExampleSubFigure[0.5]{4-6-36}%
- \ExampleSubFigure[0.5]{4-6-37}
- \caption{Section 6-D}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-6-38}
- \ExampleSubFigure[1]{4-6-39}
- \ExampleSubFigure[0.5]{4-6-40}%
- \ExampleSubFigure[0.5]{4-6-41}
- \caption{Section 6-E}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[0.5]{4-6-42}%
- \ExampleSubFigure[0.5]{4-6-43}
- \ExampleSubFigure{4-6-44}%
- \ExampleSubFigure{4-6-45}%
- \ExampleSubFigure{4-6-46}
- \caption{Section 6-F}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-7-1}
- \ExampleSubFigure[1]{4-7-2}
- \ExampleSubFigure[1]{4-7-4}
- \caption{Section 7}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[0.5]{4-8-1}%
- \ExampleSubFigure[0.25]{4-8-2}%
- \ExampleSubFigure[0.25]{4-8-3}
- \ExampleSubFigure[1]{4-8-4}
- \caption{Section 8-A}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-8-5}
- \caption{Section 8-B}
-\end{figure}
-
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[0.5]{4-9-1}%
- \ExampleSubFigure[0.5]{4-9-2}
- \caption{Section 9}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[0.4]{4-10-1}%
- \ExampleSubFigure[0.2]{4-10-2}%
- \ExampleSubFigure[0.2]{4-10-3}%
- \ExampleSubFigure[0.2]{4-10-4}
- \ExampleSubFigure[0.4]{4-10-5}%
- \ExampleSubFigure[0.2]{4-10-6}%
- \ExampleSubFigure[0.4]{4-10-7}
- \caption{Section 10-A}
-\end{figure}
-
-\clearpage
-\begin{figure}[!htbp]
- \centering
- \ExampleSubFigure[1]{4-10-8}
- \ExampleSubFigure[1]{4-10-9}
- \ExampleSubFigure[1]{4-10-10}
- \caption{Section 10-B}
-\end{figure}
-
-\end{document}
diff --git a/graphics/pstricks/base/generic/pstricks.tex b/graphics/pstricks/base/generic/pstricks.tex
index fdedb8c449..2f87e9895e 100644
--- a/graphics/pstricks/base/generic/pstricks.tex
+++ b/graphics/pstricks/base/generic/pstricks.tex
@@ -88,8 +88,8 @@
\let\pgfforeach\foreach
%
-\def\fileversion{3.19b}
-\def\filedate{2023/11/06}
+\def\fileversion{3.19c}
+\def\filedate{2024/02/02}
\pst@addfams{pstricks}
%
%\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -4200,14 +4200,19 @@ pop
\fi
(\jobname-\the\ps@imagectr.psaux) (w) file /CoorFile exch def
(\\gdef\\pscoor{\string\() CoorFile exch writestring
- XMIN \ps@margin@left\space sub 20 string cvs CoorFile exch writestring
+ XMIN %\pst@number\psxunit div
+ \ps@margin@left\space sub 20 string cvs CoorFile exch writestring
(pt, ) CoorFile exch writestring
- YMIN \ps@margin@bottom\space sub 20 string cvs CoorFile exch writestring
+ YMIN %\pst@number\psyunit div
+ \ps@margin@bottom\space sub 20 string cvs CoorFile exch writestring
(pt\string\)\string\() CoorFile exch writestring
- XMAX \ps@margin@right\space add 20 string cvs CoorFile exch writestring
+ XMAX %\pst@number\psxunit div
+ \ps@margin@right\space add 20 string cvs CoorFile exch writestring
(pt, ) CoorFile exch writestring
- YMAX \ps@margin@top\space add 20 string cvs CoorFile exch writestring
+ YMAX %\pst@number\psyunit div
+ \ps@margin@top\space add 20 string cvs CoorFile exch writestring
(pt\string\)}\% ) CoorFile exch writestring
+ %(Unit is \pst@number\psyunit/\pst@number\psyunit) 40 string cvs CoorFile exch writestring
CoorFile closefile
}%
\else
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}%