ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setuplist only for bodypart
@ 2022-06-16 19:19 Pablo Rodriguez via ntg-context
  2022-06-16 20:36 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-06-16 19:19 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: \setuplist only for bodypart
  2022-06-16 19:19 \setuplist only for bodypart Pablo Rodriguez via ntg-context
@ 2022-06-16 20:36 ` Henning Hraban Ramm via ntg-context
  2022-06-17 14:07   ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-06-16 20:36 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context:

>    \startsectionblockenvironment[bodypart]
>      ...
>    \stopsectionblockenvironment

This should work according to documentation.

Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: \setuplist only for bodypart
  2022-06-16 20:36 ` Henning Hraban Ramm via ntg-context
@ 2022-06-17 14:07   ` Pablo Rodriguez via ntg-context
  2022-06-17 16:33     ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-06-17 14:07 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Pablo Rodriguez


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
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: \setuplist only for bodypart
  2022-06-17 14:07   ` Pablo Rodriguez via ntg-context
@ 2022-06-17 16:33     ` Wolfgang Schuster via ntg-context
  2022-06-18 14:49       ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster via ntg-context @ 2022-06-17 16:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez via ntg-context
  Cc: Wolfgang Schuster, Pablo Rodriguez

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: \setuplist only for bodypart
  2022-06-17 16:33     ` Wolfgang Schuster via ntg-context
@ 2022-06-18 14:49       ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-06-18 14:49 UTC (permalink / raw)
  To: Wolfgang Schuster via ntg-context; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-06-18 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 19:19 \setuplist only for bodypart Pablo Rodriguez via ntg-context
2022-06-16 20:36 ` Henning Hraban Ramm via ntg-context
2022-06-17 14:07   ` Pablo Rodriguez via ntg-context
2022-06-17 16:33     ` Wolfgang Schuster via ntg-context
2022-06-18 14:49       ` Pablo Rodriguez 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).