~cdrozak/context-template-simple

A template for working with simple ConTeXt documents
2e780846 — Cezary Drożak 2 years ago
docs: correct repository URL
5893c477 — Cezary Drożak 2 years ago
Remove reduntant braces
ce2ed16b — Cezary Drożak 2 years ago
Add macros.mklx

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~cdrozak/context-template-simple
read/write
git@git.sr.ht:~cdrozak/context-template-simple

You can also use your local clone with git send-email.

#context-template-simple

A template for working with simple ConTeXt documents. It contains boilerplate that I put in almost every ConTeXt project.

For longer, multi-chapter documents, see context-template-document.

#Usage

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-simple
git fetch template main
git pull template main

To generate the PDF file, type make or make all. There is also an additional mode defined in environment.mklx, that enables several options for debugging the document. It can be enabled using this command:

make MODE=debug

#Editor configuration

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.