ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik <rik@panix.com>
To: ntg-context@ntg.nl
Subject: Re: \setuphead for a section block
Date: Tue, 23 Oct 2018 15:23:46 -0400	[thread overview]
Message-ID: <8a88c5c3-173f-7c2e-3c01-ee11cfa5b57f@panix.com> (raw)
In-Reply-To: <9ecdb43c-fc2c-539d-2b1e-5af1f5bd96db@gmx.es>

On 10/23/2018 15:18, Pablo Rodriguez wrote:
> Dear list,
>
> imagine that I need a different setup for chapter in the bodymatter than
> in the frontmatter and appendices.
>
> The way to do it seems to be:
>
>      \setuphead[chapter][style=\bf]
>      \startsectionblockenvironment[bodypart]
>          \setuphead[chapter][style=\em]
>      \stopsectionblockenvironment
>      \starttext
>      \startfrontmatter
>      \chapter{Introduction}
>      \stopfrontmatter
>      \startbodymatter
>      \chapter{Chapter}
>      \stopbodymatter
>      \stoptext
>
> But wasn’t there a command similar to the following one for such purposes?
>
>      \setuphead[bodypart:chapter][style=\em]

> I remember that there was something similar to that command to setup
> headings in a section block.
>
> Am I creating my memories or did a similar option exist?
>
> Many thanks for your help,
>
> Pablo

\startsectionblockenvironment[bodypart]
\setuphead  [chapter][
                       style=\tfc\HeadFont ...

-- 
Rik

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

  reply	other threads:[~2018-10-23 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23 19:18 Pablo Rodriguez
2018-10-23 19:23 ` Rik [this message]
2018-10-23 19:39   ` Rik
2018-10-23 19:25 ` Wolfgang Schuster
2018-10-23 20:03   ` Pablo Rodriguez

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=8a88c5c3-173f-7c2e-3c01-ee11cfa5b57f@panix.com \
    --to=rik@panix.com \
    --cc=ntg-context@ntg.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).