Makefile & al.
authorVivien Maisonneuve <v.maisonneuve@gmail.com>
Tue, 11 Feb 2014 09:37:21 +0000 (10:37 +0100)
committerVivien Maisonneuve <v.maisonneuve@gmail.com>
Tue, 11 Feb 2014 09:37:21 +0000 (10:37 +0100)
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]
chktexrc [new file with mode: 0644]
latexmkrc [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..82ee594
--- /dev/null
@@ -0,0 +1,16 @@
+/*.aux
+/*.bbl
+/*.blg
+/*.fdb_latexmk
+/*.fls
+/*.lof
+/*.log
+/*.nav
+/*.out
+/*.pdf
+/*.snm
+/*.sublime-workspace
+/*.synctex.gz
+/*.synctex.gz(busy)
+/*.toc
+/*.vrb
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..7fbff97
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+LATEXMK:=latexmk
+JOBNAME:=pipstransfo
+
+.PHONY: default
+default: build
+
+.PHONY: build
+build: depends
+       $(LATEXMK) $(JOBNAME).tex
+
+.PHONY: live
+live: depends
+       $(LATEXMK) -pvc $(JOBNAME).tex
+
+.PHONY: depends
+depends:
+
+.PHONY: clean
+clean:
+       $(LATEXMK) -C
+
+.PHONY: rebuild
+rebuild: clean build
+
diff --git a/chktexrc b/chktexrc
new file mode 100644 (file)
index 0000000..5356a06
--- /dev/null
+++ b/chktexrc
@@ -0,0 +1,2 @@
+VerbEnvir { lstlisting tikzpicture }
+CmdLine { -n1 -n21 -n41 }
diff --git a/latexmkrc b/latexmkrc
new file mode 100644 (file)
index 0000000..a973307
--- /dev/null
+++ b/latexmkrc
@@ -0,0 +1,3 @@
+$pdf_mode = "1";
+$pdflatex = "pdflatex -interaction=nonstopmode -halt-on-error -file-line-error -synctex=1";
+$clean_ext = "bbl synctex.gz synctex.gz(busy)";