diff options
author | Norbert Preining <norbert@preining.info> | 2023-03-22 03:01:52 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-03-22 03:01:52 +0000 |
commit | cbbc6dbdbf08b70a7e7d8d184ca51c57c835415a (patch) | |
tree | 97ded8ca7095c54f6ff9b661be6b93f80bf792c4 /macros/latex/contrib/auto-pst-pdf-lua | |
parent | de9a0afa47c2ee09e1d4704821cad2b231d36b3f (diff) |
CTAN sync 202303220301
Diffstat (limited to 'macros/latex/contrib/auto-pst-pdf-lua')
-rw-r--r-- | macros/latex/contrib/auto-pst-pdf-lua/Changes | 7 | ||||
-rw-r--r-- | macros/latex/contrib/auto-pst-pdf-lua/README | 2 | ||||
-rw-r--r-- | macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.pdf | bin | 69340 -> 80135 bytes | |||
-rw-r--r-- | macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.tex | 31 | ||||
-rw-r--r-- | macros/latex/contrib/auto-pst-pdf-lua/latex/auto-pst-pdf-lua.sty | 10 |
5 files changed, 34 insertions, 16 deletions
diff --git a/macros/latex/contrib/auto-pst-pdf-lua/Changes b/macros/latex/contrib/auto-pst-pdf-lua/Changes index 079913f77e..8964b1ffe8 100644 --- a/macros/latex/contrib/auto-pst-pdf-lua/Changes +++ b/macros/latex/contrib/auto-pst-pdf-lua/Changes @@ -1,6 +1,7 @@ auto-pst-pdf-lua.sty ---------------- -v 0.03 2018-12-08 fix bug with auto-pst-lua, which should be auto-pst-pdf -v 0.02 2018-03-19 added test for luatex run -v 0.01 2018-03-17 first CTAN version +v 0.03a 2023-03-21 modified documentation +v 0.03 2018-12-08 fix bug with auto-pst-lua, which should be auto-pst-pdf +v 0.02 2018-03-19 added test for luatex run +v 0.01 2018-03-17 first CTAN version diff --git a/macros/latex/contrib/auto-pst-pdf-lua/README b/macros/latex/contrib/auto-pst-pdf-lua/README index f0888346e1..7d8a5ee201 100644 --- a/macros/latex/contrib/auto-pst-pdf-lua/README +++ b/macros/latex/contrib/auto-pst-pdf-lua/README @@ -2,7 +2,7 @@ This package is a slightly modified version of auto-pst-pdf from Will Robertson which itself is a wrapper for pst-pdf from Rolf Niepraschk. -auto.pst-pdf-lua allows the use of lualatex +auto-pst-pdf-lua allows the use of lualatex together with PostScript related code, eg. PSTricks diff --git a/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.pdf b/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.pdf Binary files differindex 42a34363b3..2523fd22f8 100644 --- a/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.pdf +++ b/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.pdf diff --git a/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.tex b/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.tex index ccc6983c15..cde30726f3 100644 --- a/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.tex +++ b/macros/latex/contrib/auto-pst-pdf-lua/doc/auto-pst-pdf-lua-doc.tex @@ -2,32 +2,51 @@ \documentclass[english]{article} \usepackage{pst-poker} -\usepackage[cleanup={}]{auto-pst-pdf-lua} +\usepackage[cleanup={},pspdf={-dALLOWPSTRANSPARENCY -dNOSAFER}]{auto-pst-pdf-lua} \ifpdf \usepackage{fontspec} \usepackage{dejavu-otf} \else \usepackage[T1]{fontenc} - \usepackage[utf8]{inputenc} \usepackage{dejavu} \fi \usepackage{babel} \usepackage[a4paper,tmargin=1cm,bmargin=1.5cm,includeheadfoot]{geometry} \usepackage{listings} -\title{\texttt{auto-pst-pdf-lua}, v. 0.03\\ using Lua\LaTeX\ with PSTricks} +\title{\texttt{auto-pst-pdf-lua}, v. 0.03a\\ using Lua\LaTeX\ with PSTricks} \author{Herbert Voß} \begin{document} \maketitle The package is based on \texttt{auto-pst-pdf} and uses for the \texttt{latex} run the program \texttt{dvilualatex}. The package can have all optional arguments which are -possible for \texttt{auto-pst-pdf}. +possible for \texttt{auto-pst-pdf}. For all PSTricks examples the package should be +loaded with the following optional arguments: + +\lstset{basicstyle=\ttfamily\small,language={[LaTeX]TeX},frame=lrtb} +\begin{lstlisting} +\usepackage[cleanup={},pspdf={-dALLOWPSTRANSPARENCY -dNOSAFER}]{auto-pst-pdf-lua} +\end{lstlisting} + +The possible options are preset to + +\begin{lstlisting} +\ExecuteOptionsX{% + ext=tex, + crop=on, + latex={}, + dvips={-Ppdf}, + pdfcrop={}, + cleanup={log,aux,dvi,ps,pdf}, + runs=1, +} +\end{lstlisting} + \section{The example code} -\lstset{basicstyle=\ttfamily\small,language={[LaTeX]TeX},frame=lrtb} \begin{lstlisting} \documentclass{article} \usepackage{pst-poker} @@ -37,7 +56,6 @@ possible for \texttt{auto-pst-pdf}. \usepackage{dejavu-otf} \else \usepackage[T1]{fontenc} - \usepackage[utf8]{inputenc} \usepackage{dejavu} \fi @@ -82,7 +100,6 @@ need it, then just just the \texttt{\textbackslash ifpdf} switch: \usepackage{dejavu-otf} \else \usepackage[T1]{fontenc}% for the dvilualatex run - \usepackage[utf8]{inputenc} \usepackage{dejavu} \fi \end{verbatim} diff --git a/macros/latex/contrib/auto-pst-pdf-lua/latex/auto-pst-pdf-lua.sty b/macros/latex/contrib/auto-pst-pdf-lua/latex/auto-pst-pdf-lua.sty index e75e2f76d1..f51516e708 100644 --- a/macros/latex/contrib/auto-pst-pdf-lua/latex/auto-pst-pdf-lua.sty +++ b/macros/latex/contrib/auto-pst-pdf-lua/latex/auto-pst-pdf-lua.sty @@ -2,7 +2,7 @@ %% This is file `auto-pst-pdf-lua.sty', a modified version of %% auto-pst-pdf from Will Robertson %% -%% Copyright (C) 2018 Herbert Voss +%% Copyright (C) 2023 Herbert Voss %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -13,7 +13,7 @@ %% version 2005/12/01 or later. %% %% -\ProvidesPackage{auto-pst-pdf-lua}[2018/12/09 v0.03 using auto-pst-pdf for LuaLaTeX] +\ProvidesPackage{auto-pst-pdf-lua}[2023/03/21 v0.03a using auto-pst-pdf for LuaLaTeX] \RequirePackage{ifpdf,xkeyval,ifplatform,ifluatex} \newif\if@app@off@ \newif\if@app@crop@ @@ -66,7 +66,7 @@ dvips={-Ppdf}, pdfcrop={}, cleanup={log,aux,dvi,ps,pdf}, - runs=1 + runs=1, } \ifluatex\else \PackageWarning{auto-pst-pdf-lua}% @@ -119,9 +119,9 @@ \def\app@cleanup{\app@try@rm{\app@rm@files}} \ifluatex \def\app@cmd@latex#1#2{dvilualatex \app@latex@opts\space - "\unexpanded{\let\APPmakepictures\empty\input} #1"} + "\unexpanded{\let\APPmakepictures\empty \input} #1"} \def\app@cmd@extralatex#1#2{dvilualatex \app@latex@opts\space - "\unexpanded{\let\APPmakepictures\undefined\input} #1"} + "\unexpanded{\let\APPmakepictures\undefined \input} #1"} \else \def\app@cmd@latex#1#2{latex \app@latex@opts\space "\unexpanded{\let\APPmakepictures\empty\input} #1"} |