2011/12/1 Heiko Oberdiek <[email protected]>: > On Thu, Dec 01, 2011 at 11:49:30AM +0000, Philip TAYLOR wrote: > >> Typesetting a restaurant menu, I have run into two problems : >> one I can work around, one is completely defeating me. Here >> is the relevant fragment of code -- >> >> \XeTeXpicfile Resources/Images/IMG_2206.JPG width \hsize \relax >> \XeTeXpicfile Resources/Images/TAR-2.pdf width \hsize \relax >> \vfil \eject >> >> Problem 1 (work-aroundable) : the \vfill \eject has no effect, >> and the image appears above the \halign that follows. > > D.E. Knuth, "The TeXbook": "Chapter 15: How TeX Makes Lines into Pages": > > | Whenever TeX is moving an item from the top of the "recent > | contributions" to the bottom of the "current page," it discards > | a discardable item (glue, kern, or penalty) if the current > | page does not contain any boxes. > > Solution, for example: put \XeTeXpicfile ... in an \hbox. > That's what I wrote about discardable items but it does not explain why \XeTeXpicfile is discarded. Is it a glu, a kern, a penalty, and if so, why? I would rather consider it a box.
>> Problem 2 (completely intractable) : XeTeX claims to be unable to find >> "TAR-2.pdf", > > Already answered (\XeTeXpdffile). > > Yours sincerely > Heiko Oberdiek > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex -- Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
