{latexmk} is a Perl script to automatically run latex and related commands as many times as needed to build the final document.

learn more… | top users | synonyms

2
votes
0answers
19 views

'Package pgf Error: No shape named is known' for nodes defined in matrix [on hold]

On my local system \graph is not able to recognize nodes defined \matrix \documentclass{article} % say \usepackage{tikz} \usetikzlibrary{calc,intersections,through,backgrounds} ...
1
vote
1answer
31 views

Which commands were executed by latexmk

Recently I've discovered latexmk if I understand correct then it can replace several commands needed to compile latex just with one command. Is it possible to show which commands were executed when I ...
1
vote
1answer
18 views

Problem with the -c option and latexmk

Let assume that I want to compile the document doc.tex with latexmk and clear the processing files. When I do latexmk -c doc.tex, it gives me the following output : Latexmk: This is Latexmk, John ...
0
votes
0answers
9 views

Error while enforcing number citation using springer journal template

I am using a springer template to write a journal paper. There is bibtex_readme.txt file in the folder which states that: Bibliography style (spr-chicago.bst) novelties. Now, there is a ...
0
votes
0answers
13 views

Adding files to latexmk watchlist

I've set latexmk to compile whenever a source file changes, but it doesn't detect changes to feature files. Can I somehow include these in the watchlist?
1
vote
1answer
43 views

Asymptote (XeLaTeX): Use custom-defined colors/Call drawing functions from external file

I'm quite new to Asymptote, although it's great to manipulate vector graphics within LaTeX. Specifically, I'm using XeLaTeX. What I'm trying to do is to change the color of a vector graphic to ...
2
votes
1answer
82 views

How to fix biblatex warning about deprecated option

When I compile my document using latexmk main.tex I get the following warning Package biblatex Warning: 'firstinits' option is deprecated, use 'giveninits' instead. How do I get rid of this? ...
0
votes
2answers
42 views

Force LatexTools to output pdf only after complete compilation

With one of the recent updates, LatexTools now supports Okular under Linux. This makes it eventually useful for my setup of writing tools. The fact that LatexTools provides the pdf viewer with the ...
2
votes
1answer
52 views

latexmk reaches maximum runs when including new glossaries entries

I have a problem with latexmk and the glossaries package. I have a large `scrbook' document organised with a main file and several chapter files. In my preamble I have a large quantity of acronyms ...
0
votes
0answers
16 views

latexmk -pvc to run only if not running

I am trying to run latexmk -pvc from a vim mapping. I only want it to run if there is no current latex -pvc background task running. Is there something easier than this?: [[ $(/usr/bin/pgrep -f ...
1
vote
1answer
54 views

XeTeX hangs on article documentclass, while LaTeX-Mk with XeLaTeX works perfectly

I have this code: \documentclass{article} \usepackage{fontspec} \begin{document} \thispagestyle{empty} \pagestyle{empty} äätewää--llll \end{document} XeTeX xetex xetex-acutex.tex produces: ...
2
votes
1answer
64 views

Install latex to work with sublime text 3 on windows

I have been using 'sublime text 3' for a long time and I like it very much. It has limited support for LaTeX. Since I have to write reports in LaTeX I want to do it in 'sublime'. I installed ...
1
vote
2answers
28 views

latexmk: how to continuously update the output pdf but not invoking the pdf viewer?

latexmk -pvc can compile tex files continuously and update the pdf viewer, but how can I stop it from invoking the pdf viewer automatically?
1
vote
0answers
22 views

Latex compilation in Sublime Text [duplicate]

Working in Sublime Text in a Latex Document, i wondered. Is there any way to compile my document look on the right side of my screen? Like Texstudio.
2
votes
0answers
25 views

Installer script for a modern version of latexmk

(Ubuntu 12.04) I installed latexmk with sudo apt-get install latexmk and got version 4.24, which apparently dates back to 2011. It doesn't have some nice features like -aux-directory that I'd like. ...
0
votes
1answer
24 views

How can I run a latexmk cleanup for subdirectory?

I'm writing a command line tool that does some work with latexmk. I specify a specific directory with output-directory. However when I run latexmk -c subdirectory nothing happens. Can I do that ...
2
votes
0answers
51 views

LatexMK incorrectly tries to build files used by minted

I am using LatexMK from a Makefile with the -use-make option. A really great tool to automatically compile my document while making sure all images are up-to-date. When trying to compile a document ...
1
vote
1answer
36 views

Post compile hook latexmk

Is there something like a "post compile hook" for latexmk. I.e. I want to configure latexmk to run some scripts automatically after a compilation process is completed.
3
votes
1answer
43 views

latexmk -xelatex produces texfile with empty page instead of unicode characters

the code: \documentclass[12pt]{article} \begin{document} ääßöüü \end{document} with the options: latexmk -xelatex test.tex results in a empty page. what is wrong here? logs: Latexmk: This is ...
1
vote
1answer
83 views

Latexmk Command not found after MacOS El Capitan Upgrade

I recently upgraded to El Capitan on my mac, and as a result, terminal no longer recognizes the command "latexmk". For example, I get the following from terminal: Tylers-MacBook-Pro:Dropbox ...
0
votes
2answers
170 views

TeXstudio + Latexmk won't compile (with OS X): “Error: Could not start command: …”

UPDATE: John reported the bug in the TeXstudio forum, and they fixed it. The development version TeXstudio 2.10.9 (hg 5929:7315f2e5eed3) works, when you change the Latexmk command to "latexmk -pdf ...
3
votes
1answer
40 views

copy pdf and .synctex.gz to working directory with latexmk, works on windows, not on os x

I have a problem with latexmk on my Mac. I'm using emacs as my latex editor, and have configured it to use latexmk. I have specified an output directory, but for synctex to work I need the pdf and ...
4
votes
1answer
258 views

Malformed bcf file not recreated by latexmk after error

I'm using latexmk with pdflatex to compile my thesis, with biblatex for references and biber as backend. It compiles fine and creates correct PDF output. If a change to the source files introduces an ...
1
vote
1answer
46 views

latexmk ignore embedded file

I have a TeX file with an embedded file from the command \embedfile{\jobname.org}. I'd like to stop latexmk from running when the embedded file changes. There is no official option for latexmk to ...
1
vote
1answer
107 views

How does latexmk find package files?

I installed TexLive on Arch Linux together with texlive-latexextra in order to use the package todonotes, but latexmk does not find the todonotes.sty file. This is what it prints: $ latexmk -- pdf ...
0
votes
0answers
65 views

Latexmk and KOMA-Script tocstyle package compile errors

I'm trying to use the KOMA-Script package together with latexmk wich produces folling compile error: Latexmk: Summary of warnings: Latex failed to resolve 20 reference(s) Latexmk: applying rule ...
0
votes
0answers
37 views

Latexmk: How to Use $compiling_cmd, $success_cmd, $failure_cmd

I wish to use the following commands of Latexmk on MacVim (El Capitan): $compiling_cmd, $success_cmd, $failure_cmd. The manual gives the following examples: $compiling_cmd = "xdotool search ...
2
votes
1answer
25 views

latexmk drops into pdfTex shell or something

I keep on reading articles on how to use latexmk, but when I try, the command never just exits. It always drops me into some kind of shell like this $ latexmk -pdf latex-preview.tex Latexmk: This is ...
1
vote
1answer
96 views

Biblatex remakes bcf and bbl files despite no change to bib files

Any change to my project tex files, even those that do not involve bib files or citations, result in biblatex recompiling the bcf and bbl files. How to prevent this behavior in order to save time ...
2
votes
2answers
52 views

Compiler-style output for latex errors

I am a programmer who is used to using command line tools to compile source code. One of the must-have features of these compilers is the ability to tell programmers where their errors are so they ...
1
vote
0answers
88 views

Segmentation fault: lualatex -recorder

I installed a 64bit MikTeX on Windows 10 and trying to get my tex-files compiling again. I'm using luatex as compiler together with latexmk and a simple latexmkrc file. $pdflatex = 'lualatex %O %S'; ...
0
votes
0answers
72 views

Use epstopdf with input files in different folder

I've been looking for hours and I still can't find a suitable solution. My problem is, I have a tex file which I must compile with pdflatex and it uses pstricks, so I use epstopdf and stuff. The issue ...
0
votes
1answer
46 views

Adding custom build step to latexmk sequence

I wonder if I can run, say, a shell script before actually starting latexmk routine? I've found compiling_cmd, but it doesn't seem to work for me. I can write custom shell script to call anything ...
0
votes
0answers
44 views

LaTeXmk Error - Changing directory

I'm using Atom 1.3.3 with LaTeX-Plus. When suddenly the following error came up. Can you please help me? I did not change any files of the project. Thank you in advance, Sebastian
1
vote
1answer
53 views

Make utility deletes PDF when Ctrl-C'ing out of continuous preview

I am using a Makefile together with the latexmk utility to build PDFs from LaTeX files. My question is at the bottom. Here is some background: The relevant parts of my Makefile are the following: ...
0
votes
0answers
59 views

Find main.tex file in parent folder when using latexmk

I have the following file structure for my document: document ├── acronym.tex ├── bibliography.bib ├── chapters │   ├── some-chapter.tex │   └── another-chapter.tex ├── figures │   ├── ...
2
votes
0answers
26 views

Is it possible to configure the way latexmk know there is not known cross-reference

When there is a reference not defined in a .tex file, latexmk can find it and send a final message like Reference `B-U:identification' on page 22 undefined on input line 547 It seems latexmk ...
0
votes
1answer
28 views

thumbpdf support for latexmk

I would like to use thumbpdf in my document and latexmk as build system. When I compile my document, I get following output: Latexmk: Missing input file: 'document.tpt' from line 'Package ...
0
votes
0answers
171 views

Latexmk - Non-existent destination files

I try to use latexmk with Texmaker. I put that in the Quick build : "C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/latexmk" -pdf %.tex | "C:/Program Files/Adobe/Reader 11.0/Acrobat/AcroRd32.exe" ...
1
vote
1answer
145 views

XeLaTex, Biber, XeLaTeX mac terminal mactex2015

Want to compile with terminal. Currently options that work in texmaker are "/usr/local/texlive/2015/bin/x86_64-darwin/xelatex" -interaction=nonstopmode %.tex| ...
1
vote
0answers
147 views

Installed package is still missing

I need MnSymbol.sty in a template I use. During the build I got this: ! LaTeX Error: File `MnSymbol.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default ...
1
vote
2answers
210 views

latexmk says fontspec/Path is unknown

I have the following document, which uses fonts stored in a fonts/ directory (specifically several subdirectories of fonts/), as well as defined font subfamilies. I'm trying to compile it into a PDF ...
0
votes
0answers
83 views

How to change the rules for latexmk that biber is not run before pdflatex?

I have settled with latexmk instead of the intrinsic order of commands within texstudio. This works very well. However, running makeindex and biber before pdflatex is not well advised in my case. ...
5
votes
1answer
323 views

How to know if a LaTeX file needs another compilation pass

When preparing a document some LaTeX files need more than one compilation pass. This is for instance the case when the file is using \tableofcontents, \ref, or bibliography file (in which case a call ...
0
votes
0answers
42 views

latexmk not copiling files

I have the following make that use latexmk to compile my latex project. It work in my personal machine but not in work machine. The files in tikz folder are not compiled. So what's the problem with my ...
4
votes
1answer
47 views

LaTeXmk and MusiXTeX. Or: adding commands to LaTeXmk workflow

I am working on a songbook in LaTeX using MusiXTeX. For that to work properly, I need to compile the document as follows: pdflatex songbook musixflx songbook pdflatex songbook Is there a way to ...
1
vote
0answers
146 views

vim + knitr + synctex + file watch + sumatrapdf (on windows)

I'm trying to get a task runner watching a directory for changes and then run the following: knit Rnw file pdflatex the resulting tex file (with bibtex) open pdf viewer and have both forward/reverse ...
3
votes
1answer
69 views

Latexmk and the location of Asymptote's generated files

I am trying out Asymptote with latexmk and I would like to automate the interaction. Consider the following latex document test.tex: \documentclass{minimal} \usepackage{asymptote} ...
0
votes
1answer
53 views

Compiling Latex in Vim Results in Error

I am trying to compile the following LaTeX using vimtex continuous compiling in vim: LaTeX: \documentclass[12pt]{article} \title{Electrolysis of Water and Aqueous Solutions} \author{Carlo Abelli \\ ...
2
votes
2answers
1k views

latexmk - command not found on OS X

I've installed the MacTex bundle on my machine. When I try to run $latexmk I get a 'command not found'. I already reinstalled the latexmk bundle in TeX Live Utility. Both universal-darwin and ...