Compare commits

..

2 Commits

Author SHA1 Message Date
Sebastian
c46634c57d Removed unnecessary file 2022-02-03 23:08:32 +01:00
Sebastian
e911dc1468 Updated cookbook, fixed issues with vegan and sugarfree 2022-02-03 23:08:05 +01:00
7 changed files with 3 additions and 1 deletions

BIN
Rezepte_v1.0.xlsx Normal file

Binary file not shown.

BIN
Rezepte_v1.1.xlsx Normal file

Binary file not shown.

BIN
Rezepte_v1.2.xlsx Normal file

Binary file not shown.

View File

@ -188,7 +188,9 @@ for column in ws.columns:
# Specials
content = (ws._get_cell(specials_row, cell.column).value)
if content == "(vegan)" or content == "(Vegan)":
content="Vegan"
content="Vegan möglich"
if content == "(zuckerfrei)" or content == "(Zuckerfrei)":
content="Zuckerfrei möglich"
if(content != "None\n" and content != None):
f_latex.write(str("\\faStar & \\textbf{Besonderheiten} & %s" % content))
f_latex.write(str("\\index[specials]{\\textbf{%s}}" % content.replace(", ", "}} \\index[specials]{\\textbf{")))

Binary file not shown.

Binary file not shown.

BIN
main.pdf

Binary file not shown.