Well, I must confess that as a user I'd like to be able to get rid of
   the menus in some of my documents, in particular because I know no
   batch tool that can do it for me.

Texinfo mode in GNU Emacs provides a batch tool for this.  
Here is the documentation from the Texinfo manual:

    `C-c C-u C-a'
    `M-x texinfo-all-menus-update'
         Create or update all the menus in the buffer.  With an argument
         (`C-u' as prefix argument, if interactive), first insert or update
         all the node pointers before working on the menus.

         If a master menu exists, the `texinfo-all-menus-update' command
         updates it; but the command does not create a new master menu if
         none already exists.  (Use the `texinfo-master-menu' command for
         that.)

         When working on a document that does not merit a master menu, you
         can type the following:

              C-u C-c C-u C-a
         or
              C-u M-x texinfo-all-menus-update

         This updates all the nodes and menus.

Works fine.

Perhaps someone should create a shell script that runs this as a batch
command so that people who do not use Emacs could use it?

-- 
    Robert J. Chassell                  [EMAIL PROTECTED]
    Rattlesnake Enterprises             http://www.rattlesnake.com

Reply via email to