Suppose I have a template with values to fill in from some kind of file. Can I instead of producing a pdf directly, have the .typ file produced so that I can edit it manually as I please with values from the file input and then render pdf?
Thank you
Suppose I have a template with values to fill in from some kind of file. Can I instead of producing a pdf directly, have the .typ file produced so that I can edit it manually as I please with values from the file input and then render pdf?
Thank you
This is how I understood this:
#let some-kind-of-file = ```
value
```.text
#let data = some-kind-of-file.split("\n")
Some template: #underline(data.first())

Do I understand it correctly? You have a Typst file that reads in e.g. json data, and then you want to get a new Typst file which contains the read in data? Then no, that is not possible with Typst.
Exactly what I wanted.
Will mark your answer.