Updated cookbook, fixed issues with vegan and sugarfree

This commit is contained in:
Sebastian 2022-02-03 23:08:05 +01:00
parent ee6ff25a1e
commit e911dc1468
6 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.

BIN
main.pdf

Binary file not shown.