Generalize running scripts

This commit is contained in:
2021-05-10 22:12:15 +02:00
parent 9358971583
commit 0cfd95ad59
5 changed files with 78 additions and 10 deletions
+3
View File
@@ -62,6 +62,9 @@ def generate_latex(inputLines):
return '\n'.join(output)
def processFileContent(raw, template):
content = generate_latex(raw)
return template.replace('%CONTENT', content)
if __name__ == '__main__':
filename = argv[1]