[XeTeX] xetex and graphics: strange behavior
Jon Breitenbucher
kahless at mac.com
Mon Dec 6 17:27:19 CET 2004
Jonathan,
Did you receive the non-Context examples I sent you on 12/2/04? I think
I called them "Example files for infinite loop in XeLaTeX." My behavior
has been that the file never finishes and once the bad hbox is
encountered I have to kill the xelatex process. I have even gone so far
as to completely remove GW TeX and any traces of a TeX installation and
start from scratch. The odd thing is that the files used to typeset
before I updated. I am curious if anyone with XeTeX .87 has this
problem or is it .88 only. That is the only difference I can see
between my reinstall and prior state. I think I had .87 when I was able
to typeset the examples I sent you.
On Dec 6, 2004, at 5:30 AM, Jonathan Kew wrote:
> On 6 Dec 2004, at 10:25 am, Michael Gedalin wrote:
>
>> The following is typeset ok:
>>
>>
>> \documentclass{article}
>> \usepackage[xetex]{graphicx}
>> \begin{document}
>> test
>> \includegraphics[width=0.8\textwidth]{filename.pdf}
>> \end{document}
>>
>> The following fails:
>>
>> \documentclass{article}
>> \usepackage[xetex]{graphicx}
>> \begin{document}
>> test
>> \includegraphics[width=1.2\textwidth]{filename.pdf}
>> \end{document}
>>
>> I get endless running unreadables
>> ][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][
>> ][][][][]
>> [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
>> [][][][][
>> ][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][
>> ][][][][]
>> [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
>> [][][][][
>> ]
>>
>> There is no problem with pdftex in both cases. What's wrong ?
>
> Aha! This looks like an instance of the same bug the ConTeXt people
> have been complaining about, where XeTeX gets into a loop trying to
> show the contents of an overfull box. Having a non-ConTeXt way to
> reproduce it should help me pin it down, so thanks for the report!
>
> To avoid the problem for now, you'd need to find a way to suppress the
> overfull box display; e.g., don't try to include graphics that are
> wider than \textwidth! Or if you really want a graphic projecting into
> the margin, you could put it in a box and add enough negative space to
> convince the engine that it still fits on the page.
>
> Or set a large \hfuzz value, to suppress such warnings.
>
> Sorry about the problem; it's pretty clear it's an internal XeTeX bug.
>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>
____________________________________________
Math illiteracy affects 7 out of every 5 Americans.
Jon Breitenbucher
The College of Wooster
Department of Mathematics and Computer Science
308 E. University
Wooster, Ohio 44691
(330)263-2207
jbreitenbuch at wooster.edu
http://jbreitenbuch.wooster.edu/~jonb
http://ical.mac.com/kahless/Work
More information about the XeTeX
mailing list