I have a folder with many LaTeX files that all use the same custom LaTeX class. Now I want to recompile all of these LaTeX files. They are aranged in separate folders with the same name for the main files as the folder, e.g., foo0001/foo0001.tex
, foo0002/foo0002.tex
. Is there a way, using a Windows bat
script, to compile/build all these documents?
views:
41answers:
1
+3
A:
Well, you could just loop over them:
for /r %%x in (*.tex) do pdflatex "%%x"
Joey
2010-07-02 17:12:37