Avoid unnecessary reading of template.tex; allow space delimiter for directives