Is there the possibility to produce PSTricks graphics in LuaLaTeX?
I tried it, but i get
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.9 \psline(
-5,2)(5,4)
With auto-pst-pdf I get a warning to use pdflatex.
So how can i use pstricks in LuaLaTeX?
Edit:@Marco Daniel
I asked where to pack packages for specified for lualatex, "normal packages", and pstricks packages: Maybe something like this:
\RequirePackage{ifluatex}
\documentclass{scrartcl}
\usepackage{amsmath}
\ifluatex
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\usepackage{lua-visual-debug}
\else
\usepackage{pstricks}
\usepackage{pst-plot}
\fi
\usepackage{auto-pst-pdf}
\begin{document}
Here text...
\end{document}
Niklas
ifluatex"? To specify your question you should provide a minimal working example (MWE). – Marco Daniel Feb 24 '13 at 15:57pstricksorauto-pst-pdfare independent from the testifluatex. Normally the test is used forfontspecorpolyglossia. – Marco Daniel Feb 24 '13 at 17:36