summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/elsarticle/doc/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/elsarticle/doc/makefile')
-rw-r--r--macros/latex/contrib/elsarticle/doc/makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/macros/latex/contrib/elsarticle/doc/makefile b/macros/latex/contrib/elsarticle/doc/makefile
new file mode 100644
index 0000000000..89f262a6f2
--- /dev/null
+++ b/macros/latex/contrib/elsarticle/doc/makefile
@@ -0,0 +1,41 @@
+# $Id: makefile 162 2019-01-14 09:36:11Z rishi $
+
+file=elsdoc
+
+
+all: pdf out
+ make pdf
+ make pdf
+
+out:
+ if [ -f $(file).out ] ; then cp $(file).out tmp.out; fi ;
+ sed 's/BOOKMARK/dtxmark/g;' tmp.out > x.out; mv x.out tmp.out ;
+
+pdf:
+ pdflatex $(file).tex
+
+index:
+ makeindex -s gind.ist -o $(file).ind $(file).idx
+
+changes:
+ makeindex -s gglo.ist -o $(file).gls $(file).glo
+
+xview:
+# xpdf -z 200 $(file).pdf &>/dev/null
+ open -a 'Skim.app' $(file).pdf
+
+view:
+ open -a 'Adobe Reader.app' $(file).pdf
+
+ins:
+ latex $(file).ins
+
+diff:
+ diff $(file).sty ../$(file).sty |less
+
+copy:
+ cp $(file).sty ../
+
+
+
+