4

I'm compiling this MWE with xelatex, I don't get any compilation errors, but the texts are all big black regular ones without any style applied. I'm using TexLive 2013 by the way. How should the file be compiled?

  • Compile with LaTeX > dvips > ps2pdf...? That works for me. – Werner Jul 05 '14 at 05:58
  • @Werner Yes, I can get the correct result with LaTeX > dvips > ps2pdf. However my document contains other eps/jpg/pdf figures and CJK characters so I need the xelatex part. Any ideas? And maybe it's not colors per se, because I can compile correctly this MWE just fine with xelatex. http://tex.stackexchange.com/questions/179004/someone-can-help-me-draw-this – egwene sedai Jul 05 '14 at 06:47

1 Answers1

5

Use

\documentclass{article}
\usepackage{pst-text,pst-grad}
\usepackage{pst-light3d}
\usepackage{auto-pst-pdf}% Or \usepackage[crop=off]{...} for Win without Perl
\begin{document}
...

and then run pdflatex --shell-escape <file> or alternative lualatex. The dvipdfmx driver of XeTeX cannot handle outline fonts.