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 5 '14 at 5: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. tex.stackexchange.com/questions/179004/… – egwene sedai Jul 5 '14 at 6:47
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.

  • It really needs to be on the roadmap of dvipdfmx, though. For people who need unicode supprt, this is a mess. – egwene sedai Jul 6 '14 at 8:24
  • Why? You can use lualatex – user2478 Jul 6 '14 at 11:29

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.