ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: [NTG-context] Table of contents not appearing.
  2023-04-20 16:59 [NTG-context] Table of contents not appearing Fabrice Couvreur via ntg-context
@ 2023-04-20 15:51 ` Hans Hagen via ntg-context
  2023-04-21 14:42   ` Fabrice Couvreur via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2023-04-20 15:51 UTC (permalink / raw)
  To: Fabrice Couvreur via ntg-context; +Cc: Hans Hagen

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
___________________________________________________________________________________

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

* [NTG-context] Table of contents not appearing.
@ 2023-04-20 16:59 Fabrice Couvreur via ntg-context
  2023-04-20 15:51 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2023-04-20 16:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


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

Hi,
I don't see why the table of contents does not appear. On the other hand,
the 12 chapters are present.
Thanks
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

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

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

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

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

* Re: [NTG-context] Table of contents not appearing.
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2023-04-21 14:37 UTC (permalink / raw)
  To: Fabrice Couvreur via ntg-context; +Cc: Hans Hagen

On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote:
> It's chapter_5 that's the problem, but how do you know what's causing 
> the table of contents not to appear ?
depends on the error : the toc comes from the tuc file so if that one is 
not made ...

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

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

* Re: [NTG-context] Table of contents not appearing.
  2023-04-20 15:51 ` Hans Hagen via ntg-context
@ 2023-04-21 14:42   ` Fabrice Couvreur via ntg-context
  2023-04-21 15:05     ` Fabrice Couvreur via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2023-04-21 14:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


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

Hi Hans,
Alright, I'll compile by integrating one component at a time to figure out
which one is causing the problem.
Thanks.
Fabrice

Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context <ntg-context@ntg.nl>
a écrit :

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

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

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

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

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

* Re: [NTG-context] Table of contents not appearing.
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2023-04-21 15:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


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

It's chapter_5 that's the problem, but how do you know what's causing the
table of contents not to appear ?

Le ven. 21 avr. 2023 à 14:42, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
a écrit :

> Hi Hans,
> Alright, I'll compile by integrating one component at a time to figure out
> which one is causing the problem.
> Thanks.
> Fabrice
>
> Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context <
> ntg-context@ntg.nl> a écrit :
>
>> 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
>>
>> ___________________________________________________________________________________
>>
>

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

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

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

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

* Re: [NTG-context] Table of contents not appearing.
  2023-04-21 14:37       ` Hans Hagen via ntg-context
@ 2023-04-21 19:05         ` Fabrice Couvreur via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Fabrice Couvreur via ntg-context @ 2023-04-21 19:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Fabrice Couvreur


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

An extra parenthesis in a section title seems to be the problem but I'm not
sure. I compiled the file line by line and it works now.
Thanks
Fabrice

Le ven. 21 avr. 2023 à 14:37, Hans Hagen via ntg-context <ntg-context@ntg.nl>
a écrit :

> On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote:
> > It's chapter_5 that's the problem, but how do you know what's causing
> > the table of contents not to appear ?
> depends on the error : the toc comes from the tuc file so if that one is
> not made ...
>
> -----------------------------------------------------------------
>                                            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
>
> ___________________________________________________________________________________
>

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

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

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

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

end of thread, other threads:[~2023-04-21 17:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 16:59 [NTG-context] Table of contents not appearing Fabrice Couvreur via ntg-context
2023-04-20 15:51 ` Hans Hagen via ntg-context
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

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