Have you considered looking at the .tex output files your program creates? These would be to me the most obvious thing to look at to find what LaTeχ dislikes. From there, you can maybe investigate further.
In reply to Re^3: (OT) Template toolkit latex table issue
by Corion
in thread (OT) Template toolkit latex table issue
by aarya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |