* Item group parentheses
@ 2019-12-26 18:55 Jairo A. del Rio
2019-12-26 19:07 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2019-12-26 18:55 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 554 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 775 bytes --]
[-- Attachment #2: texstudio_HP2542.pdf --]
[-- Type: application/pdf, Size: 6681 bytes --]
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Item group parentheses
2019-12-26 18:55 Item group parentheses Jairo A. del Rio
@ 2019-12-26 19:07 ` Wolfgang Schuster
2020-01-07 10:23 ` context
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2019-12-26 19:07 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jairo A. del Rio
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Item group parentheses
2019-12-26 19:07 ` Wolfgang Schuster
@ 2020-01-07 10:23 ` context
0 siblings, 0 replies; 3+ messages in thread
From: context @ 2020-01-07 10:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
could auto-generated syntax for \setupitemgroup be added to wiki?
There is no notice about "lefttext" or "righttext" keys:
https://wiki.contextgarden.net/Command/setupitemgroup
(yes, keys "left" and "right" are mentioned here.)
TIA.
Best regards,
Lukas
On 2019-12-26 20:07, Wolfgang Schuster wrote:
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-07 10:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 18:55 Item group parentheses Jairo A. del Rio
2019-12-26 19:07 ` Wolfgang Schuster
2020-01-07 10:23 ` context
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).