Differences between version 9 and predecessor to the previous major change of LatexMakefiles.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 9 | Last edited on Monday, July 19, 2004 2:48:39 pm | by JohnMcPherson | Revert |
Older page: | version 8 | Last edited on Monday, June 7, 2004 1:26:02 pm | by AristotlePagaltzis | Revert |
@@ -99,9 +99,29 @@
</verbatim>
----
+!! Useful Variables
+[LaTeX] has some [EnvironmentVariable]s that control where it looks for various
+files. Note that just setting these in the Makefile isn't enough; you need to set
+them for the actual call to latex/pdflatex/bibtex etc. These allow you to run
+latex from different directories but still have relative paths work, which is
+useful if you have a very large document split up into smaller files and use the
+"\input" latex tag.
+!TEXINPUTS
+A colon-separated list of paths of where to look for files named in \input and
+\usepackage (etc) tags. End with ":" so that it also checks the default system
+directories for class/style files. Eg
+ TEXINPUTS=".:..:~/mylatexfiles:" latex foo
+!BIBINPUTS
+":"-separated path to look for bibliography files
+!TEXFORMATS
+":"-separated path to look for .fmt files - for example if you have pdflatex installed in a non-standard place, you can set this to tell it where to find the pdflatex.fmt file.
+!TEXMF
+The base directory for the latex installation.
+
+----
!! More Powerful Makefiles
Because of all the crap that Latex and Bibtex outputs, SamJansen decided to create a directory structure for the report that kept all the "work" files away from the main directory. There are a few additions by MattBrown below to allow images to be generated from .fig files and to spellcheck the report before generating it.