Updated cookbook, fixed issues with vegan and sugarfree

master
Sebastian 10 months ago
parent ee6ff25a1e
commit e911dc1468

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -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.
Loading…
Cancel
Save