Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latexmk fails to compile in LaTeXTools #1597

Open
Krytic opened this issue Aug 22, 2024 · 0 comments
Open

latexmk fails to compile in LaTeXTools #1597

Krytic opened this issue Aug 22, 2024 · 0 comments

Comments

@Krytic
Copy link

Krytic commented Aug 22, 2024

I am trying to use LaTeXTools to build a pdf document using TeX Live. If I compile the document using latexmk -pdf main.tex on the command line, it compiles fine and matches what I get on e.g. Overleaf. If I compile using a ST build system, it doesn't compile at all.

Here is my build output from ST4. Note that since latexmk compiles it fine on the command line, the error seems to be that LaTeXTools can't find where texlive installed these packages to.

[Compiling /home/<me>/Desktop/<directory>/main.tex]

TraditionalBuilder: Engine: pdflatex. Invoking latexmk... done.

Errors:

/home/<me>/Desktop/<directory>/main.tex:36: LaTeX Error: File `newtxtext.sty' not found. [^^M]

No warnings.

/home/<me>/Desktop/<directory>/main.log:1: Double-click here to open the full log.

[Done!]

and the output of my system check:

Variable   Value
--------   -----
PATH       /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/texlive/2021/bin/x86_64-linux
TEXINPUTS  <snip for length>
BIBINPUTS  .:/usr/share/texlive/texmf-dist/bibtex/bib:/usr/share/texlive/texmf-dist/bibtex/bib/cnltx:/usr/share/texlive/texmf-dist/bibtex/bib/oberdiek:/usr/share/texlive/texmf-dist/bibtex/bib/msc:/usr/share/texlive/texmf-dist/bibtex/bib/base:/usr/share/texlive/texmf-dist/bibtex/bib/glossaries-extra:/usr/share/texlive/texmf-dist/bibtex/bib/gloss:/usr/share/texlive/texmf-dist/bibtex/bib/directory:/usr/share/texlive/texmf-dist/bibtex/bib/abstyles:/usr/share/texlive/texmf-dist/bibtex/bib/frankenstein:/usr/share/texlive/texmf-dist/bibtex/bib/lsc:/usr/share/texlive/texmf-dist/bibtex/bib/attachfile
BSTINPUTS  .:/usr/share/texlive/texmf-dist/bibtex/bst:/usr/share/texlive/texmf-dist/bibtex/bst/natbib:/usr/share/texlive/texmf-dist/bibtex/bst/dlfltxb:/usr/share/texlive/texmf-dist/bibtex/bst/achemso:/usr/share/texlive/texmf-dist/bibtex/bst/datatool:/usr/share/texlive/texmf-dist/bibtex/bst/dinat:/usr/share/texlive/texmf-dist/bibtex/bst/mciteplus:/usr/share/texlive/texmf-dist/bibtex/bst/base:/usr/share/texlive/texmf-dist/bibtex/bst/gloss:/usr/share/texlive/texmf-dist/bibtex/bst/directory:/usr/share/texlive/texmf-dist/bibtex/bst/shipunov:/usr/share/texlive/texmf-dist/bibtex/bst/adrconv:/usr/share/texlive/texmf-dist/bibtex/bst/amscls:/usr/share/texlive/texmf-dist/bibtex/bst/tufte-latex:/usr/share/texlive/texmf-dist/bibtex/bst/index:/usr/share/texlive/texmf-dist/bibtex/bst/savetrees:/usr/share/texlive/texmf-dist/bibtex/bst/babelbib:/usr/share/texlive/texmf-dist/bibtex/bst/upmethodology:/usr/share/texlive/texmf-dist/bibtex/bst/opcit:/usr/share/texlive/texmf-dist/bibtex/bst/abstyles:/usr/share/texlive/texmf-dist/bibtex/bst/frankenstein:/usr/share/texlive/texmf-dist/bibtex/bst/chet:/usr/share/texlive/texmf-dist/bibtex/bst/dvdcoll:/usr/share/texlive/texmf-dist/bibtex/bst/phfnote:/usr/share/texlive/texmf-dist/bibtex/bst/hc:/usr/share/texlive/texmf-dist/bibtex/bst/mslapa:/usr/share/texlive/texmf-dist/bibtex/csf:/usr/share/texlive/texmf-dist/bibtex/csf/polish-csf:/usr/share/texlive/texmf-dist/bibtex/csf/base

Program      Location                                          Status     Version
-------      --------                                          ------     -------
sublime      /usr/bin/subl                                     available  Sublime Text Build 4180
latexmk      /usr/local/texlive/2021/bin/x86_64-linux/latexmk  available  Latexmk, John Collins, 29 May 2021. Version 4.74b
pdflatex     /usr/bin/pdflatex                                 available  pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
xelatex      /usr/local/texlive/2021/bin/x86_64-linux/xelatex  available  XeTeX 3.141592653-2.6-0.999993 (TeX Live 2021)
lualatex     /usr/bin/lualatex                                 available  This is LuaTeX, Version 1.10.0 (TeX Live 2019/Debian)
biber        /usr/local/texlive/2021/bin/x86_64-linux/biber    available  biber version: 2.16
bibtex       /usr/bin/bibtex                                   available  BibTeX 0.99d (TeX Live 2019/Debian)
bibtex8      /usr/bin/bibtex8                                  available  This is 8-bit Big BibTeX version 0.99d
kpsewhich    /usr/bin/kpsewhich                                available  kpathsea version 6.3.1
convert      /usr/bin/convert                                  available  ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
ghostscript  /usr/bin/gs                                       available  GPL Ghostscript 9.50 (2019-10-15)

Packages for equation preview  Status
-----------------------------  ------
standalone                     available
preview                        available
xcolor                         available
amsmath                        available
amssymb                        available
latexsym                       available
mathtools                      available

Builder      Status
-------      ------
traditional  available

Builder Setting  Value
---------------  -----
display_log      False
linux            {}   
osx              {}   
windows          {}   

TeX Root
--------
/home/<me>/Desktop/<directory>/main.tex

LaTeX Engine
------------
pdflatex    

Viewer  Status     Location
------  ------     --------
evince  available  /usr/bin/evince
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant