(Win8 + Winedt 10.2 + MikTeX 2.9.6515)

I usually use Winedt with PDFLaTeX or PDFTeXify, with this icon enter image description here

If I want to compile a PsTricks code, I need to: 1.- compile with LATEX (L icon), then 2.- DVI2PS (icon), then 3.- PS2PDF (icon), and finally I obtain the PDF file. enter image description here

BUT... If I want to use PDFLaTeX directly with a PSTRicks code I obtain the error: "! Undefined control sequence. \c@lor@to@ps ->\PSTricks_Not_Configured_For_This_Format l.13 ...{\circlenode{IL}{\textcolor{red}{I like}}}"

The question is: How could I do that proccess directly? or How to use PsTricks code using PDFLaTeX(PDFTeXify or other similar)?. In this example to obtain the final result: enter image description here



 \begin{pspicture}(-2,-2)(12,6) %\malla

 \rput(4.5,3){\circlenode{IL}{\textcolor{red}{I like}}}

 \nbput*{\small Yes}   % This line show error on compiling.

 \ncput*{\small No}   % This l



 \rput(2,0){This is a test.}
\rput(8,-2){Esto é unha proba.}

  • 2
    There is a winedt macro package called latexify, winedt.org/config/menus/LaTeXify.html that offers more shortcuts, e.g. LaTeXify2PDF (runs Biber and TeXify+dvips+ps2pdf with LaTeX engine). Or you could use arara or latexmk. Jan 6 '18 at 18:31

Use xelatex instead of latex->dvips->ps2pdf. It needs only some changes:


UTF-8 is the default of xelatex

  • is this valid for tikz pictures?… in general
    – Mika Ike
    Jan 6 '18 at 22:26
  • 1
    Yes, there is no difference
    – user2478
    Jan 6 '18 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.