{latexmk} is a Perl script to automatically run latex and related commands as many times as needed to build the final document.
6
votes
2answers
420 views
! Bad space factor (0)
When trying to compile my .tex file using the latexmk -latex=xelatex command, I receive the following error:
! Bad space factor (0).
<recently read> \@savsf
l.39 \end{seriate}
?
Then, if ...
1
vote
2answers
693 views
Latexmk: makeglossaries, Biber and pdfLaTeX / Where to put latexmkrc?
I've got myself seriously confused with latexmk. I have been using latexmk on TeX Live 2011 and I have loved it for making my document with a ToC and references with Biber. I am trying to make it work ...
5
votes
1answer
557 views
latexmk: Multiple custom-generated files and \input
Referring to this question, I found that having multiple custom-generated files in a document generated by latexmk doesn't really work for me.
The modus operandi is that latexmk runs pdflatex, ...
7
votes
1answer
446 views
Can I make latexmk quieter?
I'm using latexmk -quiet, and while it suppresses most status messages, there are still a few irrelevant messages that it gives me:
$ latexmk -pdf -silent document.tex
Latexmk: Run number 1 of rule ...
5
votes
1answer
135 views
Can latexmk be told to ignore specific intermediate files completely?
One latex run suffices to generate the DVI/PDF version of the LaTeX document
\documentclass{article}
\usepackage{comment}
\includecomment{comment}
\begin{document}
\begin{comment}
\noindent
...
5
votes
2answers
827 views
Where should I put a latexmkrc file (using TeXLive 2011 and Windows 7) so that it is available to all my document files?
I spent most of yesterday trying to get LaTeX to create a list of abbreviations using the {nomencl} package , and after a lot of research managed to succeed using latexmk and creating a customised ...
2
votes
0answers
536 views
Latexmk with makeindex and -output-directory [closed]
My current .latexmkrc looks (more or less) like this:
$pdflatex = "xelatex -src-specials -synctex=1 -interaction=nonstopmode %O %S";
# for nomenclature
add_cus_dep("nlo", "nls", 0, "nlo2nls");
sub ...
4
votes
1answer
366 views
latexmk -pvc doesn't recompile if included files change
My current project layout looks like this:
Mainfile.tex with \begin{document} including
preamble (\documentclass, packages, newcommands, etc) and
chapters, split into separate subfiles.
I'm using ...
2
votes
0answers
209 views
xelatexmk and emacs [closed]
For technical reason, I had to set for using emacs as my working environment, as I am able to type directly some Unicode signs that otherwise I cannot code in with Texworks or TeXmaker. At this point, ...
12
votes
1answer
623 views
texify or latexmk?
MiKTeX 2.9 comes with both and they apparently do the same thing. I was wondering what the difference between them is (if any) and which one is preferable for large documents.
6
votes
1answer
452 views
Latexmk can't see a dependency on a .fmt format file
I'm using latex on a small netbook, and with average-sized files (~150 pages at the moment) compilation is already pretty slow. So I am looking for every way to speed up the compilation.
In this ...
3
votes
1answer
145 views
Using Latexmk with mpost
Is it possible to tell latexmk to execute mpost paper.mp after each compilation run if paper.mp has changed?
I tried to create a custom latexmkrc rule:
add_cus_dep('mp', '1', 0, 'mpost');
sub mpost ...
38
votes
3answers
2k views
What are the differences between latexmk and rubber?
I just stumbled on this blog post about rubber and was thinking: "Isn't that exactly what latexmk does?". So, now I wonder: isn't it? Or are there any differences?
5
votes
1answer
386 views
How to use latekmk with feynmf/feynmp?
Background
The latexmk tool can be used to automatically process your LaTeX files enough times to generate the output. As discussed here and here, latexmk now supports setting out_dir which passes ...
3
votes
1answer
354 views
latexmk -pvc option breaks when compiling beamer class
latexmk is the tool I'm using to compile my documents, and the -pvc option is the one which is normally on. In this setting, when I save a file which produces a compilation error, then latexmk informs ...
1
vote
1answer
933 views
LaTeXmk, xelatex and Texmaker
I am trying to set up Texmaker, so I can use latexmk with xelatex, as biber seems already supported by latexmk. I confess I do not understand how I should proceed about it.
For latexmk, I am actually ...
3
votes
1answer
340 views
Vector images in PDF
I use latexmk to automatically generate my LaTeX files. I want to use vector graphics, exported from Matlab (*.eps) but I know, that this is not possible (for some reason) - just image files like ...
4
votes
1answer
905 views
How to use latexmk in Windows with MikTex and Winedt
I am using Windows 7 x64 with MikTex and WinEdt. I just found latexmk has the function for continuous preview when we type latex document. I would like to know if this works if I type my latex ...
12
votes
2answers
2k views
Set up vim with latex-suite to use latexmk
Today I started using vim in combination with the latex-suite plugin, and so far I love it. Other editors also make using LaTeX easier by providing code completed and such, but latex-suites's ...
14
votes
4answers
1k views
Use MiKTeX option through latexmk
When I use MiKTeX normally, I call this:
pdflatex --aux-directory="C:\Users\doncherry\Documents\LaTeX\AUXI_global" foo.tex
For latexmk outputting pdf (via pdfLaTeX) with continuous previewing, my ...
5
votes
1answer
281 views
How to configure latexmk to work recursively? (PDF Thumbnails)
I'm writing a book which will include and explain a handful of different memoir page layouts.
Setting the scene
In the book, I want to imbed thumbnails of pages from PDFs generated with the page ...
5
votes
2answers
437 views
Specify .ist-File for latexmk in TextMate
So I'm using latexmk.pl to compile my TextMate LaTeX Project and it's running quite nice. The only thing I'm missing, is, that i want to specify an individual style file for the makeindex command, ...
18
votes
6answers
2k views
PDF reader on Linux capable of continuous updating
I am using latexmk on a Red Hat 5 machine. I use it as:
latexmk -pdf -pvc
I would like to have my PDF reader automatically update the PDF as it is changed. What PDF reader do I need for this? What ...
16
votes
1answer
669 views
Is there latexmk functionality for LuaTeX?
I am a big fan of latexmk and lately I have been looking a bit towards LuaTeX. However I am am yet to find a way to get the functionality of latexmk (mainly recompilation on changes and automatic ...
4
votes
1answer
882 views
How to make LaTeXmk work with XeLaTeX and biber
I'm trying to make LaTeX make work with XeLaTeX and biber for my thesis. The document will have many cross references. What settings do I need to ensure it works correctly? My current settings for ...
4
votes
1answer
286 views
latexmk not accompanying TexWorks 0.5?
I seem to remember latexmk should be included since ver 0.4 TexWorks. I have ver 0.5 r.930 Debian installed on Deb 6 64 bit. Also I have Texworks 2011 installed in my home folder. So why doesn't ...
6
votes
3answers
1k views
configure latexmk in Texworks 0.2.3
Someone told me "You can configure latexmk in 0.2.3 in texworks". How, please?
(I need it so that compilation is done properly for bibligraphies.)
I'm in Debian 6 and using TexLive.
0
votes
2answers
3k views
Latexmk: Citation 'XXX' on page YY undefined [closed]
When I compile my document using latexmk.pl I get warning for every citation:
Latexmk: Citation 'XXX' on page YY undefined
The citation appears in the References at the end of the document, but at ...
4
votes
3answers
675 views
Automatically start the necessary pdflatex runs if .tex has changed (MacOS X)?
I read about Latex Daemon, which seems to automatically start a new latex run, when the source document (.tex) has changed.
Can somebody recommend me a similar solution for MacOS X (as Latex daemon ...
1
vote
1answer
202 views
How does latexmk find the file it should compile?
Following up on gedit [] TexLive
latexmk myfile.tex
delivers this answer:
Latexmk: Could not find file [myfile.tex]
Run number 1 of latex [myfile.tex]
This is pdfTexk, Version 3.141592-1.40.3 ...
3
votes
1answer
533 views
What could cause repeated NULL characters in an .aux file? [closed]
I have a LaTeX document that was compiling fine until this evening. I was playing around with synctex and latexmk when I noticed the error, but I'm not sure what is causing it.
There are over 100 of ...
9
votes
2answers
2k views
Specify -output-directory when using latexmk
I am using latexmk for the automatic resolution of needed reruns. I would like to put all build files (aux, log, bbl, pdf, etc.) in a subdirectory.
I cannot find an option for latexmk to do this. If ...
3
votes
1answer
870 views
Using BibTeX with latexmk
I'm using MiKTeX 2.9 under Windows XP. I have the following directory structure for my document:
D:\MyTeX
D:\MyTeX\BibTeX
D:\MyTeX\IPMcast
File latexmkrc contains the line:
$bibtex = 'bibtex ...
6
votes
1answer
812 views
Emacs-org-mode and latexmk
After getting to know org mode here, I tried it out. It seems to be, indeed, very helpful. However, I want it to work smoothly with LaTeX, and as a compiling script I want to use latexmk.
I followed ...
12
votes
1answer
1k views
Compile using latexmk in emacs
In the accepted answer in for the question it is suggested how to add latexmk support to emacs. If I get it right, compiling the .tex file should be assigned to C-c C-c. However this doesn't work for ...
13
votes
6answers
1k views
Use latexmk to filter the log file
I am usually using latexmk in a split shell with my code on the left and latexmk in -pvc mode on the right.
When using some packages which themselves load a lot of other packages (think beamer) the ...
6
votes
2answers
380 views
How to ignore .latexmkrc
I usually love my .latexmkrc settings. However I am trying to play with Template Toolkit to build a LaTeX file, then compile it with latexmk (all of this inside a perl script) and thus I would like to ...
8
votes
2answers
938 views
Textmate + Latexmk
Textmate for OS X, has a LaTeX bundle (a great bundle indeed). But this bundle packs the latexmk script (version 3.7 or so), I am wondering if anyone was able to update the latexmk version that comes ...
13
votes
2answers
2k views
Using Biber with latexmk
With version 4.22, latexmk claims to
[s]upport the use of biber (with the biblatex package) as an alternative to bibtex for generating bibliographies, with automatic determination of whether to ...
4
votes
2answers
683 views
putting (aux log out toc bbl bib blg) files in another directory with latexmk
Is it possible to put (aux log out toc bbl bib blg) files in another directory with latexmk?
6
votes
1answer
1k views
Ignore compile errors
How can I set up a permanent compile loop that keeps trying even when there are errors? I'm using latexmk with a remote compile setup as discussed here and here. However, if I save a document with a ...
23
votes
4answers
2k views
How to make Latexmk use makeglossaries?
Is there a way to make Latexmk invoke makeglossaries (part of the glossaries package)?
Specifically I want to use latexmk to compile a LaTeX document that uses the glossaries package to produce a ...
