ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Jairo A. del Rio" <jairoadelrio6@gmail.com>
Subject: Re: Item group parentheses
Date: Thu, 26 Dec 2019 20:07:04 +0100	[thread overview]
Message-ID: <db49b1bd-d995-33a0-8265-f46496a0eb98@gmail.com> (raw)
In-Reply-To: <CAKyqqaZwjYLpbBUH=Wmoa1+e4t+rs2dZeXPrHgHHi7O1M_DBSw@mail.gmail.com>

Jairo A. del Rio schrieb am 26.12.2019 um 19:55:
> I'm defining item groups in ConTeXt and I find the following issue: 
> combining the "text" parameter with others automatically disables 
> "left" and "right" keys, so numbers always appear enclosed in parentheses.
>
> %What I expect:
> %I. This ain't right
> %What I get:
> %(I) This ain't right
> \defineitemgroup[erroneous]
> \setupitemgroup[erroneous][1][R,text,continue][left=,right=.,stopper=]
> \starttext
> \starterroneous
> \startitem This ain't right \stopitem
> \stoperroneous
> \stoptext
>
> Maybe a bug, I want to know how to get the expected result. Thank you 
> in advance.

You have to clear the values of the lefttext and righttext keys.

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-12-26 19:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-26 18:55 Jairo A. del Rio
2019-12-26 19:07 ` Wolfgang Schuster [this message]
2020-01-07 10:23   ` context

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=db49b1bd-d995-33a0-8265-f46496a0eb98@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=jairoadelrio6@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).