ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions about TOC
@ 2004-11-19 14:24 Thomas A.Schmitz
  2004-11-19 15:13 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A.Schmitz @ 2004-11-19 14:24 UTC (permalink / raw)


A very timid question: did anything change in the recent versions about 
generation of TOCs? I could swear that this worked a couple of weeks 
ago, but I can't make it work now:

1) I want numbered and unnumbered chapters, so I use \chapter{} and 
\title{}. I thought that the \title-parts were included in the TOC by 
default, but they don't show up, regardless of what I do.
2) I can't get any of the alternatives to work properly.

Here's an sample file:

\starttext

\setupcombinedlist[content][alternative=c]

\placecontent
\chapter{1}
\section{a}
\section{b}
\section{c}
\chapter{2}
\section{a}
\section{b}
\title{I}
\section{a}
\section{b}
\section{c}
\title{II}

\stoptext

Tried appending the [alternative=c] to \placecontent as well, no 
change. And as I said, I could have sworn it worked a couple of weeks 
ago. Ideas, anybody? Thanks!

Thomas

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

* Re: Questions about TOC
  2004-11-19 14:24 Questions about TOC Thomas A.Schmitz
@ 2004-11-19 15:13 ` Hans Hagen
  2004-11-22 12:34   ` Thomas A.Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2004-11-19 15:13 UTC (permalink / raw)


Thomas A.Schmitz wrote:
> A very timid question: did anything change in the recent versions about 
> generation of TOCs? I could swear that this worked a couple of weeks 
> ago, but I can't make it work now:
> 
> 1) I want numbered and unnumbered chapters, so I use \chapter{} and 
> \title{}. I thought that the \title-parts were included in the TOC by 
> default, but they don't show up, regardless of what I do.
> 2) I can't get any of the alternatives to work properly.
> 
> Here's an sample file:
> 
> \starttext
> 
> \setupcombinedlist[content][alternative=c]
> 
> \placecontent
> \chapter{1}
> \section{a}
> \section{b}
> \section{c}
> \chapter{2}
> \section{a}
> \section{b}
> \title{I}
> \section{a}
> \section{b}
> \section{c}
> \title{II}
> 
> \stoptext
> 
> Tried appending the [alternative=c] to \placecontent as well, no change. 
> And as I said, I could have sworn it worked a couple of weeks ago. 
> Ideas, anybody? Thanks!

\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


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------

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

* Re: Questions about TOC
  2004-11-19 15:13 ` Hans Hagen
@ 2004-11-22 12:34   ` Thomas A.Schmitz
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas A.Schmitz @ 2004-11-22 12:34 UTC (permalink / raw)



On Nov 19, 2004, at 4:13 PM, Hans Hagen wrote:
> \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
>
Of course, it's right there in the manual, I was sooooo blind! Works 
now as expected. What about the alternatives? I tried

\placecontent[alternative=c]

and

\setupcombindedlist[content][alternative=c]

\placecontent

none oh which worked.

Thanks a lot!

Thomas

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

end of thread, other threads:[~2004-11-22 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-19 14:24 Questions about TOC Thomas A.Schmitz
2004-11-19 15:13 ` Hans Hagen
2004-11-22 12:34   ` Thomas A.Schmitz

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).