I am facing some problem in creating a table, my sample data and latex pdf.tt file contents are pasted on http://pastebin.com/t5V1AK1m. The problem is in my sample data "comments key value" creating the problem.
I can't use % tx.comments % with \multicolumn{6}{c}{ % tx.comments % } the contents of comments is variable in length so I am printing in a separate row.
In my current pasted code if I print with % tx.comments % it print the data but under on Ist column of table, and width of first column is become large based on contents of comments. I want to print it in next row.
if I print \textbf{% tx.serial %} \\ or any other variable except comments then it prints but when I print \textbf{% tx.comments %} \\ it gives the below error.
Couldn't render template "src/diner/bill_pdf.tt: latex error - pdflatex exited with errors: ! File ended while scanning use of \textbf . ! Emergency stop. ! ==> Fatal error occurred, no output PDF file produced!
I am not able to find what is wrong with this comments key data, while it working for other keys value. Even other keys also works with \multicolumn too.
Thanks. Amit BondwalIn reply to (OT) Template toolkit latex table issue by aarya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |