\setuplist only for bodypart
Dear list, sorry for the very basic question, but I cannot find the way to do it. Imagine I have the following command: \setuplist [chapter] [alternative=d] But I only want for sectionblock bodypart (nof for frontpart, backpart or the appendices). I have enclosed in: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment I have also tried: \setuplist [bodypart:chapter] [alternative=d] But nothing changed. Which is the right way to do it? Many thanks for your help, Pablo
On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote:
Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context:
\startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment
This should work according to documentation.
Many thanks for your reply, Hraban. Using current latest (from 2022.05.11 11:36) with current sample outputs no different setup for chapters from bodypart: \startsectionblockenvironment[bodypart] \setuplist[chapter] [alternative=d] \stopsectionblockenvironment \starttext \completecontent \startfrontmatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopfrontmatter \startbodymatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopbodymatter \startbackmatter \dorecurse{5} {\chapter{Chapter \recurselevel}} \stopbackmatter \stoptext Just to contribute a sample that helps to confirm the issue. Many thanks for your help, Pablo
Pablo Rodriguez via ntg-context schrieb am 17.06.2022 um 16:07:
On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote:
Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context:
\startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment
This should work according to documentation. Many thanks for your reply, Hraban.
Using current latest (from 2022.05.11 11:36) with current sample outputs no different setup for chapters from bodypart:
\startsectionblockenvironment[bodypart] \setuplist[chapter] [alternative=d] \stopsectionblockenvironment
With the above setting you change layout of the chapter entries for list which are placed in the bodymatter environment, e.g. \startbodymatter ... \placelist[chapter] ... \stopbodymatter To create separate styles for chapters within the frontmatter and bodymatter you have to create a new section command where you can apply different list settings.
\starttext \completecontent
You're now placing \completecontent (and the associated \title) outside of any sectionblock. Wolfgang
On 6/17/22 18:33, Wolfgang Schuster via ntg-context wrote:
[...] To create separate styles for chapters within the frontmatter and bodymatter you have to create a new section command where you can apply different list settings.
Many thanks for your reply, Wolfgang. Now I have learnt that what I tried was the wrong approach to the issue. Many thanks for your help, Pablo
participants (3)
-
Henning Hraban Ramm
-
Pablo Rodriguez
-
Wolfgang Schuster