Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: address@hidden
- Subject: Re: Theorems and definitions
- Date: Tue, 4 Jun 2002 12:17:13 +0200 (MET DST)
On Tue, 4 Jun 2002, David Allouche wrote:
> On Tuesday 04 June 2002 00:09, Jan Alboszta wrote:
>
> > I would like to have independ enumerations for theorems and
> > definitions. Is there a simple way of achieving this?
> > Or some well commented .ts file which would explain how to write
> > own styles.
>
> Up to now I did not knew there was a way, but while looking for a
> solution to your problem I inadvertently stumbled upon an existing
> package doing exactly what you want.
>
> You need a fairly recent version of TeXmacs (1.0.0.5 here).
> Just select "Document->use package->environment->env-europe".
>
> About the documentation, there are some bits on the wiki, you may learn
> by reverse engineering the distribution styles, reading the source code
> (esp. the env_exec.gen.cc file), and asking questions here for the more
> difficult points, but there is no good and complete documentation for
> styles that I am aware of.
At the moment we have a great lack of people who are willing to write
documentation and, unfortunately, the new style file mechanism is not
yet documented.
As to your question, you should create a "my-article" document style,
by copying the current article.ts file to my-article.ts and
by replacing the "env-us" package by the "env-europe" package.
In other words, you should choose Document->style->none first and
then readd the packages common-base, header-article, env-europe,
number-article and section-article one by one and in this order.
I don't have a satisfactory solution yet for creating an option
for using this kind of numbering.
-----------------------------------------------------------
Joris van der Hoeven <address@hidden>
http://www.texmacs.org: GNU TeXmacs scientific text editor
http://www.math.u-psud.fr/~vdhoeven: personal homepage
-----------------------------------------------------------
- Theorems and definitions, Jan Alboszta, 06/04/2002
- Re: Theorems and definitions, David Allouche, 06/04/2002
- Re: Theorems and definitions, Joris van der Hoeven, 06/04/2002
- Re: Theorems and definitions, Jan Alboszta, 06/04/2002
- Re: Theorems and definitions, Joris van der Hoeven, 06/04/2002
- Re: Theorems and definitions, Jan Alboszta, 06/04/2002
- Re: Theorems and definitions, Joris van der Hoeven, 06/04/2002
- Re: Theorems and definitions, Luciano Cardoso, 06/06/2002
- Re: Theorems and definitions, David Allouche, 06/04/2002
Archive powered by MHonArc 2.6.19.