[dev-context] XeTeX and \externalfigure problem

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue May 8 13:57:45 CEST 2007


On 5/8/07, Mojca Miklavec wrote:
> On 5/8/07, Hans Hagen wrote:
> > you can try to add some messages to
> >
> > \def\xtxhandleotherimage
> >   {\XeTeXpicfile "\@@DriverImageFile"
> >      \ifdim\@@DriverImageWidth >\zeropoint \!!width  \@@DriverImageWidth \space\fi
> >      \ifdim\@@DriverImageHeight>\zeropoint \!!height \@@DriverImageHeight      \fi
> >    \relax}
> >
> > \def\dogetXTXfiguresize
> >   {\setbox\foundexternalfigure\vbox{\XeTeXpicfile "\@@DriverImageFile"}%
> >    \xdef\analyzedfigurewidth {\the\wd\foundexternalfigure}%
> >    \xdef\analyzedfigureheight{\the\ht\foundexternalfigure}}
> >
> >
> > and see what
> >
> > \@@DriverImageFile
> >
> > is in your case
>
> I'm sorry for not testing it more thoroughly before reporting.
>
> {\XeTeXpicfile 'a.png'} apparently fails as well, while {\XeTeXpicfile
> 'a.png' } works OK.

And yes, \@@DriverImageFile is perfectly OK ...

Mojca


More information about the dev-context mailing list