[NTG-context] Problem with \nolist

2010-11-28 Thread Procházka Lukáš

Hello,

I'm receiving errors when compiling the following code (although a .pdf is 
created):

---
\starttext
  \placecontent

  \section{AAA \nolist{aaa}}
\stoptext
---

Error message:

---
structure   : section @ level 3 : 0.0.1 - AAA \nolist {aaa}
! Undefined control sequence.
l.1 AAA \nolist
{aaa}
\structuretitle ...a {structures.sections.title()}

\getstructureheadtitle ... \relax \structuretitle
  \else \normalexpanded {\no...
\doplaceheadtextcomponent ...setstrut \begstrut #1
  \endstrut }\xdef \localhea...
\@@ns::normal ...eadtextwidth \fi \noindent \fi #2
  }
\placestructureheadnumbertext ...uctureheadtitle }
  }\fi \endheadplacement {\g...
...
l.4   \section{AAA \nolist{aaa}}
---

I'm trying to get something similar as described in contextref.pdf on the page 
213. What's the problem?

Latest ctx minimals.

Best regards,

Lukas

t-NoList.log
Description: Binary data


t-NoList.mkiv
Description: Binary data


t-NoList.pdf
Description: Adobe PDF document
___
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
___


Re: [NTG-context] Problem with \nolist

2010-11-28 Thread Wolfgang Schuster

Am 28.11.2010 um 18:29 schrieb Procházka Lukáš:

 Hello,
 
 I'm receiving errors when compiling the following code (although a .pdf is 
 created):
 
 [...]
 ! Undefined control sequence.
 l.1 AAA \nolist
{aaa}
 [...]
 
 I'm trying to get something similar as described in contextref.pdf on the 
 page 213. What's the problem?

Exactly what the error message tells you, the command \nolist is not defined in 
MkIV.

You can find a solution to a similar problem here:

http://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect

A alternative is to use the start/stop-commands where you can set a different
test for the table of contents with

\startsection[title={AAA aaa},list={AAA}]

...

\stopsection

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
___


Re: [NTG-context] Problem with \nolist

2010-11-28 Thread Procházka Lukáš

... Thanks.

Lukas


On Sun, 28 Nov 2010 19:00:37 +0100, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:



Am 28.11.2010 um 18:29 schrieb Procházka Lukáš:


Hello,

I'm receiving errors when compiling the following code (although a .pdf is 
created):

[...]
! Undefined control sequence.
l.1 AAA \nolist
   {aaa}
[...]

I'm trying to get something similar as described in contextref.pdf on the page 
213. What's the problem?


Exactly what the error message tells you, the command \nolist is not defined in 
MkIV.

You can find a solution to a similar problem here:

http://wiki.contextgarden.net/MkIV_Differences#Nomarking.2FSelect

A alternative is to use the start/stop-commands where you can set a different
test for the table of contents with

\startsection[title={AAA aaa},list={AAA}]

...

\stopsection

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
___