Hi everyone

One of my current main projects where I use ConTeXt is typesetting journal 
articles from xml sources. As the journal appears only online, we've decided to 
publish each article individually. I have a working setup, but I occasionally 
ponder whether I could make things more smootly. Currently, my folder structure 
looks roughly like this :

2022
-- _assets
-- article1
---- source
---- md
---- xml
---- pdf
---- html
-- article2
etc.

Usually, I receive Word files that get transformed via pandoc to markdown, 
polished, and from there to XML. HTML is produced via XSLT, PDF via ConTeXt. 
Transformations are performed with the help of a makefile.

The _assets folder contains a bunch of helper files, scripts, and two 
environment files used by ConTeXt :
jats.tex -> contains the setup for JATS XML
layout.tex -> contains layout settings

Now, this mostly works, but I sometimes struggle with things like 
overrides/additions for specific articles. Say, I have the global definitions, 
but I need to make small changes for one specific article? Or, I need to add 
something to one specific article, but I don't want to add this to the  
<environment> files. I guess my question is something like this :

- How could a painless solution for such a scenario look like?
- Should you just load multiple environment files and override earlier 
settings? (How would that work with xml setups?)

Best,
Denis
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to