ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Zhichu Chen <zhichu.chen@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Unnumbered chapters before the ToC
Date: Thu, 16 Jan 2014 09:17:13 +0800	[thread overview]
Message-ID: <CAAxCdXM4+B_feX4ppazZTm6qHLkMUSKgSWh1TKbS3od4-kwbmw@mail.gmail.com> (raw)
In-Reply-To: <55918347-2A88-4631-9F18-2AA5398667A1@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2316 bytes --]

Hi Robert,


On Thu, Jan 16, 2014 at 5:51 AM, Robert Blackstone <
blackstone.robert@gmail.com> wrote:

>
> On 15 Jan 2014, at 21:54 , Wolfgang Schuster <schuster.wolfgang@gmail.com>
>  wrote:
>
> Am 15.01.2014 um 15:36 schrieb Robert Blackstone <
> blackstone.robert@gmail.com>:
>
> Dear all,
>
> Is there, in a book-project, a way to place unnumbered chapters, in casu
> Acknowledgements and Abstract, in the FrontMatter before the ToC, but still
> mentioned in the ToC?
>
>
> \definehead[prechapter][chapter]
> \setuphead [prechapter][number=no,incrementnumber=list]
>
> \starttext
>
> \prechapter{Unnumbered chapter}
>
> \title{Contents}
>
> \placelist[prechapter,chapter]
>
> \chapter{Numbered chapter}
>
> \stoptext
>
> Wolfgang
>
>
> Thank you Wolfgang. This works and it will very likely also work for my
> project.
> I'm afrraid though that I left out an important detail, namely that the
> ToC itself must be mentioned in the ToC.
> What I'm expected to emulate is the following: (with real pagenumbers of
> course)
>
> *CONTENTS*
>
> *Acknowledgements* i
> *Abstract* ii
> *Contents* iii
> *List of Illusttratiions* iv
> *List of Tables* v
> *Abbreviations and Library sigla* vi
> *Preface* vii
>
> Chapter 1 8
> Chapter 2 etc.
>
> So my real question should have been: Is there a way to place the ToC in
> an unnumbered chapter, which should not be at the very beginning of the
> book?
> But you have suggested the answer already: Changing \title{Contents} to
> \prechapter{Contents} does just that. Clean solution for an, imho,  odd
> request.
>
Please use:
\completecontent[criterium=all]
to generate the ToC, and set
\setupcombinedlist
  [content]
  [list={title,chapter,section,subsection}]
to include the entries you want.

>
> Best regards,
> Robert Blackstone
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
Best Regards
Chen

[-- Attachment #1.2: Type: text/html, Size: 4302 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2014-01-16  1:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.274.1389819267.2180.ntg-context@ntg.nl>
2014-01-15 21:51 ` Robert Blackstone
2014-01-16  1:17   ` Zhichu Chen [this message]
     [not found] <mailman.1.1389870001.20619.ntg-context@ntg.nl>
2014-01-16 12:06 ` Robert Blackstone
2014-01-15 14:36 Robert Blackstone
2014-01-15 14:47 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2014-01-15 10:25 Robert Blackstone

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=CAAxCdXM4+B_feX4ppazZTm6qHLkMUSKgSWh1TKbS3od4-kwbmw@mail.gmail.com \
    --to=zhichu.chen@gmail.com \
    --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).