Moves output format setting to makefile. Adds Readme.

This commit is contained in:
2025-12-10 16:47:38 +01:00
parent aa3942532a
commit 6c2d02b8e0
3 changed files with 26 additions and 1 deletions
+4 -1
View File
@@ -24,7 +24,10 @@ source("deps.R")
# possible formats:
# - docx
# - pdf/tex
output_format <- "pdf/tex"
# Read OUTPUT_FORMAT from env; default to "pdf/tex"
output_format <- Sys.getenv("OUTPUT_FORMAT", "pdf/tex")
# Background: some tables needs special treatment for docx rendering.
# Debug Mode
debug_mode <- TRUE