|
auto-pst-pdf |
Graphical User Interfaces |
LuaLaTeX and auto-pst-pdf |
TeX basic macros |
TeXnikCenter |
With the GUI TeXnikCenter use
the output format LaTeX=>PS=>PDF. If you do not have it
in your list, get it from perce.de
and import it into TeXnikCenter by Output (Format) - define output profile (Ausgabeprofil definieren). Remember that you
have to update the paths for the programs!
When running your document with lualatex and package auto-pst-pdf you have to use
the package ifluatex :
\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}
|