mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Q: HOWTO: add a menu entry only when a certain package is used


Chronological Thread 
  • 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



Archive powered by MHonArc 2.6.19.

Top of page