ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \writetolist not writing the number to the TOC
@ 2023-03-25 22:05 Willi Egger via ntg-context
  2023-03-26 10:51 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger via ntg-context @ 2023-03-25 22:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

Good evening!

I have a setup in which I need to send info to the TOC:

Consider the following example:

\starttext

\starttitle[title=Contents]
  \placelist[chapter][criterium=all]
\stoptitle

\startchapter[title=Mychapter]
  \input knuth
  \startsubject[title=Subject will be in TOC]
    \writetolist[chapter]{1}{I am in TOC!}
    \input ward
  \stopsubject 
\stopchapter

\stoptext

According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height of the chapter-numbering and is not carrying the given number.

Am I doing something wrong?

Kind regards
Willi
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2023-03-27 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 22:05 \writetolist not writing the number to the TOC Willi Egger via ntg-context
2023-03-26 10:51 ` Henning Hraban Ramm via ntg-context
2023-03-26 13:10   ` Willi Egger via ntg-context
2023-03-27 13:52     ` Hans Hagen via ntg-context
2023-03-27 15:13       ` Willi Egger 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).