Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Have Enumerate environments share a counter

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Have Enumerate environments share a counter


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: Felix Breuer <address@hidden>
  • Cc: <address@hidden>, <address@hidden>
  • Subject: Re: [TeXmacs] Have Enumerate environments share a counter
  • Date: Tue, 19 Oct 2004 23:12:49 +0200 (CEST)


On Tue, 19 Oct 2004, Felix Breuer wrote:
> I would like the following:
>
> A) a list
>
> B) with multiple entries
>
> then some text in between
>
> C) and another list
>
> D) that picks up where the other left off.
>
> I.e. I want to have two enumerations share a counter. I know that I can
> achieve this effect manually by putting item* instead of item inside the
> environment, but somehow that causes problems when using
> labels/references to refer to these items.
>
> Check the attached file for an example.
>
>
> So, how can I achieve the desired behaviour?

What about the following macro:

(assign "continue-enumerate"
(macro "body"
(document
(enumerate
(with "item-nr" (value "last-item")
(document (arg "body")))))))




Archive powered by MHonArc 2.6.19.

Top of Page