-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 834 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
filename=ba-milan-gruner
default:
pdflatex ${filename}
bibtex ${filename}||true
pdflatex ${filename}
pdflatex ${filename}
pdf: ps
ps2pdf ${filename}.ps
pdf-print: ps
ps2pdf -dColorConversionStrategy=/LeaveColorUnchanged -dPDFSETTINGS=/printer ${filename}.ps
text: html
html2text -width 100 -style pretty ${filename}/${filename}.html | sed -n '/./,$$p' | head -n-2 >${filename}.txt
html:
@#latex2html -split +0 -info "" -no_navigation ${filename}
htlatex ${filename}
ps: dvi
dvips -t letter ${filename}.dvi
dvi:
latex ${filename}
bibtex ${filename}||true
latex ${filename}
latex ${filename}
read:
evince ${filename}.pdf &
aread:
acroread ${filename}.pdf
clean:
rm -f ${filename}.{ps,pdf,log,aux,out,dvi,bbl,blg,aux,glo,idx,log,acn,acr,alg,bbl,blg,dvi,glg,gls,ilg,ind,lof,lot,maf,mtc,mtc1,out,synctex.gz,xdy}