# Tag Info

## New answers tagged linux

0

I have found the Ubuntu packages to be out of date, making it difficult acquire various latex libraries. I would suggest: http://www.tug.org/texlive/quickinstall.html

3

do you actually have \usepackage{amsthm} in your preamble? if amsthm wasn't installed on your system, that would give you an error (a different one) much sooner. since the error is delayed until you try to use a theorem, it sounds like you just forgot to load the package. (a minimum non-working example would have made that sort of error obvious very ...

6

By default latexmk compiles all tex files in the current directory, including doing the necessary calls to biber, bibtex, etc. To run pdflatex on the files use latexmk -pdf or for lualatex latexmk -lualatex You can set default behaviour via a configuration file.

8

You could use a loop in the shell eg cd myfolder; for i in *.tex; do pdflatex \$i;done

3

I imagine there are quite a few ways to do this- David Carlisle mentioned one in his comment, here's another: find -name "*.tex"|while read file; do pdflatex "\$file";done

Top 50 recent answers are included