ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Unnumbered chapters (titles) etc in TOC
Date: Tue, 29 Nov 2011 12:20:04 +0100	[thread overview]
Message-ID: <1322565604.4960.3.camel@marcin-laptop> (raw)

Hi,

I tried this:

\definecombinedlist[content][chapter,title,subject,section]
\setuphead[title,subject][incrementnumber=list]

\starttext
\placecontent

\title{Unnumbered chapter}
\subject{First}
\subject{Second}

\chapter{Numbered chapter}
\section{Third}
\section{Fourth}

\stoptext

and I have a few questions.

1. If I replace \definecombinedlist with \setupcombinedlist (which seems
natural, given that "content" is already defined), it stops working;
why?

2. The \setuphead line seem to be necessary; why?

3. And the worst: indenting of \titles and \subjects is the same (and of
\subsubjects also, if I add them).  How to change this?

Regards,

-- 
Marcin Borkowski
http://mbork.pl

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2011-11-29 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 11:20 Marcin Borkowski [this message]
2011-11-29 11:34 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1322565604.4960.3.camel@marcin-laptop \
    --to=mbork@wmi.amu.edu.pl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).