]> git.donarmstrong.com Git - lilypond.git/commitdiff
CG: add command-line emacs for texinfo-all-menus-update
authorGraham Percival <graham@percival-music.ca>
Wed, 29 Jul 2009 10:14:47 +0000 (03:14 -0700)
committerGraham Percival <graham@percival-music.ca>
Wed, 29 Jul 2009 10:14:47 +0000 (03:14 -0700)
Documentation/contributor/doc-work.itexi

index 2ad03ce938d5b4e962331b2ab5480ae89e35624d..c0ec504b7b4a488fc38b5df8e10389ed448957aa 100644 (file)
@@ -228,6 +228,29 @@ ode.
 
 @end itemize
 
+Nodes must be included inside a
+
+@example
+@@menu
+* foo::
+* bar::
+@@end menu
+@end example
+
+@noindent
+construct.  These are easily constructed with the emacs
+@code{M-x texinfo-all-menus-update} construct, or by this
+command-line script:
+
+@example
+#!/bin/sh
+emacs $1 -batch -f texinfo-all-menus-update -f save-buffer
+@end example
+
+@noindent
+(save the above as something like @command{texinfo-menus.sh}, make
+it executable, then run @command{texinfo-menus.sh foo.itely})
+
 
 @node LilyPond formatting
 @subsection LilyPond formatting
@@ -594,12 +617,12 @@ required.  Any link in a doc section must be duplicated in the
 Introducing examples must be done with
 
 @example
-     . (ie finish the previous sentence/paragaph)
-     : (ie `in this example:')
-     , (ie `may add foo with the blah construct,')
+. (ie finish the previous sentence/paragaph)
+: (ie `in this example:')
+, (ie `may add foo with the blah construct,')
 @end example
 
-The old "sentence runs directly into the example" method is not
+The old @qq{sentence runs directly into the example} method is not
 allowed any more.
 
 @item