Tinytex: "latexmk" is missing in the windows installation

Created on 2 Jun 2018  路  5Comments  路  Source: yihui/tinytex

It takes me a while to figure out how to build Latex file using Atom or VS Code with TinyTex. It seems that in the default installation of windows, "latexmk" is missing, thus causes trouble to build the tex file.

tlmgr install latexmk solves the problem. It will be good to install this in the default setting as it seems that both Atom and VS code latex package need it to work.

Most helpful comment

Okay, I have added latexmk to the default list of packages to be included in TinyTeX.

All 5 comments

TinyTeX only installs pdflatex, xelatex, lualatex, and these packages by default: https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt I didn't know Atom and VS Code use latexmk to compile LaTeX documents.

The goal of TinyTeX is to be tiny, and you only install what you need. If you need latexmk, you just install it. If you want a full TeX Live installation, tlmgr install scheme-full.

I have tried Latex Workshop for VS Code and atom-latex for Atom which are the most popular packages of latex for them. Both require latexmk on Windows and macOS. Actually, it only need to install latexmk to build a basic Latex file after installing TinyTex. It is quite a small package (< 500kb) and can save trouble for the users in the first usage. I think it is worth to add to the default package list.

Are you sure latexmk does not require a separate installation of Perl?

I think it does not. I only use the command tlmgr install latexmk to install latexmk and it does not show the information that any other package is installed at the same time. It finished very quickly. So I guess it does not need for both Windows 10 and macOS.

I can have it a try in windows 7 as well.

Okay, I have added latexmk to the default list of packages to be included in TinyTeX.

Was this page helpful?
0 / 5 - 0 ratings