I'm trying to use the code given by Svend Tveskæg, however, when I compile I got this error ! Undefined control sequence. \c@lor@to@ps ->\PSTricks

Drawing 3D Transformer with TikZ or PSTricks [enter link description here][1]

I do compile with PS-PDF but I still get the error

  • 1
    the error means that you are using the wrong compiler, pstricks needs latex or xelatex. – Ulrike Fischer Oct 19 at 18:41
  • See also: tex.stackexchange.com/questions/48177/… – P.M. Oct 19 at 18:42
  • I tried xelatex and It didn't work – Diana Oct 19 at 19:04
  • 2
    xelatex or latex will work, pdflatex will give the error shown. If you get an error show the full log file up to that point. – David Carlisle Oct 19 at 19:28

Your Answer

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

Browse other questions tagged or ask your own question.