[XeTeX] Using pst-pdf and xelatex

Wilfred van Rooijen wvanrooijen at yahoo.com
Tue Apr 13 01:14:14 CEST 2010


Hi,

XeLaTeX uses an intermediate file format (XDV if I remember correctly) which is later translated to PDF. For this reason not all packages which deal with PostScript and PDF work perfectly on xelatex. In some cases there are package options especially for xelatex, but reading the pst-pdf manual it seems that there are no special considerations for xelatex.

My suggestion would be to simply convert the (E)PS files into PDF using ps2pdf, followed by pdfcrop if required, and then include the PDF file in your xelatex source.

Regards,
Wilfred

--- On Mon, 12/4/10, José Carlos Santos <jcsantos at fc.up.pt> wrote:

> From: José Carlos Santos <jcsantos at fc.up.pt>
> Subject: [XeTeX] Using pst-pdf and xelatex
> To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
> Date: Monday, 12 April, 2010, 10:30 PM
> Hi all:
> 
> This is the first time that I post here and I am just
> starting to work
> with xe(la)tex.
> 
> What I would like to know is this: is it possible to use
> the pst-pdf
> package on a document which is compiled with xelatex?
> 
> If I had this document:
> 
> ---------------------- test.tex ----------------------
> \documentclass{article}
> \usepackage[nopstricks]{pst-pdf}
> \begin{document}
> Something.
> \end{document}
> ------------------------------------------------------
> 
> I could compile it using pdflatex, in order to get a PDF
> document. But
> if I compile it using xelatex, then the result of the
> presence of the
> pst-pdf package is that xelatex tries to extract the
> PostScrit images
> from this document. Since there are none, it creates no
> output. What
> should I do?
> 
> Best regards,
> 
> Jose Carlos Santos
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 




More information about the XeTeX mailing list