Command line input

Hi there,
I have a CV that I’d like to be able to display in color or black and white. In xelatex, In the past I’ve been able to do something like xelatex "\def\iscolor{1} \input{input.tex}"
Does tectonic support some sort of command line input like this?

tectonic supports reading from standard input, so you can do something like

echo '\def\iscolor{1} \input{input.tex}' | tectonic -

It stores the output in the file texput.pdf.

@pkgw: Is there a way to specify the name of the output file name when - input is used?

1 Like

It is not currently customizable but I opened this issue to track that work:

1 Like