Re: [frogs] Here, froggie froggies... python update-texinfo-menus |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: frogs@xxxxxxxxxxx
- Subject: Re: [frogs] Here, froggie froggies... python update-texinfo-menus
- From: John Mandereau <john.mandereau@xxxxxxxxx>
- Date: Mon, 16 Mar 2009 17:13:58 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0Y76hvHtCQ8UnN0/R+RAXzas8n6ka+C9lFlI5SEK+KQ=; b=eup1zO9+fkTDaw9V4z+hQKPSMv2doUvp+6HMzVHAt8I5j3O+OR0l5OSYXP3VYeJw6D cCS/T6puFxZa6ugVGVpZHYN1kYboSc0pM2DY1HYvtDhiGTyyq3WNKjgzpor9FEUS4hEw hy1H4Ndb2BA+t489bpJg1BEr46UGAlhcvySuc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=d96OBVtaDoJu8p3Id/GMTEWiZGBQh1MC9OMBJ5T4iUlZSBBfvBgwhYztxNMrwT8wAW hrlQypovr7bzXd3e5ZsNvRdx0sH9/60qm8/Fn7CCkFwRqMfQDyM7n7GD+vsdAapqyua1 c+ql+dg11f3Gx+2P/MJoxAtR0U1tIA9Kd4+aE=
Hi Frogs,
2009/3/16 Graham Percival <graham@xxxxxxxxxxxxxxxxx>:
> On Fri, Mar 13, 2009 at 02:51:22PM -0600, Carl D. Sorensen wrote:
>> The emacs texinfo-update-all-menus macro simply goes through the file and
>> puts in menus that match the @node{} calls to the sectioning commands.
>>
>> I don't think you need to exactly duplicate the emacs macro. I think you
>> just need to (re-)create the menus.
>
> Well, that's exactly what the emacs macro does. Other then adding
> extra whitespace at the end of the "* FOO:: " lines, which
> we **do not** want to duplicate. :)
>
> Another way to look at it is this: if you delete all the
> * FOO::
> lines from a .itely file (but you can **keep** the
> @menu
> @end menu
> stuff), then the python script should produce the same file that
> you had before you deleted the "* FOO::" lines.
It should even work if you delete the @menu/@end menu blocks, in which case
the script should insert a @menu block just before the first node of the lower
sectioning level.
Cheers,
John
---
----
Join the Frogs!