On 12 Jul 2021, at 12:15, Henning Hraban Ramm <texml@fiee.net> wrote:



Am 12.07.2021 um 10:25 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

Years ago I wrote a book (Chess and the Art of Enterprise Architecture) using ConTeXt.

The setup was (I think Taco’s) basic book project setup, with a chapters, environments, products, etc. subdirectory where you work in the chapters directory and can both produce individual chapters and the whole book. The main tool to produce was texexec.

ConTeXt has moved on considerably since then (2014-2015).

So, I tried teh old project to see if it still works, but found out it didn’t. There still is a texexec in my MacTeX, but the compilation fails:

texexec --pdf --mode=SCREEN  ../products/prd_book.tex
resolvers       | initialization | fatal error: kpse library is accessed (key: original)

Is there a new ‘book’ project structure/template for the modern/standalone ConTeXt?

The project struture with project/product/environment/components is still the same.

"texexec" is MkII, you must call "context" for MkIV (with --luatex) and LMTX.

You will probably need to update several setups, there were many changes since MkII.

So, just for confirmation that I understand this correctly, I need to simply change the command from texexec  to context --luatex and fix all settings in my setup until I get it working again?

G