[pstricks] Lualatex and auto-pst-pdf
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Tue Jul 5 22:36:28 CEST 2011
Am 05.07.2011 21:44, schrieb Peter Breitfeld:
> I have the following file, named luatest.tex:
use it this way:
\RequirePackage{ifluatex}
\documentclass{article}
\ifluatex
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\else
\usepackage{tgpagella}
\usepackage{pstricks}
\fi
\usepackage{auto-pst-pdf}
\begin{document}
\paragraph{Hier ein pstricks-Bild}
\begin{pspicture}(5,3)
\pspolygon[fillstyle=vlines](0,0)(5,3)(3,0)
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list