Is there a way to use a variable that is defined in the main document in a template imported into that document?
When I try to do this, I get the error "unknown variable"
Basically, I have a footer that will change from document to document that I therefore need defined in the main document. The structure of the footer itself is a bit complex and rather ugly, so it is of course in the template.
I simply want to inject the content into the template under the page/footer section.