Fix an issue with LaTex formulas (issue #34)
The TOC wasn't removed. Closes #33
Fix error in render queries with "&" characters. Closes #36