ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* startitemize --- \stopitemize
@ 2010-10-24 19:58 Herbert Voss
  2010-10-24 20:03 ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Herbert Voss @ 2010-10-24 19:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

From the documentation:

\starttext
\startitemize
 \head he got a head ache
 \startitemize[n,packed]
  \item of all the items
  \nop  he had to learn at school
  \mar{++} because the marginal explanation
  \sub  of the substantial content
  \sym{\#} turned out to be mostly symbolic
 \stopitemize
\stoptemize
\stoptext




! Extra }, or forgotten \endgroup.

system          > error on line 10 in file 04-01-6.ctxcrop: Extra }, or
forgotten  ...

 1     \starttext
 2     \startitemize
 3      \head he got a head ache
 4      \startitemize[n,packed]
 5       \item of all the items
 6       \nop  he had to learn at school
 7       \mar{++} because the marginal explanation
 8       \sub  of the substantial content
 9       \sym{\#} turned out to be mostly symbolic
10 >>   \stopitemize
11     \stoptemize
12     \stoptext


\stopitemgroup ...el {\number \itemdepth }\egroup
                                                  \par \fi
\dorechecknextind...
l.10  \stopitemize

---------------------------------------------------------
ConTeXt  ver: 2010.10.18 11:11 MKIV  fmt: 2010.10.24  int: english/english

Herbert
___________________________________________________________________________________
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] 9+ messages in thread

* Re: startitemize --- \stopitemize
  2010-10-24 19:58 startitemize --- \stopitemize Herbert Voss
@ 2010-10-24 20:03 ` Aditya Mahajan
  2010-10-24 20:11   ` Herbert Voss
  0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2010-10-24 20:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 24 Oct 2010, Herbert Voss wrote:

>> From the documentation:
>
> \starttext
> \startitemize
> \head he got a head ache
> \startitemize[n,packed]
>  \item of all the items
>  \nop  he had to learn at school
>  \mar{++} because the marginal explanation
>  \sub  of the substantial content
>  \sym{\#} turned out to be mostly symbolic
> \stopitemize
> \stoptemize
> \stoptext
>

\head must end with a \par... so either leave a blank line after head 
ache or insert an explicit \par.

Aditya

___________________________________________________________________________________
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] 9+ messages in thread

* Re: startitemize --- \stopitemize
  2010-10-24 20:03 ` Aditya Mahajan
@ 2010-10-24 20:11   ` Herbert Voss
  2010-10-24 20:20     ` Khaled Hosny
  0 siblings, 1 reply; 9+ messages in thread
From: Herbert Voss @ 2010-10-24 20:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 24.10.2010 22:03, schrieb Aditya Mahajan:

> \head must end with a \par... so either leave a blank line after head
> ache or insert an explicit \par.

sure, you are right, I'g fogotten it. However, I suppose,
I did more wrong, because I get now:

! Undefined control sequence.

system          > error on line 12 in file zzzz.tex: Undefined control
sequence ...

 2     \startitemize
 3      \head he got a head ache
 4
 5      \startitemize[n,packed]
 6       \item of all the items
 7       \nop  he had to learn at school
 8       \mar{++} because the marginal explanation
 9       \sub  of the substantial content
10       \sym{\#} turned out to be mostly symbolic
11      \stopitemize
12 >>  \stoptemize
13     \stoptext

l.12 \stoptemize

Herbert

___________________________________________________________________________________
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] 9+ messages in thread

* Re: startitemize --- \stopitemize
  2010-10-24 20:11   ` Herbert Voss
@ 2010-10-24 20:20     ` Khaled Hosny
  2010-10-24 20:26       ` Herbert Voss
  0 siblings, 1 reply; 9+ messages in thread
From: Khaled Hosny @ 2010-10-24 20:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Oct 24, 2010 at 10:11:59PM +0200, Herbert Voss wrote:
> Am 24.10.2010 22:03, schrieb Aditya Mahajan:
> 
> > \head must end with a \par... so either leave a blank line after head
> > ache or insert an explicit \par.
> 
> sure, you are right, I'g fogotten it. However, I suppose,
> I did more wrong, because I get now:

Your second \stopitemize is missing an i.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 9+ messages in thread

* Re: startitemize --- \stopitemize
  2010-10-24 20:20     ` Khaled Hosny
@ 2010-10-24 20:26       ` Herbert Voss
  2010-10-24 20:35         ` Aditya Mahajan
                           ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Herbert Voss @ 2010-10-24 20:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 24.10.2010 22:20, schrieb Khaled Hosny:
> On Sun, Oct 24, 2010 at 10:11:59PM +0200, Herbert Voss wrote:
>> Am 24.10.2010 22:03, schrieb Aditya Mahajan:
>>
>>> \head must end with a \par... so either leave a blank line after head
>>> ache or insert an explicit \par.
>>
>> sure, you are right, I'g fogotten it. However, I suppose,
>> I did more wrong, because I get now:
> 
> Your second \stopitemize is missing an i.

Oh my dear ... I was blinded by the light .. looked 10 times
over the code ...

Thanks
Herbert
___________________________________________________________________________________
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] 9+ messages in thread

* Re: startitemize --- \stopitemize
  2010-10-24 20:26       ` Herbert Voss
@ 2010-10-24 20:35         ` Aditya Mahajan
  2010-10-24 20:41         ` Khaled Hosny
  2010-10-24 21:16         ` \mar Herbert Voss
  2 siblings, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2010-10-24 20:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 24 Oct 2010, Herbert Voss wrote:

> Am 24.10.2010 22:20, schrieb Khaled Hosny:
>> On Sun, Oct 24, 2010 at 10:11:59PM +0200, Herbert Voss wrote:
>>> Am 24.10.2010 22:03, schrieb Aditya Mahajan:
>>>
>>>> \head must end with a \par... so either leave a blank line after head
>>>> ache or insert an explicit \par.
>>>
>>> sure, you are right, I'g fogotten it. However, I suppose,
>>> I did more wrong, because I get now:
>>
>> Your second \stopitemize is missing an i.
>
> Oh my dear ... I was blinded by the light .. looked 10 times
> over the code ...

texmfstart concheck filename

It gives false alarms, but definitely catches such typing errors.

Aditya
___________________________________________________________________________________
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] 9+ messages in thread

* Re: startitemize --- \stopitemize
  2010-10-24 20:26       ` Herbert Voss
  2010-10-24 20:35         ` Aditya Mahajan
@ 2010-10-24 20:41         ` Khaled Hosny
  2010-10-24 21:16         ` \mar Herbert Voss
  2 siblings, 0 replies; 9+ messages in thread
From: Khaled Hosny @ 2010-10-24 20:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Oct 24, 2010 at 10:26:37PM +0200, Herbert Voss wrote:
> Am 24.10.2010 22:20, schrieb Khaled Hosny:
> > On Sun, Oct 24, 2010 at 10:11:59PM +0200, Herbert Voss wrote:
> >> Am 24.10.2010 22:03, schrieb Aditya Mahajan:
> >>
> >>> \head must end with a \par... so either leave a blank line after head
> >>> ache or insert an explicit \par.
> >>
> >> sure, you are right, I'g fogotten it. However, I suppose,
> >> I did more wrong, because I get now:
> > 
> > Your second \stopitemize is missing an i.
> 
> Oh my dear ... I was blinded by the light .. looked 10 times
> over the code ...

I missed it twice until I realised I'm looking at the wrong stopitemize.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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] 9+ messages in thread

* \mar
  2010-10-24 20:26       ` Herbert Voss
  2010-10-24 20:35         ` Aditya Mahajan
  2010-10-24 20:41         ` Khaled Hosny
@ 2010-10-24 21:16         ` Herbert Voss
  2010-10-24 22:09           ` \mar Aditya Mahajan
  2 siblings, 1 reply; 9+ messages in thread
From: Herbert Voss @ 2010-10-24 21:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The documentation and the wiki show the syntax for \mar

         1       2
\mar [...,...] {...}
      OPTIONAL
1  REFERENCE
2  CONTENT

When I use the optional argument, then the [ is taken
as an argument for the content, which is correct placed
into the margin, but the rest "foo]{+}..." is taken as
default text. I suppose, that \mar has no optional
argument?

\starttext

\startitemize
\item baz
\mar[foo]{+} bar baz
\item barbaz
\stopitemize

\stoptext

Herbert
___________________________________________________________________________________
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] 9+ messages in thread

* Re: \mar
  2010-10-24 21:16         ` \mar Herbert Voss
@ 2010-10-24 22:09           ` Aditya Mahajan
  0 siblings, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2010-10-24 22:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 24 Oct 2010, Herbert Voss wrote:

> The documentation and the wiki show the syntax for \mar
>
>         1       2
> \mar [...,...] {...}
>      OPTIONAL
> 1  REFERENCE
> 2  CONTENT
>
> When I use the optional argument, then the [ is taken
> as an argument for the content, which is correct placed
> into the margin, but the rest "foo]{+}..." is taken as
> default text. I suppose, that \mar has no optional
> argument?

Right. This is the definition in strc-itm.mkiv

\def\itemgroupmargin#1%
   {\the\itemgroupfinalizer
    \def\marsymbol
      {\llap
         {\dosetitemattributes\currentitemlevel\c!marstyle\c!marcolor{#1}%
          \hskip\leftskip\hskip\leftmargindistance}}%
    \itemgroupitem}

\appendtoks \letvalue\v!mar  \itemgroupmargin  \to \itemgroupcommands

Aditya
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2010-10-24 22:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-24 19:58 startitemize --- \stopitemize Herbert Voss
2010-10-24 20:03 ` Aditya Mahajan
2010-10-24 20:11   ` Herbert Voss
2010-10-24 20:20     ` Khaled Hosny
2010-10-24 20:26       ` Herbert Voss
2010-10-24 20:35         ` Aditya Mahajan
2010-10-24 20:41         ` Khaled Hosny
2010-10-24 21:16         ` \mar Herbert Voss
2010-10-24 22:09           ` \mar 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).