I have an offical document template in LaTeX, which I would like to fill programatically, i.e. providing script with values for selected variables (e.g. name, surname or boolean value for Mr./Mrs.) and compiling .tex into .pdf.
- How do I correctly create a document with such variables, is there some common format for inserting such templated variables into LaTeX?
- How do I compile such template from a script (I need just pointing into the right direction, the right way to do these kind of things, I will know where to go from there)?
\input(ted) by the main file; you should then use the piped input facility to generate this definition file dynamically and feed it to the TeX compiler. – GuM Jul 18 '16 at 07:21datatoolpackage, too. – GuM Jul 18 '16 at 07:30