From: Christiaan Baaij Date: Thu, 11 Feb 2010 11:30:36 +0000 (+0100) Subject: Set latexmk to continous preview, requires custom latexmkrc to call lhs2tex X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fdsd-paper.git;a=commitdiff_plain;h=e18369630621ccaf2d9c469de6bb08b65eb485b3;ds=sidebyside Set latexmk to continous preview, requires custom latexmkrc to call lhs2tex --- diff --git a/Makefile b/Makefile index f1782ef..3329679 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ all: - lhs2TeX -v --poly < cλash.lhs > cλash.tex - latexmk -pdf -pv cλash.tex + latexmk -r latexmkrc -pdf -pvc cλash.lhs clean: latexmk -CA diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000..153eca0 --- /dev/null +++ b/latexmkrc @@ -0,0 +1,2 @@ +$pdflatex = 'lhs2TeX -v --poly < cλash.lhs > cλash.tex; pdflatex -file-line-error -halt-on-error -synctex=1 cλash.tex cλash.pdf'; +$clean_ext = "synctex.gz ptb tex"; \ No newline at end of file