Re: [NTG-context] title, subject table of contents

2005-02-13 Thread cormullion
VnPenguin [EMAIL PROTECTED] said on 2005-02-13, 1:02 (+0100 GMT):

 
 \setuphead
 [chapter]
 [number=no]
 
 and use \chapter instead of \title. So I can obtain the TOC. But I
 dont why there is no clickable link in the TOC at all :(

\setuplist[chapter,section][interaction=all] ?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] title, subject table of contents

2005-02-13 Thread VnPenguin
On Sun, 13 Feb 2005 11:44:11 +, cormullion [EMAIL PROTECTED] wrote:
 VnPenguin [EMAIL PROTECTED] said on 2005-02-13, 1:02 (+0100 GMT):
 
  
  \setuphead
  [chapter]
  [number=no]
  
  and use \chapter instead of \title. So I can obtain the TOC. But I
  dont why there is no clickable link in the TOC at all :(
 
 \setuplist[chapter,section][interaction=all] ?

Great! works well ;)
Thank you so much,
Q.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] title, subject table of contents

2005-02-13 Thread h h extern
VnPenguin wrote:
But if I replace \chapter by \title; \section by \subject, I can not
have a TOC at all. This is the code:
that's because those are not written to the list;
\startfrontmatter
\charter{xxx}
\stopfrontmatter
gives you unnumbered entries but written to the list;
(it is possible to configure section handlers to number, write to list etc, but 
this is the easiest way)

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] title, subject table of contents

2005-02-12 Thread VnPenguin
On Sat, 12 Feb 2005 21:00:22 +0100, Thomas A. Schmitz
[EMAIL PROTECTED] wrote:
 Hi,
 
 I had a similar problem some weeks ago. Here's what Hans wrote in
 November 2004:
 
  \title never ends up in the toc, unless configured
 
  however, you can add section structure (bodypart, appendix, etc) and
  within such a part, a \chapter command will act as \title (toc entry,
  but no number)
 

Thank you.
I try :

\setuphead
[chapter]
[number=no]

and use \chapter instead of \title. So I can obtain the TOC. But I
dont why there is no clickable link in the TOC at all :(

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


[NTG-context] title, subject table of contents

2005-02-11 Thread VnPenguin
Hi all,
When I use:
---
\setuplist
[chapter]
[before=\blank,
after=\blank,
style=bold]
\setuplist [section] [alternative=c]

\starttext

\placelist[chapter,section][alternative=c]

\chapter{One}
\section{One A}
Blahblah
\section{One B}
Blahblah

\chapter{Two}
\section{Two A}
Blahblah
\section{Two B}
Blahblah

\stoptext

I got TOC perfectly. 
But if I replace \chapter by \title; \section by \subject, I can not
have a TOC at all. This is the code:
--
\setuplist
[title]
[before=\blank,
after=\blank,
style=bold]
\setuplist [subject] [alternative=c]

\starttext

\placelist[title,subject][alternative=c]

\title{One}
\subject{One A}
Blahblah
\subject{One B}
Blahblah

\title{Two}
\subject{Two A}
Blahblah
\subject{Two B}
Blahblah

\stoptext
---
Any ideas for help me ?
Thank you in advance,

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