1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/elsarticle/doc/makefile Fri Nov 18 16:18:02 2016 +0100
1.3 @@ -0,0 +1,36 @@
1.4 +file=elsdoc
1.5 +
1.6 +
1.7 +all: pdf out
1.8 + make pdf
1.9 + make pdf
1.10 +
1.11 +out:
1.12 + if [ -f $(file).out ] ; then cp $(file).out tmp.out; fi ;
1.13 + sed 's/BOOKMARK/dtxmark/g;' tmp.out > x.out; mv x.out tmp.out ;
1.14 +
1.15 +pdf:
1.16 + pdflatex $(file).tex
1.17 +
1.18 +index:
1.19 + makeindex -s gind.ist -o $(file).ind $(file).idx
1.20 +
1.21 +changes:
1.22 + makeindex -s gglo.ist -o $(file).gls $(file).glo
1.23 +
1.24 +xview:
1.25 +# xpdf -z 200 $(file).pdf &>/dev/null
1.26 + open -a 'Skim.app' $(file).pdf
1.27 +
1.28 +view:
1.29 + open -a 'Adobe Reader.app' $(file).pdf
1.30 +
1.31 +ins:
1.32 + latex $(file).ins
1.33 +
1.34 +diff:
1.35 + diff $(file).sty ../$(file).sty |less
1.36 +
1.37 +copy:
1.38 + cp $(file).sty ../
1.39 +