first MVP to separate transformation from representation
This commit is contained in:
parent
52c3ab5c37
commit
bee767eb98
10 changed files with 146 additions and 46 deletions
|
@ -6,7 +6,7 @@ target_de_book := ${build_dir}/curricullum.de.pdf
|
|||
|
||||
targets := ${target_de} ${target_en} ${target_de_book}
|
||||
|
||||
target_flags := --template pandoc-template/eisvogel.latex
|
||||
target_flags := --template pandoc-template/eisvogel.latex -V table-use-row-colors:true
|
||||
|
||||
coursebuilder := ../coursebuilder
|
||||
|
||||
|
@ -22,6 +22,8 @@ ${target_de}:
|
|||
mkdir -p ${build_dir}
|
||||
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml -l de -f fields.yaml | pandoc ${target_flags} -o ${target_de}
|
||||
|
||||
${target_de_book}:
|
||||
python ${coursebuilder} -s schema.yaml -b book.yaml -p --title "### {}" -l de --leftcol 36 | pandoc ${target_flags} -V lang:de -o ${target_de_book}
|
||||
|
||||
clean:
|
||||
rm -f ${targets}
|
||||
|
@ -30,9 +32,7 @@ debug:
|
|||
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml mod.test.yaml -p --title "## {}" -l de -f name credits goal content
|
||||
# | pandoc ${target_flags} -V lang:de -o ${target_de}
|
||||
|
||||
|
||||
debug-book:
|
||||
python ${coursebuilder} -s schema.yaml -b book.yaml -p --title "### {}" -l de --legacy | pandoc ${target_flags} -V lang:de -o ${target_de_book}
|
||||
|
||||
debug-query:
|
||||
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml -q "kind == compulsory"
|
||||
|
||||
.PHONY: clean
|
Loading…
Add table
Add a link
Reference in a new issue