On 15 Jul 2021, at 16:00, Henning Hraban Ramm
wrote: Am 15.07.2021 um 12:19 schrieb Gerben Wierda
: On 12 Jul 2021, at 12:15, Henning Hraban Ramm
wrote: Am 12.07.2021 um 10:25 schrieb Gerben Wierda
: 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?
I guess so. I don’t know your project.
There were a lot of changes between MkII and current MkIV, and many aren’t obvious. I’d suggest to rewrite your environment from scratch; only copy pieces step by step and check if they still do what you expect. Use a reduced test product.
Is there a new template I can download somewhere to start from scratch? Gerben