help-texinfo
[Top][All Lists]
Advanced

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

[help-texinfo] Vertical formatting of @image


From: Gavin Smith
Subject: [help-texinfo] Vertical formatting of @image
Date: Wed, 10 Jun 2015 12:29:35 +0100

I am having difficulty getting the whitespace above and below an image
correct in PDF output. It seems that I either get too much unnecessary
whitespace above and below the image, or the image is pushed onto the
next page and then we have huge vertical interparagraph spacing.

When I specify the image in the document to have a width of 4.1in, the
output from texi2pdf is as follows:

$texi2pdf test.texi
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./test.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2014-12-03.16]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texmf/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.) (./test.aux)
Chapter 1 <./configstatus.png> Chapter 2 [1{/usr/share/texmf-var/fonts/map/pdft
ex/updmap/pdftex.map}] [2] )</usr/share/texmf/fonts/type1/bluesky/cm/cmsy10.pfb
></usr/share/texmf/fonts/type1/bluesky/cm/cmtt10.pfb></usr/share/texmf/fonts/ty
pe1/bluesky/cm/cmr10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmbx12.pfb>
Output written on test.pdf (2 pages, 50294 bytes).
Transcript written on test.log.
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./test.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2014-12-03.16]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texmf/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.) (./test.aux)
Chapter 1 <./configstatus.png> Chapter 2 [1{/usr/share/texmf-var/fonts/map/pdft
ex/updmap/pdftex.map}] [2] )</usr/share/texmf/fonts/type1/bluesky/cm/cmsy10.pfb
></usr/share/texmf/fonts/type1/bluesky/cm/cmtt10.pfb></usr/share/texmf/fonts/ty
pe1/bluesky/cm/cmr10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmbx12.pfb>
Output written on test.pdf (2 pages, 50294 bytes).
Transcript written on test.log.

I've attached the output PDF as test-onepage.pdf. As you can see there
is a huge amount of space above and below the image, so I thought the
image could be a bit bigger.

With the image a bit bigger, at 4.5in:

$texi2pdf test.texi
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./test.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2014-12-03.16]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texmf/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.) (./test.aux)
Chapter 1 <./configstatus.png> [1{/usr/share/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}] Chapter 2 [2] [3] )</usr/share/texmf/fonts/type1/bluesky/cm/cmsy10
.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmtt10.pfb></usr/share/texmf/font
s/type1/bluesky/cm/cmr10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmbx12.pf
b>
Output written on test.pdf (3 pages, 50819 bytes).
Transcript written on test.log.

I've attached this as test-twopages.pdf.

I tried putting
@tex
\vfill
@end tex

after the @image, but it didn't help.

Attachment: configstatus.png
Description: PNG image

Attachment: test.texi
Description: TeXInfo document

Attachment: test-onepage.pdf
Description: Adobe PDF document

Attachment: test-twopages.pdf
Description: Adobe PDF document


reply via email to

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