[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
verbatim-and-image.pdf
Description: Adobe PDF document
rectangle-crop.pdf
Description: Adobe PDF document