bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texi2pdf and image width


From: Reinhold Kainhofer
Subject: texi2pdf and image width
Date: Sun, 21 Aug 2011 15:46:55 +0200

At lilypond we're including generated pdf images into texinfo documents. 
However, it seems that an image needs to be smaller than the actual text 
width.

For example, for @afourpaper the @hsize is 455.24408pt (i.e. 16.59999cm). Now, 
we have an image with 160.51cm, but that image causes an overfull hbox...

Example is attached. Simply run it through texi2pdf (will also print out the 
value of @hsize in pt).

So, how much space does texi2pdf need around an image, or in other words, how 
much smaller does the image need to be compared to the @hsize?
And is there any internal tex variable that holds that value (so we can 
extract it like I'm doing it with the @hsize in the example)?

Thanks,
Reinhold

PS: If I scale the image to 160.351cm, then there are no overfull hboxes any 
more. It is really required to have about 1mm padding on each side of an 
image?
-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

Attachment: included-image.pdf
Description: Adobe PDF document

Attachment: texinfo-imagewidth.texi
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]