Add compile to tex file
This commit is contained in:
@@ -27,22 +27,21 @@ def load_all_files_of_array(dirname: str, files: List[str]):
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
output = load_all_files_of_array("../src/", ["header.sty"])
|
output = load_all_files_of_array("../src/", ["header.sty", "core.sty"])
|
||||||
output += f"\\ProvidesPackage{{janishutz-helpers}}[{datetime.datetime.now().date().isoformat()} v{version}]\n\n"
|
|
||||||
output += load_all_files_of_array("../src/", ["core.sty"])
|
|
||||||
output += load_all_files_of_array("../src/config/", os.listdir("../src/config/"))
|
output += load_all_files_of_array("../src/config/", os.listdir("../src/config/"))
|
||||||
output += load_all_files_of_array("../src/core/", ["translation.sty"])
|
output += load_all_files_of_array("../src/", ["style.sty"])
|
||||||
output += load_all_files_of_array("../src/", ["opts.sty", "style.sty"])
|
output += load_all_files_of_array("../src/core/", os.listdir("../src/core/"))
|
||||||
# output += load_all_files_of_array("../src/core/", os.listdir("../src/core/"))
|
output += load_all_files_of_array("../src/style/", os.listdir("../src/style/"))
|
||||||
# output += load_all_files_of_array("../src/style/", os.listdir("../src/style/"))
|
|
||||||
|
|
||||||
# l = labels.generate_labels()
|
l = labels.generate_labels()
|
||||||
# output += l[0] + "\n\n"
|
output += l[0] + "\n\n"
|
||||||
# output += l[1]
|
output += l[1]
|
||||||
|
|
||||||
|
with open("../janishutz-helpers.tex", "w") as file:
|
||||||
|
file.write(output)
|
||||||
|
|
||||||
with open("../janishutz-helpers.sty", "w") as file:
|
with open("../janishutz-helpers.sty", "w") as file:
|
||||||
file.write(output)
|
file.write(output)
|
||||||
|
|
||||||
|
|
||||||
print("==> Built successfully. Output to project-root/janishutz-helpers.sty\n")
|
print("==> Built successfully. Output to project-root/janishutz-helpers.tex\n")
|
||||||
print("==> ")
|
|
||||||
|
|||||||
1078
janishutz-helpers.tex
Normal file
1078
janishutz-helpers.tex
Normal file
File diff suppressed because it is too large
Load Diff
2
lang-de.tex
Normal file
2
lang-de.tex
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
\usepackage[ngerman]{babel}
|
||||||
|
\setLang{de}
|
||||||
Reference in New Issue
Block a user