These are all my LaTeX templates. I optionally use the script
compile.sh for making the final document as follows:
$ ./compile.sh document.tex
This script, basically, makes the following:
Builds the images from the svg files in img folder (Inkscape required).
Compiles the document:
texfot pdflatex -file-line-error -interaction nonstopmode document.tex biber document texfot pdflatex -file-line-error -interaction nonstopmode document.tex texfot pdflatex -file-line-error -interaction nonstopmode document.tex
This script also uses colours for warnings and errors, so they are easily spotted.
Two other useful ways for compiling that I use a lot are the following:
latexmk -pdflatex -silent document.tex
is faster than using the script because it only does the necessary steps in the compilation chain. However, it does not show errors and warnings (but it tells you that there are some). When I want to check them, I use the script.
On the other hand,
latexmk -pvc -pdflatex -silent document.tex
is very useful for viewing changes as they are saved to disk, automatically. It saves a lot of time.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.