Next: Comments, Up: Writing a Texinfo File [Contents][Index]
This section describes the general conventions used in all Texinfo documents.
Depending on what they do or what arguments they take, you need to write @-commands on lines of their own, or as part of sentences. As a general rule, a command requires braces if it mingles among other text; but it does not need braces if it is on a line of its own. For more details of Texinfo command syntax, see @-Command Syntax.
@example
environment.
@code
and @example
.
makeinfo
does nothing special with tabs, and thus
a tab character in your input file will usually have a different
appearance in the output.
To avoid this problem, Texinfo mode in GNU Emacs inserts
multiple spaces when you press the TAB key. Also, you can run
untabify
in Emacs to convert tabs in a region to multiple
spaces, or use the unexpand
command from the shell.
In normal text, treated as ending any open paragraph; essentially ignored between paragraphs.
Output as-is between paragraphs (their most common use); in other contexts, they may be treated as regular spaces (and thus consolidated with surrounding whitespace).
Written as a numeric entity except contexts where spaces are ignored; for example, in ‘@footnote{ ^L foo}’, the form feed is ignored.
Keep them everywhere; in attributes, escaped as ‘\f’; also, ‘\’ is escaped as ‘\\’ and newline as ‘\n’.
Completely removed, as they are not allowed.
As you can see, because of these differing requirements of the output formats, it’s not possible to use form feeds completely portably.
Next: Comments, Up: Writing a Texinfo File [Contents][Index]