On 8/13/21 5:34 AM, Joey McCollum via ntg-context wrote:
> Hi,
>
> I was curious about the possibility of handling general formatting
> settings (e.g., page layout, headers and footers, page numbering,
> alignment, default body font assignment, etc.) conditionally for front,
> body, and back matter using modes.
> [...]

Hi Joey,

the command is just different:

  \startsectionblockenvironment[frontpart]
    \setupbodyfont[modern]
  \stopsectionblockenvironment
  \startsectionblockenvironment[bodypart]
    \setupbodyfont[pagella]
  \stopsectionblockenvironment
  \startsectionblockenvironment[backpart]
    \setupbodyfont[termes]
  \stopsectionblockenvironment
  \startsectionblockenvironment[appendix]
    \setupbodyfont[helvetica]
  \stopsectionblockenvironment
  \starttext
    \startfrontmatter
        \input knuth\par
    \stopfrontmatter
    \startbodymatter
        \input knuth\par
    \stopbodymatter
    \startbackmatter
        \input knuth\par
    \stopbackmatter
    \startappendices
        \input knuth\par
    \stopappendices
  \stoptext

I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 via email to