![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
14 Jul
2017
14 Jul
'17
2:54 a.m.
On 7/14/2017 10:42 AM, Meer, Hans van der wrote:
Is there a test usable in a macro to determine if one is inside frontmatter, bodymatter, backmatter? \starttext
\startfrontmatter \doifelsemode{*frontpart}{yes}{no} \doifelsemode{*backpart} {yes}{no} \stopfrontmatter \startbackmatter \doifelsemode{*frontpart}{yes}{no} \doifelsemode{*backpart} {yes}{no} \stopbackmatter \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------