Update docs (mostly), fixes, etc
This commit is contained in:
@@ -38,12 +38,13 @@ output = load_all_files_of_array("../src/", ["header.sty"])
|
||||
if build_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("../config/", os.listdir("../config/"))
|
||||
l = labels.generate_labels()
|
||||
output += l[0] + "\n\n"
|
||||
output += l[1]
|
||||
output += load_all_files_of_array("../src/", ["style.sty"])
|
||||
output += load_all_files_of_array("../src/core/", os.listdir("../src/core/"))
|
||||
output += load_all_files_of_array("../src/counters/", os.listdir("../src/counters/"))
|
||||
output += load_all_files_of_array("../src/style/", os.listdir("../src/style/"))
|
||||
|
||||
output += "\\endinput"
|
||||
|
||||
@@ -10,10 +10,11 @@ def generate_labels():
|
||||
"lemma",
|
||||
"corollary",
|
||||
"proposition",
|
||||
"axiom",
|
||||
"fact",
|
||||
"formula",
|
||||
"remark",
|
||||
"combine",
|
||||
"combined",
|
||||
]:
|
||||
data += f"\\newcounter{{{label}none}}\n"
|
||||
reset_func += f"\n \\setcounter{{{label}none}}{{0}}\n"
|
||||
@@ -35,7 +36,7 @@ def generate_labels():
|
||||
reset_func += f" \\setcounter{{{label}paragraph}}{{0}}\n"
|
||||
|
||||
# Generate tcolorboxes
|
||||
if label != "combine":
|
||||
if label != "combined":
|
||||
data += f"""\\newtcolorbox{{{label}}}[2][]{{
|
||||
mainboxstyle,
|
||||
colback={label}color!5!white,
|
||||
|
||||
Reference in New Issue
Block a user