Compile LaTeX documents from within Atom.
Use the Atom package manager and search for "latex", or run apm install latex
from the command line.
Since this package relies upon either latexmk
or texify
, a reasonably up to
date and working TeX distribution is required. The only current officially
supported distributions are TeX Live, and
MiKTeX. Although the latter is not as well tested and
supported as TeX Live, hence using TeX Live is highly recommended.
You need to ensure that the package can find your TeX distribution; if you're
using TeX Live and have installed to the default location then no further
action should be required. To help the package find the distribution's
binaries, you need to configure the TeX Path configuration variable to point
to the folder containing the binaries. This can be done either in the settings
view, or directly in your config.cson
file.
Invoke the build
command by pressing the default keybind ctrl-alt-b
while in
a .tex
file.
The package has support for the following Tex Magic comments
% !TEX root = ../file.tex
Select root file% !TEX program = pdflatex
Select Latex Engine (pdflatex,lualatex,xelatex)
Please note that this package is in a beta state. Right now everything is very naïve. As an example, there's no proper error and warning handling.
Current wish list, in a semi-prioritized order.
- Build output.
- Error handling.
- Warnings, and other non-critical messages.
- BibTeX autocompletion support.
- Add support for non-PDF typesetting (e.g. dvi).
- Project management.
- Setting to override the output directory.
- Setting to override the builder.
If you see something that's missing, or disagree with the prioritization, consider submitting a feature request, and if you're feeling super helpful, submit a pull request with an updated TODO list 💖