ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Fabrice Couvreur via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: [NTG-context] Table of contents not appearing.
Date: Thu, 20 Apr 2023 17:51:58 +0200	[thread overview]
Message-ID: <d6c7e182-6be6-c3b2-bd5d-bda909abdcc3@freedom.nl> (raw)
In-Reply-To: <CACyK-eom_21_rGpY+uO2k_+c=U2sS0fqz14E2LW1nrj=s4P_aQ@mail.gmail.com>

On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:
> Hi,
> I don't see why the table of contents does not appear. On the other 
> hand, the 12 chapters are present.

\startproduct[terminale-manual]

     \startfrontmatter
         \starttitle[title=Table des matières]
             \placelist
                [chapter,section,subsection,subsubsection]
                [criterium=all,
                interaction=all,
                 alternative=c]
         \stoptitle
     \stopfrontmatter

     \startbodymatter
         \chapter{xxx}
     \stopbodymatter

\stopproduct

shows a table of contents so it must be something in your components

> Fabrice
> 
> 
> \startproduct[terminale-manual]
> 
>    \project[terminale-environment]
>    \startfrontmatter
> 
>      \setuppagenumbering
>         [location=]
> 
>      \definefont
>        [ChapterTextStyle]
>        [SansBold*default sa 2.2]
> 
>      \setuphead
>        [title]
>        [style=ChapterTextStyle,
>         align=flushright]
> 
>      \setuplist
>         [chapter]
>         [style=bold,
>          alternative=b,
>          width=1em]
> 
>      \setuplist
>         [section]
>         [margin=1em,
>          width=1.75em]
> 
>      \setuplist
>         [subsection]
>         [margin=2.75em,
>          width=2.25em,
>         distance=\spaceamount]
> 
> 
>      \starttitle[title=Table des matières]
> 
>           \placelist
>             [chapter,section,subsection,subsubsection]
>             [criterium=all,
>             interaction=all,
>              alternative=c]
> 
>        \stoptitle
> 
>      \stopfrontmatter
> 
>      \startbodymatter
>        \component[chapitre_1]
>        \component[chapitre_2]
>        \component[chapitre_3]
>        \component[chapitre_4]
>        \component[chapitre_5]
>        \component[chapitre_6]
>        \component[chapitre_7]
>        \component[chapitre_8]
>        \component[chapitre_9]
>        \component[chapitre_10]
>        \component[chapitre_11]
>        \component[chapitre_12]
>      \stopbodymatter
> 
> \stopproduct
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-04-20 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 16:59 Fabrice Couvreur via ntg-context
2023-04-20 15:51 ` Hans Hagen via ntg-context [this message]
2023-04-21 14:42   ` Fabrice Couvreur via ntg-context
2023-04-21 15:05     ` Fabrice Couvreur via ntg-context
2023-04-21 14:37       ` Hans Hagen via ntg-context
2023-04-21 19:05         ` Fabrice Couvreur via ntg-context

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=d6c7e182-6be6-c3b2-bd5d-bda909abdcc3@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.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).