Skip to Content.
Sympa Menu

texmacs-users - Re: Style How-to

Subject: mailing-list for TeXmacs Users

List archive

Re: Style How-to


Chronological Thread 
  • From: David Allouche <address@hidden>
  • To: address@hidden
  • Subject: Re: Style How-to
  • Date: Wed, 3 Apr 2002 23:49:25 +0200

On Wednesday 03 April 2002 10:04, Jan Ulrich Hasecke wrote:

> I am looking for a commented style to learn how to create or modify
> styles to my needs.

I do not know of such a thing, but that would indeed be a good idea.
I created a wishlist entry for that at:
http://alqua.com/tmresources/wish%20-%20commented%20style%20file%20as%20tutorial

As usual, do not hesitate to drop comments in.

Nonetheless you can have a look at the very incomplete documentation on the
Wiki:
http://alqua.com/tmresources/advanced%20user%20manual
Could be of some help (in addition to the terse online documentation).

Finally, you can look at user user contributed styles in
$TEXMACS_PATH/styles. I humbly suggest to have a look at 'allouche.ts' and
the 'rsection.ts' file I posted here recently. They are not very complicated
and demonstrate some useful features.

> I copied article.ts to ~/.TeXmacs/styles/konzept.ts but it does not
> show up in the styles-dropdown-menu. Do I have to modify an init-files
> somewhere?

You can always use the Document->style->other menu item.

To customize the style menu you can add the followind definition to your user
init file:

(set! style-menu (append style-menu '(("konzept" (init-style "konzept"))))

By the way, most of the time when you want to customize an existing style,
you really want to redefine only a few variables in your style file and use
it as a 'package'.
--

-- David --


  • Style How-to, Jan Ulrich Hasecke, 04/03/2002
    • Re: Style How-to, David Allouche, 04/03/2002

Archive powered by MHonArc 2.6.19.

Top of Page