[NTG-context] \definehead behaving differently when in an environment file versus \input'ed

ntg at scorecrow.com ntg at scorecrow.com
Sat May 2 17:14:48 CEST 2020

I'm having trouble with \definehead behaving differently depending upon whether I process a file that includes it via a \input statement versus a project structure that calls it via an environment file referenced from a component file.

Overall aim:

I currently produce a small circulation journal in Word that I'm hoping to switch to ConTeXt. Each article is written by a different author and I currently provide a Word template so they can see how their article will eventually look and how long it is, etc. I want to do the same for the ConTeXt version so I have created a template tex file they can simply \input at the top of their article. Processing the single article gives the desired output. So far so good.

When I receive the articles, I want to use the project/product/component structure to allow me to produce an entire issue of the journal in one go. (I would simply comment out the \input line and add \startproject \startcomponent etc lines as necessary from each received article.)


I've created a custom chapter heading, but the font size changes depending on whether I'm processing the \input version of the article or the \component version and I don't know why. Obviously, I would like the heading to be the same in each case so that authors see what I see and vice versa.

I've attached a small zip file with a directory structure containing a minimal example. There are two directories: "input_version" and "project" version and the article.pdf files in each show the difference in the heading.

I'm using TeX Live 2020 on a Mac. The console reports: ConTeXt  ver: 2020.03.10 14:44 MKIV beta  fmt: 2020.4.18  int: english/english

Bruce Horrocks
Hampshire, UK

More information about the ntg-context mailing list