On 2007-10-18 11:42, Murray Taylor <[EMAIL PROTECTED]> wrote: >Giorgos Keramidas wrote: >> I usually start by writing something like this in a Makefile: >> >> DOC = foo >> SRC = $(DOC).tex >> PDF = $(DOC).pdf >> >> PDFLATEX = pdflatex >> >> all: $(PDF) >> >> $(PDF): $(SRC) >> $(PDFLATEX) $(SRC) >> $(PDFLATEX) $(SRC) >> >> The two runs of $(PDFLATEX) are necessary to get cross-references >> correct in documents with internal cross-references. > > the latex-mk port handles a lot of these functions > /usr/ports/misc/latex-mk > > I uses it for all my docs > > make # generates a DVI file and calls a viewer > make ps > make pdf > make html # settable options re single page - multi page > make draft-pdf # overprints DRAFT - use this if you are not using the > > # \usepackage{draftcopy} which gives you more > flexibility > make print # spools off to lp > make clean > > And there are other available targets for the Make process.
Very interesting. Thanks :) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"