Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Steffen Wolfrum
I have tried ...

\setuplist[chapter]  
[label=no,prefix=no,sectionnumber=no,alternative=a,textcommand= 
\midaligned,distance=0cm,margin=0cm,width=0cm]

... but still there is the sectionnumber shown in the content.
Is this because of our special setuphead[chapter] command?

Is there no way to avoid the sectionnumber for my chapter in the TOC?

Steffen


Am 31.07.2006 um 07:31 schrieb Steffen Wolfrum:

 That's it.

 Now the corresponding entry in the TOC should be without  
 sectionnumber,
 but

 setuplist[...][sectionnumber=no]

 doesn't work.
 And looking in the manual I saw that this command is listed for
 setuplist, but listed italic?!



...


 \setuphead[chapter]
[command=\Sectioncommand,
 style=,
 textstyle=\bfb,
 numberstyle=\it]

 \def\Sectioncommand#1#2%
  {\vbox \bgroup
 \framed[align=middle,frame=off,offset=0pt]{Chapter #1}%
 \framed[align=middle,frame=off,offset=0pt]{#2}%
   \egroup}

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Hans Hagen
Steffen Wolfrum wrote:
 That's it.

 Now the corresponding entry in the TOC should be without sectionnumber,
 but

 setuplist[...][sectionnumber=no]

 doesn't work.
 And looking in the manual I saw that this command is listed for  
 setuplist, but listed italic?!
   
has to do with prefixes, like \chapternumber=no and so 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] setuphead, setuplist

2006-07-30 Thread Steffen Wolfrum
That's it.

Now the corresponding entry in the TOC should be without sectionnumber,
but

setuplist[...][sectionnumber=no]

doesn't work.
And looking in the manual I saw that this command is listed for  
setuplist, but listed italic?!

Steffen



Am 31.07.2006 um 00:51 schrieb Aditya Mahajan:

 On Mon, 31 Jul 2006, Hans Hagen wrote:

 Steffen Wolfrum wrote:
 Well, looks good, BUT
 if the chapter's name is quite long and needs a break
 then the break command used there (\crlf \break \\) can't work
 anymore 


 \setuphead[chapter]
[command=\Sectioncommand,
 style=,
 textstyle=\bfb,
 numberstyle=\it]

 \def\Sectioncommand#1#2%
  {\vbox \bgroup
 \framed[align=middle,frame=off,offset=0pt]{Chapter #1}%
 \framed[align=middle,frame=off,offset=0pt]{#2}%
   \egroup}

 or something alike

 You also need to specify width of the frame, otherwise width=fit is
 default and framed box does not appear to be middle aligned.

 Aditya
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context