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)

Hans

HTH

Thomas

On Feb 11, 2005, at 10:22 PM, VnPenguin wrote:

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


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

Reply via email to