ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Question about \setupitemgroup
@ 2016-07-22 10:32 Fabrice Couvreur
  2016-07-22 10:47 ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Fabrice Couvreur @ 2016-07-22 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 402 bytes --]

Hi,
I can not find any keyword must be used to get what I want.
Thanks,
Fabrice

\setupbodyfont[pagella,11pt]

\setupitemgroup
  [itemize]
  [each]
  [color=darkred]
  [packed]

\starttext

\startitemize[n]

\item \input tufte

\item \startitemize[a]

\item \input tufte

\stopitemize

\stopitemize

{\tfc What I want to do :}

\blank

{\darkred 1.} \input tufte

{\darkred a.} \input tufte

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 980 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-22 10:32 Question about \setupitemgroup Fabrice Couvreur
@ 2016-07-22 10:47 ` Wolfgang Schuster
  2016-07-22 11:06   ` Fabrice Couvreur
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2016-07-22 10:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 807 bytes --]

> Fabrice Couvreur <mailto:fabrice1.couvreur@gmail.com>
> 22. Juli 2016 um 12:32
> Hi,
> I can not find any keyword must be used to get what I want.
> Thanks,
> Fabrice
>
> \setupbodyfont[pagella,11pt]
>
> \setupitemgroup
>   [itemize]
>   [each]
>   [color=darkred]
>   [packed]
>
> \starttext
>
> \startitemize[n]
>
> \item \input tufte
>
> \item \startitemize[a]
>
> \item \input tufte
>
> \stopitemize
>
> \stopitemize
>
> {\tfc What I want to do :}
>
> \blank
>
> {\darkred 1.} \input tufte
>
> {\darkred a.} \input tufte
>
> \stoptext
\setupitemgroup
   [itemize]
   [color=darkred,
    distance=\spaceamount,
    option={packed,fit,intext}]

\starttext

\startitemize[n]

     \item \input tufte

     \startitemize[a]
         \item \input tufte
     \stopitemize

\stopitemize

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2454 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-22 10:47 ` Wolfgang Schuster
@ 2016-07-22 11:06   ` Fabrice Couvreur
  2016-07-22 14:12     ` Fabrice Couvreur
  0 siblings, 1 reply; 12+ messages in thread
From: Fabrice Couvreur @ 2016-07-22 11:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1485 bytes --]

Hi Wolfgang,
Thank you for your time and your solutions
Fabrice


2016-07-22 12:47 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:

> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> 22. Juli 2016 um 12:32
> Hi,
> I can not find any keyword must be used to get what I want.
> Thanks,
> Fabrice
>
> \setupbodyfont[pagella,11pt]
>
> \setupitemgroup
>   [itemize]
>   [each]
>   [color=darkred]
>   [packed]
>
> \starttext
>
> \startitemize[n]
>
> \item \input tufte
>
> \item \startitemize[a]
>
> \item \input tufte
>
> \stopitemize
>
> \stopitemize
>
> {\tfc What I want to do :}
>
> \blank
>
> {\darkred 1.} \input tufte
>
> {\darkred a.} \input tufte
>
> \stoptext
>
> \setupitemgroup
>   [itemize]
>   [color=darkred,
>    distance=\spaceamount,
>    option={packed,fit,intext}]
>
> \starttext
>
> \startitemize[n]
>
>     \item \input tufte
>
>     \startitemize[a]
>         \item \input tufte
>     \stopitemize
>
> \stopitemize
>
> \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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3926 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-22 11:06   ` Fabrice Couvreur
@ 2016-07-22 14:12     ` Fabrice Couvreur
  2016-07-23  8:28       ` Fabrice Couvreur
  0 siblings, 1 reply; 12+ messages in thread
From: Fabrice Couvreur @ 2016-07-22 14:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1910 bytes --]

I just noticed that there is a problem with the level 2. a. The letter a is on
the number 2

\startitemize[n]

    \item \input tufte

    \item \startitemize[a]
        \item \input tufte
        \item \input tufte
    \stopitemize

\stopitemize

Fabrice

2016-07-22 13:06 GMT+02:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> Hi Wolfgang,
> Thank you for your time and your solutions
> Fabrice
>
>
> 2016-07-22 12:47 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>
> :
>
>> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
>> 22. Juli 2016 um 12:32
>> Hi,
>> I can not find any keyword must be used to get what I want.
>> Thanks,
>> Fabrice
>>
>> \setupbodyfont[pagella,11pt]
>>
>> \setupitemgroup
>>   [itemize]
>>   [each]
>>   [color=darkred]
>>   [packed]
>>
>> \starttext
>>
>> \startitemize[n]
>>
>> \item \input tufte
>>
>> \item \startitemize[a]
>>
>> \item \input tufte
>>
>> \stopitemize
>>
>> \stopitemize
>>
>> {\tfc What I want to do :}
>>
>> \blank
>>
>> {\darkred 1.} \input tufte
>>
>> {\darkred a.} \input tufte
>>
>> \stoptext
>>
>> \setupitemgroup
>>   [itemize]
>>   [color=darkred,
>>    distance=\spaceamount,
>>    option={packed,fit,intext}]
>>
>> \starttext
>>
>> \startitemize[n]
>>
>>     \item \input tufte
>>
>>     \startitemize[a]
>>         \item \input tufte
>>     \stopitemize
>>
>> \stopitemize
>>
>> \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://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 5004 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-22 14:12     ` Fabrice Couvreur
@ 2016-07-23  8:28       ` Fabrice Couvreur
  2016-07-23 16:41         ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Fabrice Couvreur @ 2016-07-23  8:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2235 bytes --]

Hi Wolfgang,
I thought the keyword to correct the problem was but I repeat this otiens

1.
2.a.
2.b

instead of

1.
2.a.
b.

Fabrice

2016-07-22 16:12 GMT+02:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> I just noticed that there is a problem with the level 2. a. The letter a
> is on the number 2
>
> \startitemize[n]
>
>     \item \input tufte
>
>     \item \startitemize[a]
>         \item \input tufte
>         \item \input tufte
>     \stopitemize
>
> \stopitemize
>
> Fabrice
>
> 2016-07-22 13:06 GMT+02:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
>
>> Hi Wolfgang,
>> Thank you for your time and your solutions
>> Fabrice
>>
>>
>> 2016-07-22 12:47 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com
>> >:
>>
>>> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
>>> 22. Juli 2016 um 12:32
>>> Hi,
>>> I can not find any keyword must be used to get what I want.
>>> Thanks,
>>> Fabrice
>>>
>>> \setupbodyfont[pagella,11pt]
>>>
>>> \setupitemgroup
>>>   [itemize]
>>>   [each]
>>>   [color=darkred]
>>>   [packed]
>>>
>>> \starttext
>>>
>>> \startitemize[n]
>>>
>>> \item \input tufte
>>>
>>> \item \startitemize[a]
>>>
>>> \item \input tufte
>>>
>>> \stopitemize
>>>
>>> \stopitemize
>>>
>>> {\tfc What I want to do :}
>>>
>>> \blank
>>>
>>> {\darkred 1.} \input tufte
>>>
>>> {\darkred a.} \input tufte
>>>
>>> \stoptext
>>>
>>> \setupitemgroup
>>>   [itemize]
>>>   [color=darkred,
>>>    distance=\spaceamount,
>>>    option={packed,fit,intext}]
>>>
>>> \starttext
>>>
>>> \startitemize[n]
>>>
>>>     \item \input tufte
>>>
>>>     \startitemize[a]
>>>         \item \input tufte
>>>     \stopitemize
>>>
>>> \stopitemize
>>>
>>> \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://tex.aanhet.net
>>> archive  : http://foundry.supelec.fr/projects/contextrev/
>>> wiki     : http://contextgarden.net
>>>
>>> ___________________________________________________________________________________
>>>
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 6184 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-23  8:28       ` Fabrice Couvreur
@ 2016-07-23 16:41         ` Wolfgang Schuster
  2016-07-24 10:28           ` Fabrice Couvreur
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2016-07-23 16:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]

> Fabrice Couvreur <mailto:fabrice1.couvreur@gmail.com>
> 23. Juli 2016 um 10:28
> Hi Wolfgang,
> I thought the keyword to correct the problem was but I repeat this otiens
>
> 1.
> 2.a.
> 2.b
>
> instead of
>
> 1.
> 2.a.
> b.
You need todays beta to get the correct output for the following example 
(the \noitem hasn’t thw right defintion in older versions):

\setupitemgroup
   [itemize]
   [color=darkred,
    distance=\spaceamount,
    option={packed,fit,intext}]

\starttext

\startitemize[n,repeat]

     \item \input tufte

     \noitem \startitemize[a]
         \item \input tufte
         \item \input tufte
     \stopitemize

\stopitemize

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2342 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-23 16:41         ` Wolfgang Schuster
@ 2016-07-24 10:28           ` Fabrice Couvreur
  2016-07-24 11:18             ` Question about \definefallback Jean-Pierre Delange
  2016-07-27 10:53             ` Question about \setupitemgroup Fabrice Couvreur
  0 siblings, 2 replies; 12+ messages in thread
From: Fabrice Couvreur @ 2016-07-24 10:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1501 bytes --]

Hi Wolgang,
Thank you for your reply only is not what I would like.
Your output:

1.
2.a.
2.b

My output:

1.
2.a.
b.

thank you,
Fabrice

2016-07-23 18:41 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:

> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> 23. Juli 2016 um 10:28
> Hi Wolfgang,
> I thought the keyword to correct the problem was but I repeat this otiens
>
> 1.
> 2.a.
> 2.b
>
> instead of
>
> 1.
> 2.a.
> b.
>
> You need todays beta to get the correct output for the following example
> (the \noitem hasn’t thw right defintion in older versions):
>
> \setupitemgroup
>   [itemize]
>   [color=darkred,
>    distance=\spaceamount,
>    option={packed,fit,intext}]
>
> \starttext
>
> \startitemize[n,repeat]
>
>     \item \input tufte
>
>     \noitem \startitemize[a]
>         \item \input tufte
>         \item \input tufte
>     \stopitemize
>
> \stopitemize
>
> \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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4072 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Question about \definefallback
  2016-07-24 10:28           ` Fabrice Couvreur
@ 2016-07-24 11:18             ` Jean-Pierre Delange
  2016-07-25  9:00               ` Jean-Pierre Delange
  2016-07-27 10:53             ` Question about \setupitemgroup Fabrice Couvreur
  1 sibling, 1 reply; 12+ messages in thread
From: Jean-Pierre Delange @ 2016-07-24 11:18 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1715 bytes --]

Dear List,

Working with ConTeXt MK IV version 2016.07.18, I need sometimes within a 
text in French I am working on, some Greek words or sentences, rarely 
Chinese and Arabic words, mainly names and a few words.

Then, I use this general preamble (thanks to Pablo Rodriguez):

\setuplanguage[fr][patterns={fr,agr}]

\mainlanguage[fr]

\setuplayout [backspace=40mm]

\setuppagenumbering[alternative=doublesided, location={header, inmargin}]

\setupmargindata[inmargin][location=inner, 
style={\ssx\setupinterlinespace[line=2.8ex]}]

\setupmarginframed[inmargin][align=right]

\setupbodyfontenvironment[default][em=italic]


% Hereafter the commands for Greek and Chinese

\definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, 
it={Old Standard Italic}, force=yes]

\definefallbackfamily [mainface] [rm] [ipaexmincho] 
[range=cjkunifiedideographs]

\definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC]

\definefontfamily [mainface] [sans] [FreeSans] [rscale=0.7]


All is working well, but if I add these lines below to the pramble:


\definefallbackfamily [mainface] [sans] [hussaininastaleeq] [range=arabic]

  \definefontfamily [mainface] [serif] [GFS Didot]
(where hussainiastaleeq and GFS Didot fonts are pre-installed, and load 
with a '|mtxrun --script fonts --reload' command), then Arabic words are 
not printed in the PDF file.

One more question : in the English translitteration, the name of the 
tenth century Arabic philosopher, Farabi, is |Abū Naṣr al-Fārābī (with 
diacritic signs on wovels and under the 's' of "Nasr"). Do someone knows 
how to deal with these diacritic signs ?
Thak you very much.
JP

[-- Attachment #1.2: Type: text/html, Size: 3770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \definefallback
  2016-07-24 11:18             ` Question about \definefallback Jean-Pierre Delange
@ 2016-07-25  9:00               ` Jean-Pierre Delange
  0 siblings, 0 replies; 12+ messages in thread
From: Jean-Pierre Delange @ 2016-07-25  9:00 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 3214 bytes --]

Dear List,

I answer to myself (or I give a solution to the problem I have to face). 
As for this precise case (i.e. having multilanguages in the same 
document with French as main language, with some words, sentences or 
whatever in  Ancient Greek, Chinese and Arabic/Persian/Farsi), the 
working solution is the \definefallbackfamily command with the 
\definefontfamily (as everybody knows !). In this case, I 've failed to 
deal with Arabic/Farsi (when I wanted to print the name of the Arabic 
medieval philosopher Fārābī, محمد فارابی

The code was : \definefallbackfamily [mainface] [sans] 
[hussaininastaleeq] [range=arabic], and it doesn't work.
I've tried this : \definefallbackfamily[mainface] [serif] 
[nafeesnastaleeq] [range=arabic,farsi] and it works.
A beginner's mistake, if I summarize...
JP


Le 24/07/2016 à 13:18, Jean-Pierre Delange a écrit :
> Dear List,
>
> Working with ConTeXt MK IV version 2016.07.18, I need sometimes within 
> a text in French I am working on, some Greek words or sentences, 
> rarely Chinese and Arabic words, mainly names and a few words.
>
> Then, I use this general preamble (thanks to Pablo Rodriguez):
>
> \setuplanguage[fr][patterns={fr,agr}]
>
> \mainlanguage[fr]
>
> \setuplayout [backspace=40mm]
>
> \setuppagenumbering[alternative=doublesided, location={header, inmargin}]
>
> \setupmargindata[inmargin][location=inner, 
> style={\ssx\setupinterlinespace[line=2.8ex]}]
>
> \setupmarginframed[inmargin][align=right]
>
> \setupbodyfontenvironment[default][em=italic]
>
>
> % Hereafter the commands for Greek and Chinese
>
> \definefallbackfamily[mainface][serif][Theano 
> Didot][preset=range:greek, it={Old Standard Italic}, force=yes]
>
> \definefallbackfamily [mainface] [rm] [ipaexmincho] 
> [range=cjkunifiedideographs]
>
> \definefontfamily [mainface] [serif] [GaramondNo8][sc=NewG8 Regular SC]
>
> \definefontfamily [mainface] [sans] [FreeSans] [rscale=0.7]
>
>
> All is working well, but if I add these lines below to the pramble:
>
>
> \definefallbackfamily [mainface] [sans] [hussaininastaleeq] [range=arabic]
>
>  \definefontfamily [mainface] [serif] [GFS Didot]
> (where hussainiastaleeq and GFS Didot fonts are pre-installed, and 
> load with a '|mtxrun --script fonts --reload' command), then Arabic 
> words are not printed in the PDF file.
>
> One more question : in the English translitteration, the name of the 
> tenth century Arabic philosopher, Farabi, is |Abū Naṣr al-Fārābī (with 
> diacritic signs on wovels and under the 's' of "Nasr"). Do someone 
> knows how to deal with these diacritic signs ?
> Thak you very much.
> JP
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 6211 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Question about \setupitemgroup
  2016-07-24 10:28           ` Fabrice Couvreur
  2016-07-24 11:18             ` Question about \definefallback Jean-Pierre Delange
@ 2016-07-27 10:53             ` Fabrice Couvreur
  1 sibling, 0 replies; 12+ messages in thread
From: Fabrice Couvreur @ 2016-07-27 10:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2282 bytes --]

Hi Wolfgang,
I'm confused, it does not work and I can not find the solution
Thanks
fabrice

your output :

1.a.
1.b.
1.c.
2.
3.
4.

my output :

1.a
b.
c.
2.
3.
4.

\setupitemgroup
  [itemize]
  [color=darkred,
   distance=\spaceamount,
   option={packed,fit,intext}]

\starttext

\startitemize[n,repeat]

  \noitem \startitemize[a]

           \item
           \item
           \item

          \stopitemize
  \item
  \item
  \item

\stopitemize

\stoptext


Context version ConTeXt  ver: 2016.07.23 13:35 MKIV beta  fmt: 2016.7.24
int: english/english

2016-07-24 12:28 GMT+02:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

> Hi Wolgang,
> Thank you for your reply only is not what I would like.
> Your output:
>
> 1.
> 2.a.
> 2.b
>
> My output:
>
> 1.
> 2.a.
> b.
>
> thank you,
> Fabrice
>
> 2016-07-23 18:41 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>
> :
>
>> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
>> 23. Juli 2016 um 10:28
>> Hi Wolfgang,
>> I thought the keyword to correct the problem was but I repeat this otiens
>>
>> 1.
>> 2.a.
>> 2.b
>>
>> instead of
>>
>> 1.
>> 2.a.
>> b.
>>
>> You need todays beta to get the correct output for the following example
>> (the \noitem hasn’t thw right defintion in older versions):
>>
>> \setupitemgroup
>>   [itemize]
>>   [color=darkred,
>>    distance=\spaceamount,
>>    option={packed,fit,intext}]
>>
>> \starttext
>>
>> \startitemize[n,repeat]
>>
>>     \item \input tufte
>>
>>     \noitem \startitemize[a]
>>         \item \input tufte
>>         \item \input tufte
>>     \stopitemize
>>
>> \stopitemize
>>
>> \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://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 7355 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: question about \setupitemgroup
  2016-11-27 13:28 question " Pablo Rodriguez
@ 2016-12-09  0:27 ` Aditya Mahajan
  0 siblings, 0 replies; 12+ messages in thread
From: Aditya Mahajan @ 2016-12-09  0:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]

On Sun, 27 Nov 2016, Pablo Rodriguez wrote:

> I have the following sample:
>
>    \setupwhitespace[5em]
>    \startsetups[smallwspa]
>        \setupwhitespace[small]
>        \setupblank[small]
>    \stopsetups
>    \setupitemize[each][indenting=no, setups=smallwspa]


The setupitemize command does not accept the setups key.

>    \starttext
>    \input knuth
>
>    \startitemize
>    \dorecurse{5}{\item this is my item\par
>                        second paragraph\par
>                        third paragraph
>                        }
>    \stopitemize
>    \stoptext
>
> I’m trying to get a \blank[small] separation for paragraphs inside items
> and a \blank[medium] separation between items.
>
> I’m afraid that neither the after, inbetween and setups keys are working?
>
> How could I get these different separations for items and for paragraphs
> inside them?
>
> Many thanks for your help,

One workaround is to abuse the option key.

\setupwhitespace[5em]
\startsetups[smallwhitespace]
     \setupwhitespace[small]
     \setupblank[small]
\stopsetups
\unprotect
\setvalue{\??itemgroupkeyword SmallWhiteSpace}{\setups{smallwhitespace}}
\protect

\setupitemize[option=SmallWhiteSpace, indenting=no, inbetween={\blank[1cm]}]

\starttext
\input knuth

\startitemize
\dorecurse{5}{\item this is my item\par
                     second paragraph\par
                     third paragraph
                     }
\stopitemize
\stoptext

@Hans: Could you add a setups key to \startitemgroup? One could abuse the 
before key, but that is not always executed.

Aditya

[-- Attachment #2: Type: text/plain, Size: 492 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] 12+ messages in thread

* question about \setupitemgroup
@ 2016-11-27 13:28 Pablo Rodriguez
  2016-12-09  0:27 ` Aditya Mahajan
  0 siblings, 1 reply; 12+ messages in thread
From: Pablo Rodriguez @ 2016-11-27 13:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \setupwhitespace[5em]
    \startsetups[smallwspa]
        \setupwhitespace[small]
        \setupblank[small]
    \stopsetups
    \setupitemize[each][indenting=no, setups=smallwspa]
    \starttext
    \input knuth

    \startitemize
    \dorecurse{5}{\item this is my item\par
                        second paragraph\par
                        third paragraph
                        }
    \stopitemize
    \stoptext

I’m trying to get a \blank[small] separation for paragraphs inside items
and a \blank[medium] separation between items.

I’m afraid that neither the after, inbetween and setups keys are working?

How could I get these different separations for items and for paragraphs
inside them?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-12-09  0:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-22 10:32 Question about \setupitemgroup Fabrice Couvreur
2016-07-22 10:47 ` Wolfgang Schuster
2016-07-22 11:06   ` Fabrice Couvreur
2016-07-22 14:12     ` Fabrice Couvreur
2016-07-23  8:28       ` Fabrice Couvreur
2016-07-23 16:41         ` Wolfgang Schuster
2016-07-24 10:28           ` Fabrice Couvreur
2016-07-24 11:18             ` Question about \definefallback Jean-Pierre Delange
2016-07-25  9:00               ` Jean-Pierre Delange
2016-07-27 10:53             ` Question about \setupitemgroup Fabrice Couvreur
2016-11-27 13:28 question " Pablo Rodriguez
2016-12-09  0:27 ` Aditya Mahajan

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).