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?

2
  • Compile with LaTeX > dvips > ps2pdf...? That works for me.
    – Werner
    Jul 5, 2014 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/… Jul 5, 2014 at 6:47

1 Answer 1

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .