SBT plugin to build LaTeX projects with SBT! Inspired by latex-cv.
Features:
- Manages the ugly intermediate TeX files so you don't have to look at them.
- Can automatically rebuild your project whenever a file changes:
- Start
sbt
and run~latex
.
- Start
To use:
- Make sure
pdflatex
andbibtex
are installed, as well as any LaTeX libraries you may want.- In Ubuntu, you can install everything with
sudo apt-get install texlive-full
.
- In Ubuntu, you can install everything with
- Add the command
addSbtPlugin("emchristiansen" % "sbt-latex" % "0.1.2")
toproject/plugins.sbt
. - Expected file locations:
- Place your main
.tex
source insrc/main/latex/
. - Place resources, like
.bib
files and figures, insrc/main/resources/
. - Place external dependencies, like
.sty
files, inlib/
.
- Place your main
You can also use the giter8 template to auto-generate a LaTeX project.
License: Public domain / I don't care / CC0.