18
0

Updated Makefile to use/require the use of rubbber and added the

"titleref" command and "narrow" environment to the head of each paper.
This commit is contained in:
<mako@atdot.cc> 1147970605 -0400
-
parent 95e17afb1b
commit 9d1f8366c5
2 changed files with 25 additions and 17 deletions

View File

@@ -1,27 +1,24 @@
all: dvi
#!/usr/bin/make
dvi: text.tex
cp text.tex backup.tex
latex text.tex
latex text.tex
latex text.tex
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
pdf: dvi
pdflatex text.tex
%.pdf: %.png
png2pdf -p 1.4 -a $< $@
%.pdf: %.tex
rubber -fd $<
clean:
rubber -d --clean *.tex
rm -f *.tmp
rm -f figures/*.pdf
viewpdf: pdf
evince text.pdf
ps: dvi
dvips -f < text.dvi > text.ps
final: dvi
dvips -f < text.dvi > final.ps
spell:
aspell -c -t --tex-check-comments -b text.tex
clean:
cp text.tex backup.tex
rm -f text.{blg,bbl,aux,log,dvi,toc,tex.bak,txt,tex~,ps,pdf} warnings
.PHONY: clean all