[XeTeX] Problem with pdf

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sun Aug 30 12:48:04 CEST 2015


On 30.08.2015 11:14, M. Lin wrote:
> Please see the file in attached. There is no error when I compile it,

The `.log` file clearly shows an error, the last two lines:

     Error 256 (driver return code) generating output;
     file test.pdf may not be valid.

The next step is taking the advice of Zdenek Wagner:

| If there is no error from xetex, it may be a problem of xdvipffmx and 
| its error message is lost. In such a case it is helpful to run wetex | 
with -no-pdf in order to create an xdv file and then run xdvipdfmx on | 
it separately. You will see the error message.

     xelatex --no-pdf test
     xdvipdfmx test

The last command will show an error, what it is?

Yours sincerely
   Heiko Oberdiek

More information about the XeTeX mailing list