summaryrefslogtreecommitdiff
path: root/info/latex-via-exemplos/makedoc.sh
blob: a27d70d1f1fd7c5b55c966b9b5e05eaf422f7067 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash

# To compile latex-via-exemplos

# compile auxiliar files
pdflatex latex-via-exemplos-fig
pdflatex latex-via-exemplos-poster
pdflatex latex-via-exemplos-slides
pdflatex latex-via-exemplos-slides
pdflatex latex-via-exemplos-certificado
    
# compile documento (two sides)
xelatex latex-via-exemplos
bibtex latex-via-exemplos
makeindex latex-via-exemplos
xelatex latex-via-exemplos
xelatex latex-via-exemplos

# compile document (one sides)
xelatex latex-via-exemplos-oneside
bibtex latex-via-exemplos-oneside
makeindex latex-via-exemplos-oneside
xelatex latex-via-exemplos-oneside
xelatex latex-via-exemplos-oneside

# clean up
rm *.aux
rm *.bbl
rm *.blg
rm *.idx
rm *.ilg
rm *.ind
rm *.log
rm *.lol
rm *.out
rm *.synctex.gz
rm *.tmp
rm *.toc

rm *.nav
rm *.snm
rm *.vrb

# rm *.csv

# remove automatic created auxiliar tex and txt files
rm latex-via-exemplos-tabela.txt
rm latex-via-exemplos-ans.tex
rm latex-via-exemplos-oneside-ans.tex

# rm latex-via-exemplos-*-exercise-body.tex

# remove auxiliar pdf files
rm latex-via-exemplos-certificado.pdf
rm latex-via-exemplos-fig.pdf
rm latex-via-exemplos-poster.pdf
rm latex-via-exemplos-slides.pdf

#end