batch conversion of TeX
keramida at ceid.upatras.gr
Fri Oct 12 07:47:00 PDT 2007
On 2007-10-12 09:44, "Aryeh M. Friedman" <aryeh.friedman at gmail.com> wrote:
> Those who have followed my openoffice to TeX conversion know I am brand
> new to TeX and want to know how to do the following conversions
> (hopefully via some non-interactive process [eg. Make files]):
> TeX-->plain text
I usually start by writing something like this in a Makefile:
DOC = foo
SRC = $(DOC).tex
PDF = $(DOC).pdf
PDFLATEX = pdflatex
The two runs of $(PDFLATEX) are necessary to get cross-references
correct in documents with internal cross-references.
There are other tools, like texindex(1) which you may want to throw into
the mix. The TeX toolchain is described in detail in the documentation
which is available online at CTAN (the Comprehensive TeX Archive
Network). It may be interesting for you to at least skim through the
docs available at http://www.ctan.org/tex-archive/info/
All the books available at the `info' directory are useful, and many of
them are excellent examples of what you can do by typesetting with TeX.
Some of my favorites are:
* ``Components of TeX''
* ``Essential information for writing LaTeX documents''
* ``Making TeX Work''
More information about the freebsd-questions