diff options
author | Norbert Preining <norbert@preining.info> | 2022-06-27 03:04:10 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-06-27 03:04:10 +0000 |
commit | 2f80535c778eacefb7c73b39d2cb4f877f3d3341 (patch) | |
tree | a0302e003e8f22f0e9acec58956210d908baafd8 /macros/latex/contrib/dvisirule/cmd.mk | |
parent | 49d5e8cc281cf2335112eb5488cd83afd96eeb04 (diff) |
CTAN sync 202206270304
Diffstat (limited to 'macros/latex/contrib/dvisirule/cmd.mk')
-rw-r--r-- | macros/latex/contrib/dvisirule/cmd.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/latex/contrib/dvisirule/cmd.mk b/macros/latex/contrib/dvisirule/cmd.mk new file mode 100644 index 0000000000..6624f661cb --- /dev/null +++ b/macros/latex/contrib/dvisirule/cmd.mk @@ -0,0 +1,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 |