[XeTeX] XeTeX fails on dragged PDF images
Ross Moore
ross at maths.mq.edu.au
Mon Oct 4 03:49:09 CEST 2004
Hi Jonathan,
Try the following test, using TeXShop and XeTeX.
1. create a new document for XeLaTeX (or open any other to which
we will add some extra LaTeX coding);
ensure you have the preamble line: \usepackage{graphicx}
2. open any existing TeXShop document and go to its PDF display window;
3. with the Cmd+Option keys down (Cmd = Apple), create a selection
rectangle;
4. with the Cmd+Option+Shift keys down, drag the selection to the open
document source from step 1. Some coding gets added, such as:
\includegraphics[]{../../../Library/TeXShop/DraggedImages/
texshop_image.pdf}
5. now "Typeset" with XeLaTeX.
Including the image fails as follows:
! LaTeX Error: Cannot determine size of graphic in
../../../Library/TeXShop/DraggedImages/texshop_image.pdf (no
BoundingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 ...y/TeXShop/DraggedImages/texshop_image.pdf}
?
<../../../Library/TeXShop/DraggedImages/texshop_image.pdf> [1]
The same problem is manifest in a slightly different way using XeTeX
instead of XeLaTeX
-- change the \includegraphics[]{....} command to \XeTeXpdffile{....}.
Now the message is:
! Unable to load picture or PDF file
'{../../../Library/TeXShop/DraggedImages/texshop_image.pdf}'.
<to be read again>
\par
l.52
The problem must be based in XeTeX itself, or XeTeX not liking
something about the PDF used in the texshop_image.pdf ,
since...
a. pdfLaTeX and pdfTeX can include such images;
b. the directory location is not the issue;
c. nor is the _ in the name.
(These are things that I've already checked.)
Would others please verify these results.
Jonathan, do you have any ideas why this doesn't work ?
Cheers,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia fax: +61 +2 9850 8114
------------------------------------------------------------------------
More information about the XeTeX
mailing list