- pdf generation
This commit is contained in:
parent
26c8a2b8c0
commit
8f26e0b12d
|
@ -1,31 +1,22 @@
|
|||
TEX = simulation.tex
|
||||
FIG = addac.fig
|
||||
EPS = $(FIG:.fig=.eps)
|
||||
PDF = $(EPS:.eps=.pdf)
|
||||
|
||||
all : simulation.pdf
|
||||
cp simulation.pdf ../../
|
||||
|
||||
|
||||
%.pdf : %.tex
|
||||
pdflatex $<
|
||||
|
||||
%.dvi : %.tex
|
||||
simulation.dvi : simulation.tex addac.eps
|
||||
latex $<
|
||||
|
||||
%.ps : %.dvi
|
||||
dvips -o $@ $<
|
||||
|
||||
%.pdf : %.eps
|
||||
epstopdf $<
|
||||
|
||||
%.eps : %.fig
|
||||
fig2dev -L eps $< > $@
|
||||
|
||||
all : $(TEX:.tex=.ps) $(TEX:.tex=.pdf)
|
||||
simulation.pdf : simulation.dvi
|
||||
dvipdf simulation.dvi
|
||||
|
||||
$(EPS) : $(FIG)
|
||||
$(PDF) : $(EPS)
|
||||
$(TEX:.tex=.ps) : $(TEX:.tex=.dvi)
|
||||
$(TEX:.tex=.dvi) : $(EPS)
|
||||
$(TEX:.tex=.pdf) : $(PDF)
|
||||
|
||||
clean :
|
||||
rm -f *~ *.aux *.log *.pdf *.dvi *.ps *.out *.toc *.eps
|
||||
|
|
Loading…
Reference in New Issue