Hi all, I started an attempt to help producing customized environnements files with LibreOffice Calc and macro with python, to see if and how it can helps newcomers (after viewing video about batch commander from Ricardo Lafuente and Kaveh Bazargan). It is very early stage (and very quick and dirty), but any feedback is welcome. ================================================================= Currently working: - one sheet to setup colors ==> env_A05_color.tex - after clicking on button Go!, colors are actually shown deduced from hsv parameter - one sheet to setup sectionning ==> env_B14_section.tex - Options are categorized - 01-Style - 02-Numbering - 03-Position (not yet clear) - 04-Insert - 05-Reference - 06-commands - one sheet to setup layout ==> env_A01_layout.tex - one sheet to setup font ==> env_A04_fonts.tex - thanks to mtxrun --script font it provides - the list of available font families - after 1st clic on fonts button - the list of available font names - after selecting families and 2nd clic on fonts button - it can help to produce simple typescripts in 1min ================================================================= Package can be found at https://wiki.contextgarden.net/images/7/73/SetupContext_with_libreoffice_v00.04.zip 4 files 1/ SetupContext_with_libreoffice.py ----------------------- Python file that should be put in - gnu+linux : ~/.config/libreoffice/4/user/Scripts/python - win : C:\Users\xxxxx\AppData\Roaming\OpenOffice\4\user\Scripts\python - mac : /Applications//LibreOffice\ Vanilla.app/Contents/Resources/Scripts/python/ def Initialization(): should be adapted for ContextPath = "path to …/tex/texmf-linux-64/bin/" 2/ readme.tex ---------------------------------------------------- Basic document with content and ref to global environnement file 3/ env_00.tex ---------------------------------------------------- environnement file that refers to other specific environnement files which are produced by the macro 4/ gui_v04.ods ---------------------------------------------------- LibreOffice Calc as interface for user ================================================================= examples of output env files are attached.