mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Lists with prefixes on labels


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Lists with prefixes on labels
  • Date: Thu, 3 Apr 2008 09:50:12 +0200

On Thu, Apr 03, 2008 at 02:53:30AM +0100, Jeremy Henty wrote:
> On Wed, Apr 02, 2008 at 04:08:30PM +0200, Joris van der Hoeven wrote:
> > On Wed, Apr 02, 2008 at 01:45:58PM +0100, Jeremy Henty wrote:
> > > On Wed, Apr 02, 2008 at 12:40:12PM +0100, Jeremy Henty wrote:
> > > > I would like to have lists that are distinguished by prefixes on
> > > > their labels, ie.
> > > >
> > > > Here's a list of axioms:
> > > > Ax-1 ...
> > > > Ax-2 ...
> >
> > There are several answers possible to your first question.
> > The different possibilities:
> > 1) Define a new list environment with a parameter giving the prefix.
>
> I did this but I had to set some DRD properties before I could edit
> the contents of the list. Once I did that it works fine. It doesn't
> seem necessary for the core list constructs and I can't see why it was
> necessary for me. Am I missing something? (The package file is
> attached.)
[...]
> <\body>
>
> <assign|enumerate-prefixed|<macro|prefix|body|<quasi|<list|<value|aligned-space-item>|<macro|x|<unquote|<arg|prefix>>-<arg|x>>|<arg|body>>>>>
>
> <drd-props|enumerate-prefixed|accessible|1>
> </body>

Looking at your macros with "quasi" and "unquote" constructs,
I think that the heuristic determination of accessability is fooled.
That is why you have to manually set the DRD properties.

Best wishes, Joris



Archive powered by MHonArc 2.6.19.

Top of page