ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupenumerations, alternative=serried is ignored when setting up multiple enumerations
Date: Tue, 26 Mar 2013 12:52:55 +0100	[thread overview]
Message-ID: <CAF=dkzwXohM70CEJXqpASOp9SqnHuYgMs8S2DgbSWw_n6MsOwQ@mail.gmail.com> (raw)
In-Reply-To: <CAAeSgjxH6M1dQ36GZEKCN73H_FEvcYNSCdqssckeWPLf1Ht6+w@mail.gmail.com>

Hi Tobias,

> When I try to use \setupenumerations in the latest beta
> (2013.03.22 12:06) for multiple enumerations, the
> alternative=... is ignored for all but the first enumeration.

It's not just the enumeration; e.g. the color key, too is applied to
only to the first enumeration class named.

I haven't seen the idiom
    \setupenumerations[a,b][...]
before; I have always used
    \setupenumerations[a][...]
    \setupenumerations[b][...]
which works fine. Does the manual you were using mention anywhere that
the [a,b] idiom should work? If it doesn't, perhaps you simply made a
misassumption; if it does, someone more knowledgeable should tell us
whether it is the manual or the code that is wrong. Thanks anyhow for
bringing this up on the mailing list, of course. And have fun learning
ConTeXt!

Cheers,
Sietse

(Slightly changed MWE below, which shows the behaviour of serried)

\defineenumeration[a] [text=a]
\defineenumeration [b] [text=b]

% This only sets up a
\setupenumerations [a,b][alternative=serried, color=red]

% This sets up both a and b
% \setupenumerations [a][alternative=serried, color=red]
% \setupenumerations [b][alternative=serried, color=red]


\starttext
\starta
    \input ward
\stopa
\startb
    \input ward
\stopb
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-03-26 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22 17:28 Tobias Columbus
2013-03-26 11:52 ` Sietse Brouwer [this message]
2013-03-26 17:09   ` Wolfgang Schuster
2013-03-26 17:17     ` Tobias Columbus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=dkzwXohM70CEJXqpASOp9SqnHuYgMs8S2DgbSWw_n6MsOwQ@mail.gmail.com' \
    --to=sbbrouwer@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).