Subject: mailing-list for TeXmacs Users
List archive
From : Miguel de Benito Delgado <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Table of contents
- Date: Mon, 1 Oct 2012 20:55:33 +0200
Hi,
Concerning the toolbar:
There is a special toolbar intended for user icons. Its scheme name is texmacs-extra-icons and it's built using menu-bind. This macro is used both for menu items and toolbars, so if you want to search the scheme sources for examples, you'd better look for the other toolbars: texmacs-main-icons, texmacs-mode-icons, texmacs-focus-icons. Here is an example:
In the view menu check the option "User icons" and in a scheme session paste (meaning "paste as verbatim" or simply paste if you are running the latest svn) the following, with each definition in a separate input field and pressing enter in order to evaluate them:
(define some-condition? #t)
(menu-bind example-submenu
("Item 1" (noop))
("Item 2" (noop)))
(menu-bind texmacs-extra-icons
(=> (balloon (icon "tm_save.xpm") "Example of a submenu") (link example-submenu))
(if some-condition?
((balloon (icon "tm_print.xpm") "Print") (noop))))
Voilà. :)
________________
Miguel de Benito.
Miguel de Benito.
On Mon, Oct 1, 2012 at 8:26 AM, François-Xavier Thomas <address@hidden> wrote:
On Sep 30, 2012, at 11:11 PM, Sam Liddicott wrote:Texmacs maintains only one set if pagination and label information.
Normally you should document->update-all four or five times but of your edit page style is papyrus then thus won't be enough and you must re-export .PS or .PDF each time as well.
Thanks, I didn't know that option existed.Too bad for the toolbar, I wasn't really expecting something easy anyway, given I don't know Scheme very well I would have to learn it before doing anything...
- Re: [TeXmacs] Table of contents, Sam Liddicott, 10/01/2012
- Re: [TeXmacs] Table of contents, François-Xavier Thomas, 10/01/2012
- Re: [TeXmacs] Table of contents, Miguel de Benito Delgado, 10/01/2012
- Message not available
- Message not available
- Re: [TeXmacs] Table of contents, François-Xavier Thomas, 10/01/2012
- Message not available
- Message not available
- Re: [TeXmacs] Table of contents, texmacs . 5 . pjoyez, 10/02/2012
- Message not available
- Re: [TeXmacs] multiple roots, Massimiliano Gubinelli, 10/04/2012
- Message not available
- Message not available
- Re: [TeXmacs] multiple roots, luis-google, 10/05/2012
- Re : [TeXmacs] multiple roots, richardetdave, 10/06/2012
- Re: Re : [TeXmacs] multiple roots, luis-google, 10/08/2012
- Re : [TeXmacs] multiple roots, richardetdave, 10/06/2012
- Re: [TeXmacs] multiple roots, luis-google, 10/05/2012
- Re: [TeXmacs] Table of contents, Miguel de Benito Delgado, 10/01/2012
- Re: [TeXmacs] Table of contents, François-Xavier Thomas, 10/01/2012
Archive powered by MHonArc 2.6.19.