[XeTeX] xetex (plain tex) and graphicx
Éric DÉTREZ
eric.detrez at laposte.net
Sat Feb 19 12:48:15 CET 2005
Le 19 févr. 05, à 07:23, Bruno Voisin a écrit :
>
> Le 18 févr. 05, à 22:52, Éric DÉTREZ a écrit :
>
>> Xetex seems not to be able to use graphicx (maybe I missed a command).
>
> Normally it can. It's difficult to diagnose without knowing exactly
> which LaTeX packages you used,
I don't use laTex, I just use plain tex with graphics.
> with which options and in which order.
so, no options seems available.
> Did you specify the [xetex] option to the {graphicx} package
> explicitly,
How could I do it ?
> such that /Library/teTeX/share/texmf.local/tex/xetex/xetex.def is used?
I didn't find /Library/teTeX/ directory .
I created a /Library/texmfl/tex/xetex/ directory
then /Library/texmfl/tex/xetex/config in wich i created a file
graphics.cfg with the line
***********************
\ExecuteOptions{xetex}
***********************
But this didn't change anything.
Here is a source code :
***********************
%&program=xetex
%&encoding=UTF-8 Unicode
\input graphicx%[xetex]
$E$ est l'espace des fonctions continues par morceaux et
$2\pi$--p\'eriodiques sur $R$.
%fourier5
$$\includegraphics[width= 10cm]{Fourier5.pdf}$$
\end
***********************
Fourier5.pdf is in the same directory as the source.
Here is the message displayed by the console :
***********************
This is XeTeX, Version 3.14159-2.1-0.88 (Web2C 7.5.2)
entering extended mode
(./essai.tex
(/usr/local/teTeX/share/texmf.tetex/tex/plain/graphics/graphicx.tex
(/usr/local/teTeX/share/texmf.tetex/tex/plain/graphics/miniltx.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
(/usr/local/teTeX/share/texmf.local/tex/xetex/graphics.sty
(/usr/local/teTeX/share/texmf.tetex/tex/fontinst/base/trig.sty)
(/Users/eric/Library/texmf/tex/xetex/config/graphics.cfg.tex)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def))))
! Cannot determine size of graphic in Fourier5.pdf (no BoundingBox).
\@latex at error #1#2->\errhelp {#2}\errmessage {#1}
\Gread at eps ...raphic in #1 (no BoundingBox)}\@ehc
\gdef \@gtempa {0 0
72 72 ...
\Gin at setfile ...se #1\fi \endcsname {\Gin at base #2}
\else \Gin at nosize
{#3}\fi ...
<argument> ...le \Gin at rule@* {\Gin at base \Gin at ext }
\fi
\@firstoftwo #1#2->#1
\Ginclude at graphics ...sname {\Gin at base \Gin at ext }}
\fi \endgroup
...
l.9 $$\includegraphics[width= 10cm]{Fourier5.pdf}
$$
?
<Fourier5.pdf> [1] )
Output written on essai.pdf (1 page).
Transcript written on essai.log.
***********************
More information about the XeTeX
mailing list