Compiling multiple LaTeX files in Windows

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?

Answers


Well, you could just loop over them:

for /r %%x in (*.tex) do pdflatex "%%x"

Need Your Help

<body></body> tags are being inserted into the head of my document from jQueryMobile

jquery jquery-mobile

I have just started getting a very strange error when using jQueryMobile for my mobile website/app

Passing array from CSV file in JMeter

arrays csv jmeter

I'm newbie in JMeter. Can anybody help me?