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, [email protected], 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
included-image.pdf
Description: Adobe PDF document
\input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
@setfilename texinfo-imagewidth
@settitle Texinfo Image Width
@afourpaper
@message{width=@the@hsize,exampleindent=@the@lispnarrowing}
@image{included-image}
@bye
