In GNU Emacs in Texinfo mode, you can format part or all of a Texinfo
file with the
texinfo-format-region command. This formats the
current region and displays the formatted text in a temporary buffer
called ‘*Info Region*’.
Similarly, you can format a buffer with the
texinfo-format-buffer command. This command creates a new
buffer and generates the Info file in it. Typing C-x C-s will
save the Info file under the name specified by the
@setfilename line which must be near the beginning of the
Format the current region for Info.
Format the current buffer for Info.
commands provide you with some error checking, and other functions can
provide you with further help in finding formatting errors. These
procedures are described in an appendix; see Catching Mistakes.
makeinfo program provides better error checking
makeinfo Within Emacs).
A peculiarity of the
texinfo-format-region commands is that they do not indent (nor
fill) paragraphs that contain