From f7d4ba2023ab18b9d7c5fad85cbb863c61e6272c Mon Sep 17 00:00:00 2001 From: Viktor Kleen Date: Fri, 2 Jan 2015 09:29:04 +0000 Subject: initial commit --- default.svg.do | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 default.svg.do (limited to 'default.svg.do') diff --git a/default.svg.do b/default.svg.do new file mode 100644 index 0000000..5fc067e --- /dev/null +++ b/default.svg.do @@ -0,0 +1,20 @@ +redo-ifchange $2.expr build/preview/preview.sty build/preview/prtightpage.def build/preamble.tex +INPUT=$(realpath $2.expr) +TDIR=$(mktemp -d --tmpdir=/tmp) + +cp build/preview/preview.sty build/preview/prtightpage.def build/preamble.tex $TDIR + +pushd $TDIR +latex -jobname=image <&1 | sed -e '/depth=/!d;s/^.*depth=\(.*\)$/\1/' > $(dirname $2)/vertical-align -- cgit v1.2.3