#Testing of template

7 messages ยท Page 1 of 1 (latest)

coral current
#

I'm writing some tests for a template that has a bunch of parameters to ensure I don't unknowingly break stuff as I develop on it. My current approach for testing with Quarto is to have a shell script where variables are passed via the command line, so I know exactly where it breaks (it's still for this template, but just to ensure that my Quarto interfacing files are also doing what they're supposed to). As far as I can see from https://github.com/typst/typst/issues/295, passing variables directly via the command line is not supported. Has anyone got a good way of testing a template that isn't just creating a bunch of separate typ files?

GitHub

A new markup-based typesetting system that is powerful and easy to learn. - Issues ยท typst/typst

naive tapir
#

See typst compile --input X=Y which is visible in typst in the dictionary sys.inputs. So inputs from command line are possible

coral current
#

Oh, really?! That's great! (Then I'm not sure I understand what the above issue is about ๐Ÿ˜› )

#

Also just found tytanic, I'll look more into that too!

tranquil lynx
tranquil lynx
coral current