bug-texinfo
[Top][All Lists]
Advanced

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

bad formatting of @verbatim followed by @image


From: Werner LEMBERG
Subject: bad formatting of @verbatim followed by @image
Date: Sun, 26 Sep 2021 05:56:57 +0000 (UTC)

[texinfo.tex version 2021-08-28.18]

Consider this input.

```
\input texinfo.tex

@verbatim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@end verbatim

@image{rectangle-crop}

@bye
```

As the attached output shows, the formatting is quite bad, and I think
it is a bug that the last line of the verbatim environment is split
off and positioned on the next page – at least I can't see a reason
for this bizarre behaviour.

LilyPond needs this kind of structure a lot for its own documentation:
In most cases, the input is shown verbatim, followed by an image of
the formatted output.


    Werner

Attachment: verbatim-and-image.pdf
Description: Adobe PDF document

Attachment: rectangle-crop.pdf
Description: Adobe PDF document


reply via email to

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