author | Madarasi Peter |
Wed, 23 Nov 2016 20:51:09 +0100 | |
changeset 10 | 1e4a79cd8332 |
permissions | -rw-r--r-- |
1 file=elsdoc
4 all: pdf out
5 make pdf
6 make pdf
8 out:
9 if [ -f $(file).out ] ; then cp $(file).out tmp.out; fi ;
10 sed 's/BOOKMARK/dtxmark/g;' tmp.out > x.out; mv x.out tmp.out ;
12 pdf:
13 pdflatex $(file).tex
15 index:
16 makeindex -s gind.ist -o $(file).ind $(file).idx
18 changes:
19 makeindex -s gglo.ist -o $(file).gls $(file).glo
21 xview:
22 # xpdf -z 200 $(file).pdf &>/dev/null
23 open -a 'Skim.app' $(file).pdf
25 view:
26 open -a 'Adobe Reader.app' $(file).pdf
28 ins:
29 latex $(file).ins
31 diff:
32 diff $(file).sty ../$(file).sty |less
34 copy:
35 cp $(file).sty ../