Next: BNF-grammars Prev: better-Haskell-indexing Up: april91-new-ideas Top: Top

0.9.1.4. Revisions to the sectioning commands

The main thing that is a pain about the current sectioning (see section See Sectioning) is making up unique node names all the time. I propose the following "system" for the optional arg to `\section<n>'; shown by example:
\section{<title>}:
(As currently.) A default node name, made from the section number. No `\label' created.

\section[]{<title>}:
No node name, no node, no `\label'. Not recommended :-)

\section[<the-usual>]{<title>}:
(As currently.) Arguably, the stuff to let you specific next/prev/up explicitly should be dropped (to partly de-Info-ise the notation).

\section["]{<title>}:
(The new one.) The node name should be the same as the <title> ("ditto"). No `\label' would be generated. Some massaging would be required to remove nodename-hostile characters from the title (e.g., colons).