Some tools for ConTeXt
Find a file
2024-10-14 17:52:01 +02:00
docx2ctx docx2ctx: add imagedir to \externalfigure 2024-10-14 17:52:01 +02:00
mab2bib fix typo 2017-11-01 21:31:11 +01:00
addtogit.py addtogit: fall back to .log file 2024-08-07 17:27:05 +02:00
cleanfilenames.py two undocumented scripts 2019-08-16 14:45:28 +02:00
contextproject.py Don’t use component prefix any more. Some other fixes. 2021-02-17 22:44:15 +01:00
imgcheck.py imgcheck: sort files 2024-06-16 13:12:46 +02:00
latin1_to_utf8.py Encoding-Converter verbessert, versteht jetzt auch Verzeichnisse ab ./ 2009-06-28 14:09:27 +02:00
README.rst addtogit: fall back to .log file 2024-08-07 17:27:05 +02:00

Welcome!

These are just a few tools that are a bit more than one-off scripts; maybe you can use them.

fiëé visuëlle
Henning Hraban Ramm
https://www.fiee.net

License

Python License, unless otherwise mentioned.

Files

latin1_to_utf8.py

convert text encoding - just rename to use other encodings!

mab2bib/latex.py

LaTeX encoding for converter script (copy the above script to e.g. latex_to_utf8.py)

contextproject.py

create parts of ConTeXt projects, i.e. products and components

imgcheck.py

check type and size of an image file (German output, requires PIL/Pillow)

addtogit.py

check files used by a ConTeXt job and add them to git (requires GitPython)

For the last one, use \enabledirectives[system.dumpfiles=json] to let ConTeXt create a .jlg file that contains the list of files in JSON format. (This is similar to latexmk -recorder somelatexfile.) This is supported only by a LMTX version newer than 2024-07-20. The script falls back to the .log file.

/docx2ctx

convert from DOCX to ConTeXt source

/mab2bib

convert bibliography files from MAB (Maschinelles Austauschformat für Bibliotheken) to BIB (BibTeX), see http://www.ctan.org/tex-archive/biblio/bibtex/utils/mab2bib/