ashthespy / Atom-LaTeX

The only LaTeX package you need for typesetting with Atom.
https://atom.io/packages/atom-latex
MIT License
22 stars 9 forks source link

can't supply arguments to latexmk #203

Closed blauertee closed 5 years ago

blauertee commented 5 years ago

I'm trying to compile with latexmk -shell-escape -lualatex (which works fine from the terminal)

Even though I entered them, atom-latex doesn't seem to append them as the error in the upper right corner of the attached Image shows. (The error is caused by atom-latex trying to compile with pdflatex instead of lualatex)

Also atom_latex.latex.builder.cmds

returns: ["latexmk -synctex=1 -interaction=nonstopmode -file-line-error -pdf FILENAME"]

If I do: atom_latex.latex.builder.cmds = ["latexmk -synctex=1 -interaction=nonstopmode -file-line-error -lualatex -shell-scape -pdf FILENAME"] manually it works. But thats basically the same thing as doing it from the Terminal.

Settings & Error

blauertee commented 5 years ago

Nevermind wrong argument line.