Subject: mailing-list for TeXmacs Users
List archive
From : Jeremy Henty <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Q: HOWTO: add a menu entry only when a certain package is used
- Date: Mon, 24 Sep 2007 15:06:46 +0100
I managed to get it working, so in case anyone else is interested in
how to do it:
On Sun, Sep 23, 2007 at 08:17:08PM +0100, Jeremy Henty (ie. me) wrote:
> ... sometimes I'd really like the menu items to appear *only* when
> the current buffer uses certain packages.
Use the "if" and "when" constructs in the menu definitions.
> Does the TeXmacs API include a convenient way to get the current
> list of packages?
(get-style-tree)
Regards,
Jeremy Henty
- Q: HOWTO: add a menu entry only when a certain package is used, Jeremy Henty, 09/23/2007
- Re: [TeXmacs] Q: HOWTO: add a menu entry only when a certain package is used, Jeremy Henty, 09/24/2007
Archive powered by MHonArc 2.6.19.