-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (27 loc) · 910 Bytes
/
Copy pathMakefile
File metadata and controls
37 lines (27 loc) · 910 Bytes
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
OBJ=babel.pdf test.pdf
export TEXINPUTS=:.:../../texinputs
default:
make all
check:
lacheck babel.tex | egrep -v "Dots should be |Whitespace before punctation|to (begin|end) quotation|possible unwanted space"
all:
pdflatex --shell-escape -interaction=nonstopmode babel.tex
mv babel.pdf python-for-sysadmin-draft-2016.pdf
allsilent:
nohup pdflatex --shell-escape -interaction=nonstopmode babel.tex > /dev/null
tail babel.log
pytest:
rm snippet.tex snippet.pdf; true
pygmentize -o snippet.tex -f latex -l python -P mathescape -F tokenmerge -O full=true,escapeinside="||" snippet.py
pdflatex --shell-escape snippet.tex
debug:
pdflatex --shell-escape babel.tex
backup:
zip -r backup-slide.zip *.tex Makefile *.png
clean:
rm -vf *.aux *.dvi *.log *.nav *.out *.snm *.toc *.vrb *.idx *.ind *.upa backup-slide.zip
distclean:
make clean
rm -vf babel.pdf
listpdf:
egrep -o '[a-z_]+\.pdf' *.tex