ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* title, subject & table of contents
@ 2005-02-11 21:22 VnPenguin
  2005-02-12 20:00 ` Thomas A.Schmitz
  2005-02-13 12:59 ` h h extern
  0 siblings, 2 replies; 6+ messages in thread
From: VnPenguin @ 2005-02-11 21:22 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-13 15:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 21:22 title, subject & table of contents VnPenguin
2005-02-12 20:00 ` Thomas A.Schmitz
2005-02-13  0:02   ` VnPenguin
2005-02-13 11:44     ` cormullion
     [not found]     ` <r02010400-1037-94D012827DB411D998ED000A95D0F804@10.0.1.2>
2005-02-13 15:04       ` VnPenguin
2005-02-13 12:59 ` h h extern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).