[XeTeX] qtree errors
Wilfred van Rooijen
wvanrooijen at yahoo.com
Mon Mar 1 04:53:34 CET 2010
Hello Joshua,
It works fine on my computer. From the error you posted, it seems that the code is trying to create PostScript specials which are not intended for PDF output. Latex used to create output in the following way:
latex -> DVI file -> dvips -> PS file (or dvipdfm to make PDF)
Packages which make drawings, diagrams, etc (pstricks, xypic, etc) write the special PS instructions as "PS specials" into the DVI file. If you want to produce PDF straight from latex (pdflatex, xelatex) those packages need to write their special commands as PDF commands. I think that one of your packages is not detecting that PDF is the output format and therefore tries to make PS specials. See the log file for details, and check the manuals of the packages for any options relating to PS and PDF.
Wilfred
--- On Mon, 1/3/10, Joshua and Amy <josh.ruthamy at gmail.com> wrote:
> From: Joshua and Amy <josh.ruthamy at gmail.com>
> Subject: [XeTeX] qtree errors
> To: xetex at tug.org
> Date: Monday, 1 March, 2010, 10:17 AM
> When I typeset a document with QTree trees
> (using XeLaTeX in TeXShop) I get hundreds of errors. But the
> output PDF looks just fine.
>
>
>
>
>
> The bulk of the errors
> are something like this:
>
>
>
>
> **
> WARNING ** Unknown token
> "save"
>
> ** WARNING ** Interpreting
> PS code failed!!! Output might be
> broken!!!
>
> ** WARNING ** Interpreting
> special command ps: (ps:)
> failed.
>
> ** WARNING ** >> at page="1"
> position="(192.561, 551.643)" (in
> PDF)
>
> ** WARNING ** >> xxx "ps: save
> /setgray { pop }
> def"
>
> ** WARNING ** >> Reading special
> command stopped around >>/setgray { pop }
> def<<
>
> ** WARNING ** Unknown token
>
> "restore"
>
> ** WARNING ** Interpreting
> PS code failed!!! Output might be
> broken!!!
>
> ** WARNING ** Interpreting
> special command ps: (ps:)
> failed.
>
> ** WARNING ** >> at page="1"
> position="(192.561, 551.643)" (in
> PDF)
>
> ** WARNING ** >> xxx "ps:
> restore"
>
>
>
> ** WARNING ** Unknown token
>
> "save"
>
>
>
>
>
>
>
> Attached
> you'll find the
> tex file and the log.
>
> I found a 2007 post by Jonathan K that suggested the call
> \usepackage[dvipdfm]{pict2e} for
> people using QTree. It takes care of the problems. But are
> there any drawbacks of using this to fix the problem? Is
> there a better solution?
>
>
>
>
> Thanks!
>
>
>
> Josh
>
>
>
>
>
> Joshua Jensen
>
> PhD Linguistics Student
>
> GRA for Linguistics Lab and Website
>
> Department of Linguistics & TESOL
>
> The University of Texas at Arlington
>
> http://ling.uta.edu/~josh/
>
> 817-522-4383
>
>
>
>
>
>
>
>
>
>
> -----Inline Attachment Follows-----
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
More information about the XeTeX
mailing list