Generalize running scripts
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user