Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:50 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:43:
>> [...]
>> Is there a way with a \setupitemize (or \setupitemgroup) to configure
>> only one kind of numbered (or unnumbered, for that matter) item groups?
>
> You have to create a new itemgroup environment/instance.
>
> \defineitemgroup [romanitemize]
> \setupitemgroup  [romanitemize] [R,inmargin]

Many thanks for your help, Wolfgang.

This is exactly what I needed.

Pablo
--
http://www.ousia.tk
___
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
___


Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 20.03.19 um 20:43:

On 3/20/19 8:09 PM, Wolfgang Schuster wrote:

Pablo Rodriguez schrieb am 20.03.19 um 20:03:

[...]
Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?


\startitemize[I,inmargin]


Many thanks for your reply, Wolfgang.

I need a \setup... command, since I’m going to use it in an environment
file to typeset XML sources.

Is there a way with a \setupitemize (or \setupitemgroup) to configure
only one kind of numbered (or unnumbered, for that matter) item groups?


You have to create a new itemgroup environment/instance.

\defineitemgroup [romanitemize]
\setupitemgroup  [romanitemize] [R,inmargin]

\starttext

\startromanitemize
\dorecurse{5}{\item item}
\stopromanitemize

\startitemgroup [romanitemize]
\dorecurse{5}{\item item}
\stopitemgroup

\stoptext

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
___


Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:03:
>> [...]
>> Is there a way to get only [option=inmargin] for the items that are
>> Roman-numbered?
>
> \startitemize[I,inmargin]

Many thanks for your reply, Wolfgang.

I need a \setup... command, since I’m going to use it in an environment
file to typeset XML sources.

Is there a way with a \setupitemize (or \setupitemgroup) to configure
only one kind of numbered (or unnumbered, for that matter) item groups?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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
___


Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Wolfgang Schuster

Pablo Rodriguez schrieb am 20.03.19 um 20:03:

Dear list,

I have the following sample:

 \showframe
 \setupitemize[each][option=inmargin]
 \starttext
 \startitemize[n]
 \dorecurse{5}{\item item}
 \stopitemize

 \startitemize
 \dorecurse{5}{\item item}
 \stopitemize

 \startitemize[I]
 \dorecurse{5}{\item item}
 \stopitemize
 \stoptext

Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?


\startitemize[I,inmargin]

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
___


[NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize

\startitemize
\dorecurse{5}{\item item}
\stopitemize

\startitemize[I]
\dorecurse{5}{\item item}
\stopitemize
\stoptext

Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___
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
___