Dear all, maybe this is a FAQ but could not google anything... I have a 1-2 page document that I would like to customize at 2 specific lines (for example a birthday invitaion where I need to change the recipient name and address). How can I achieve this at runtime. I assume LaTeX would stop at a prompt, possibly printing a question that I choose (eg "Enter address") input that address and then continiue typesetting it and the rest of the document. \input could possibly work by redirecting stdinbut I have not tried. Any ideas for TeX/LaTeX code or package that can achieve this? Thanks,
f
General ⇒ Custom input during compilation time
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Custom input during compilation time
Compilation depending on user input could easily be done with LuaLaTeX. You could even provide a graphical user interface with wxLua.
Stefan
Stefan
LaTeX.org admin