elsarticle/doc/makefile
author Alpar Juttner <alpar@cs.elte.hu>
Fri, 22 Sep 2017 12:52:55 +0200
changeset 29 0ff72a828b16
permissions -rw-r--r--
Spellchecking and some rewording
alpar@0
     1
file=elsdoc
alpar@0
     2
alpar@0
     3
alpar@0
     4
all: pdf out 
alpar@0
     5
	make pdf
alpar@0
     6
	make pdf
alpar@0
     7
alpar@0
     8
out:
alpar@0
     9
	if  [ -f $(file).out ] ; then cp $(file).out tmp.out; fi ;
alpar@0
    10
	sed 's/BOOKMARK/dtxmark/g;' tmp.out > x.out; mv x.out tmp.out ;
alpar@0
    11
alpar@0
    12
pdf:
alpar@0
    13
	pdflatex $(file).tex
alpar@0
    14
alpar@0
    15
index:
alpar@0
    16
	makeindex -s gind.ist -o $(file).ind $(file).idx 
alpar@0
    17
alpar@0
    18
changes:
alpar@0
    19
	makeindex -s gglo.ist -o $(file).gls $(file).glo
alpar@0
    20
alpar@0
    21
xview:
alpar@0
    22
#	xpdf -z 200 $(file).pdf &>/dev/null
alpar@0
    23
	open -a 'Skim.app' $(file).pdf 
alpar@0
    24
alpar@0
    25
view:
alpar@0
    26
	open -a 'Adobe Reader.app' $(file).pdf
alpar@0
    27
alpar@0
    28
ins:
alpar@0
    29
	latex $(file).ins 
alpar@0
    30
alpar@0
    31
diff:
alpar@0
    32
	diff $(file).sty ../$(file).sty |less
alpar@0
    33
alpar@0
    34
copy:
alpar@0
    35
	cp $(file).sty ../
alpar@0
    36