summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-30 19:35:21 +0000
committerKarl Berry <karl@freefriends.org>2023-10-30 19:35:21 +0000
commit91118aaa15a65f174f37e70744ff7f34ade614ae (patch)
tree5613ca822ba426a41c3a1b4a96959309546eaeea /Master/texmf-dist/tex/latex
parent8222f84ad8947e7f1ce907aaa186c938502f06c5 (diff)
pstricks (30oct23)
git-svn-id: svn://tug.org/texlive/trunk@68705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty23
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index 93a02ea1621..407ecae7b58 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -1,4 +1,4 @@
-% $Id: pstricks.sty 645 2022-10-25 04:57:20Z herbert $
+% $Id: pstricks.sty 792 2023-10-30 17:30:03Z herbert $
%%
%% This is file `pstricks.sty'.
%%
@@ -8,7 +8,7 @@
%% pstcol.sty Copyright (C) 1994-1996 1999 David Carlisle
%% pstricks.sty Copyright (C) 2004- Rolf Niepraschk <Rolf.Niepraschk@gmx.de>
%% Herbert Voss <hvoss@tug.org>
-%% 2019-current Herbert Voss <hvoss@tug.org>
+%% 2019- Herbert Voss <hvoss@tug.org>
%%
%% This package may be distributed under the terms of the LaTeX Project
%% Public License, as described in lppl.txt in the base LaTeX distribution.
@@ -17,8 +17,7 @@
\NeedsTeXFormat{LaTeX2e}
-
-\ProvidesPackage{pstricks}[2022/19/23 v0.72 LaTeX wrapper for `PSTricks' (RN,HV)]
+\ProvidesPackage{pstricks}[2023/10/05 v0.73 LaTeX wrapper for `PSTricks' (RN,HV)]
%
\def\documentclass{%
\edef\@tempa{\jobname.tex }%
@@ -45,6 +44,7 @@
\newif\if@check@engine \@check@enginetrue
\newif\ifpst@xetex \pst@xetexfalse
\newif\ifpst@autopdf \pst@autopdffalse
+\newif\ifpst@metadata \pst@metadatatrue
\DeclareOption{useCalc}{\pst@useCalctrue}
\DeclareOption{gsfonts}{\pstGSfontstrue}
@@ -52,6 +52,7 @@
\DeclareOption{noEngineCheck}{\@check@enginefalse}
\DeclareOption{pdf}{\global\pst@autopdftrue}
\DeclareOption{xetex}{\global\pst@xetextrue}
+\DeclareOption{nometadata}{\global\pst@metadatafalse}
%
%---------------------------------DISTILLER --------------------------------
\newif\ifpst@distiller\pst@distillerfalse
@@ -85,6 +86,20 @@
\DeclareOption*{\PassOptionsToPackage\CurrentOption{\pst@ColorPackage}}
\ProcessOptions\relax
+\let\pgfutil@protected\protected
+\let\pgfutil@unexpanded\unexpanded
+
+\ifpst@metadata
+ \ifluatex
+ \@ifclassloaded{beamer}{}{% do not execute \DocumentMetadata
+% \RequirePackage{pdfmanagement-testphase}
+ \typeout{>>>Setting Metadata ... }%
+ \DocumentMetadata{}%
+ \makeatletter
+ }
+ \fi
+\fi
+
\ifpst@useCalc
\RequirePackage{pst-calculate}
\fi