pappasam / latexbuild

Build output from Latex using Python and Jinja2 templating
MIT License
48 stars 10 forks source link

Issue when leaf values in DICT_VALS are not strings #1

Closed kili-mandjaro closed 7 years ago

kili-mandjaro commented 7 years ago

TypeError: expected string or buffer because function escape_latex_str expects a string value. What's more, Jinja2 seems to handle perfectly other types like Booleans and Numbers.

btw: nicely useful python module ;-)

pappasam commented 7 years ago

Yep, this was definitely a bug. The changes have been pushed to pypi for version 0.2.2. Hopefully this resolves the problem, and definitely let me know if it causes any problems.