blob: 6624f661cbce21105ec1d0c1b979d096e0cac08b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Lo =
LATEX ?= latex
define Latex # texsrc
tmp=/tmp/$${$$}; \
rc=0; \
{ \
${LATEX} \
-halt-on-error -interaction=nonstopmode \
-no-mktex tfm -file-line-error \
-output-directory ${Dir} \
${Lo}'\input' ${1} > $${tmp} ||\
{ rc=$${?}; tail -20 $${tmp}; }; \
${RM} $${tmp}; \
test $${rc} -eq 0; \
}
endef
TEXINPUTS := ${Dir}:${TEXINPUTS}
export TEXINPUTS
DVIPDFMX ?= dvipdfmx -q -f erewhon.map -f newtx.map -f Chivo.map
PDFCROP ?= pdfcrop --noverbose
|