Added index of specials
This commit is contained in:
3
kekse.py
3
kekse.py
@ -187,10 +187,11 @@ for column in ws.columns:
|
||||
|
||||
# Specials
|
||||
content = (ws._get_cell(specials_row, cell.column).value)
|
||||
if content == "(vegan)":
|
||||
if content == "(vegan)" or content == "(Vegan)":
|
||||
content="Vegan"
|
||||
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{")))
|
||||
f_latex.write("\\\\\n")
|
||||
|
||||
# Baking
|
||||
|
Reference in New Issue
Block a user