Although Lumpy definitely answered the question correctly, he did not fix the problem that I had, so I thought that I would add my solution for future readers.
Even if you create an x.st file in STGroupDir that you want to load into the program and render at some point, you will need to define the syntax inside this file (the same as inside STGroupFile ) like this:
x(variables, go, here) ::= "this uses $variables$ such as $go$ and $here$"
Note that the syntax must have the same name as the file (minus the extension .st , of course).
This is inconvenient if you have a lot of quotation marks in your templates or if you do not want to include a template declaration at the top of the file or want to have a very long template. In these cases, you should use STRawGroupDir . The disadvantage is that there is no central location at the top of the template file, in which all the variables to be transferred are indicated.
source share