Problem with microtype and pdftricks

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Mar 1 07:20:15 CET 2022



Am 28.02.22 um 23:32 schrieb Herbert Schulz:
> Typesetting the following source with pdflatex -shell-escape

Beside what Robert answered: you can use auto-pst-pdf instead:

\documentclass{article}
\usepackage{auto-pst-pdf}
\usepackage{microtype}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(0,0)(3,3)
\pscircle[fillstyle=solid,fillcolor=yellow](1.5,1.5){1.5}
\pscircle[fillstyle=solid,fillcolor=black](1.0,2.0){0.15}
\pscircle[fillstyle=solid,fillcolor=black](2.0,2.0){0.15}
\pscircle[fillstyle=solid,fillcolor=black](1.5,1.3){0.1}
\psarc{(-)}(1.5,1.5){1}{235}{305}
\end{pspicture}
\end{document}

or easier run it with lualatex (needs no GhostScript):

\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{uncompress}
\documentclass{article}
\usepackage{microtype}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(0,0)(3,3)
\pscircle[fillstyle=solid,fillcolor=yellow](1.5,1.5){1.5}
\pscircle[fillstyle=solid,fillcolor=black](1.0,2.0){0.15}
\pscircle[fillstyle=solid,fillcolor=black](2.0,2.0){0.15}
\pscircle[fillstyle=solid,fillcolor=black](1.5,1.3){0.1}
\psarc{(-)}(1.5,1.5){1}{235}{305}
\end{pspicture}
\end{document}


Herbert


More information about the tex-live mailing list.