Questions tagged [latexmk]
37 questions
2
votes
3 answers
Sublime Text 3 LaTeXTools plugin won't compile on Ubuntu
I've been a fan of the LaTeXTools plugin for Sublime Text for a while. However, the author recently updated the plugin, and it will no longer build my LaTeX documents. I'm wondering if anyone else has had this problem and knows how to fix it? Here's…

Michael Tingley
- 843
- 2
- 9
- 9
1
vote
1 answer
VisualStudioCode (with LatexWorkshop) gives spawn latexmk ENOENT, but latex is in the path. (MacOs)
I'm unable to use LatexWorkshop+VSCode as I'm getting the known error LaTeX fatal error: spawn latexmk ENOENT, . PID: undefined..
I'm using a fresh install of TexLive (through MacTex on MacOs).
Yet, although /Library/Tex/texbin is in my path (here…

MrT77
- 811
- 6
- 25
1
vote
0 answers
how to make latexmk the default compiler in texstudio?
i recently started to compile my documents in texstudio, and there was an issue adding the literature. i found out that latexmk works best with literature to compile them. so, in order to make latexmk works, a perl script must be imported, i…

sphero
- 37
- 9
1
vote
1 answer
Asymptote compiled on Git Bash gives Cygwin Error
I recently installed Asymptote 2.78 and GhostScript 9.55 (as the MikTeX installation on Windows screws them both). I also deleted the old MikTeX packages. I wanted to compile a LaTeX file with asymptote code in it. When I compile it, MikTeX again…

MATHS MOD
- 111
- 3
1
vote
1 answer
Latexmk exit code 12 in Azure Devops
I'm trying to run a test script in an azure devops pipeline. I have a test that runs on my own environment but fails in the pipeline.
when I run the following code:
command = '['latexmk', '-pdf', '--interaction=nonstopmode',…

Nathan
- 3,558
- 1
- 18
- 38
1
vote
0 answers
How to debug missing unicode characters errors when compiling literate agda files?
How does one get certain unicode characters to compile with .lagda files. For instance, when I add certain unicode characters manually to the tex file, like \phi, \forall, etc. but when I add < or == it yields the below error. Should I change font…
user5775230
1
vote
0 answers
Making latexmk -pdf -pvc stop reporting changes in the middle of my document
I am new to Latex and wanted to get it working with Vim in Arch Linux. I tried using plugins but that didn't work. I am currently trying to script it myself my just having a script open Vim to the .tex file, run latexmk -pdf -pvc, and then opening…

KNOB Personal
- 333
- 4
- 15
1
vote
2 answers
Using latexmk run commands after xelatex is run using the -no-pdf argument so pdf not corrupted
I have a latexmkrc file that looks like this:
$xelatex = 'xelatex -interaction=nonstopmode -synctex=1 %O %S; (sleep 10) && (test -f "%Z%R.synctex.gz") && (cp "%Z%R.synctex.gz" "%R.synctex.gz"); (test -f "%D") && (cp "%D" "%R.pdf")';
$pdflatex =…

J Spen
- 2,614
- 4
- 26
- 41
1
vote
1 answer
latexmk and xelatex from shell script
I have asked this question at TeX - LaTeX Stack Exchange, but I fear it is closer to a programming question than to a TeX question, hence I'm asking it here. I hope this is alright. (The original question is Passing arguments to xelatex using…

José Figueroa-O'Farrill
- 285
- 2
- 9
1
vote
2 answers
Mappings for compiling and viewing LaTeX documents in Vim
I used to use LaTeX-Box plugin to compile and view LaTeX documents with these mappings.
But I don't use it anymore because \begin and \end highlighting (and to a lower degree parentheses matching), which can't be turned off, make Vim a lot slower in…

Hanlon
- 432
- 4
- 13
1
vote
1 answer
Sublime Text 3 LaTeXTools plugin won't compile on Debian
When doing Ctrl+B on SublimeText3, the following error is output:
[Compiling first.tex]
TraditionalBuilder: Invoking latexmk...
COULD NOT COMPILE!
Attempted command:latexmk -cd -e $pdflatex='pdflatex -interaction=nonstopmode -synctex=1 %S %O' -f…

vpekar
- 3,275
- 1
- 19
- 16
1
vote
2 answers
how to have latexmk work with emacs and okular
I just started using emacs so I don't know if I am even doing this correctly.
C-c C-c then the prompt says Command [pdflatex]: so I type in latexmk. Is that even what it is expecting?
Then I am giving the following error:
Latexmk: Initialization…

dustin
- 4,309
- 12
- 57
- 79
0
votes
0 answers
Gitlab runner doesn't recognize command latexmk
I have a gitlab runner installed on my machine and all the needed things to run my .gitlab-ci.yml
But when I run it everything succeeds except it doesn't recognize the command: latexmk
'latexmk' is not recognized as an internal or external command,…

Geitjee
- 11
- 4
0
votes
1 answer
TeXstudio locale issues with LuaLaTeX
I am having trouble running lualatex from TeXstudio, seemingly due to issues with some locale settings. My environment is a pretty stock Fedora 37 with a local TeXLive installation (using the TeXLive installer instead of distribution…

Thargon
- 424
- 1
- 3
- 12
0
votes
1 answer
Set zathura as a default viewer while using latexmk
$ latexmk -pvc
When I use the above command, it open using XDvi. How to set zathura as a default viewer while using latexmk?

Bkas
- 1
- 1