I am using NOWDOC as a template to generate LaTeX from a query.
It gets to a point in the code and starts treating some bracket enclosed TeX code as global variables. When I use HEREDOC it will treat braces as SC variables.
Is this a bug? Is there a workaround?