If I do pdflatex *.tex
in a directory, only one tex
file is compiled. Which syntax should I use that all *.tex
files in the directory are compiled?
Asked
Active
Viewed 1,314 times
3

student
- 18,305
3 Answers
6
pdflatex
apparently only takes one argument. I can think of using find -exec
find -name '*.tex' -maxdepth 1 -exec pdflatex {} \;
But there may be better alternatives.

Bernhard
- 12,272
tex.stackexchange.com
has a valuable thread on "tools for automating document compilation" – sr_ May 01 '12 at 09:00