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

Reply via email to