Merge remote-tracking branch 'simple/main'
docs: correct repository URL
Merge remote-tracking branch 'simple/main'
A template for working with ConTeXt documents. It contains boilerplate that I put in almost every ConTeXt project.
For simple documents, see context-template-simple.
Instead of using git clone
, I recommend adding the template as a secondary
remote:
git remote add template https://git.sr.ht/~cdrozak/context-template-document
git fetch template main
git pull template main
To generate the PDF file, type make
or make all
. There are also two
additional modes defined in environment.mklx
:
debug
— enables several options for debugging the document. It can be
enabled using this command:
make MODE=debug
doublesided
— generates a double sided document. It can be
enabled using this command:
make MODE=doublesided
These two modes can be used together by joining modes with a comma:
make MODE=doublesided,debug
A configuration for text editors is contained in editors/
directory. As of
now, it only has a single .projections.json
file. Files in editors/
are
ignored in the root of the repository — they are meant to be copied to root
and modified individually.