On 22/10/13 19:55, William Adams wrote:
When I pull in a single page .pdf and measure it, I get two different values, 
depending on whether or no I specify page 1:

\savebox\elementpage{\XeTeXpdffile"HEIelements.pdf"}         % == 650.43pt 
(correct)
\savebox\elementpage{\XeTeXpdffile"HEIelements.pdf" [page 1]}% ==684.31895 
(wrong?!)

\settowidth{\elementpagewidth}{\usebox{\elementpage}}

\the\elementpagewidth

Any idea as to what's happening?

What's this "[page 1]" text that you're typesetting immediately after the included PDF? I'd guess it's approximately 34pt wide in your current font.

(If you meant to use the optional <page N> keyword argument to the \XeTeXpdffile primitive, that doesn't take any square brackets, AFAIR.)

JK




--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to