My Problem is that, I want to build a letter generator, which first builds a latex-file from user input, and then compiles this via latex to PDF.
The template contains multiple lines like this:
\setkomavar{signature}{{{.Name}}}
The latex
part is \setkomavar{signature}{}
, and the template
part from go is {{.Name}}
.
When I try to load the template, it throws this error:
panic: template: letter.tmpl:72: unexpected "}" in command
Is there a trick to help the parser handling such a situation?
Thanks in advance,
Tino