I would like to generate some pdf files with a 'for' cycle. The documents have to be very similar, but some variables are different. It is possible to do it with only LaTeX language without external scripting?

  • I'm thinking something like a filecontents environment inside a for-loop.
    – 1010011010
    Jul 7, 2014 at 16:00
  • Yes. Give us a sample of what you're after, so we can help you more effectively.
    – Werner
    Jul 7, 2014 at 16:02
  • You should remove the script tag if you do not want to use scripting! BTW, to achieve what you want without scripting is, in short, not possible. You will at least need to compile with an option, such as pdflatex --shell-escape (that is not exactly scripting, but force you to modify your command, at least).
    – Clément
    Jul 7, 2014 at 16:09


Browse other questions tagged .