5
votes
1answer
226 views

How to compile a document with the pstool package using the pdflatexmk script?

To use psfrag with pdflatex I use the pstool package. Using TeXShop 3.25 I can compile the two minimal working examples given in this and this answer when I use the regular LaTeX typesetter. The ...
6
votes
2answers
338 views

Make latexmk ignore errors and finish compiling

I like to use latexmk in command line this way: latexmk -pvc -pdf -xelatex foo.tex In the event of an error in the translation, I have to manually terminate the compilation in the command line (the ...
0
votes
1answer
98 views

latexmk pointing to a line of code with an error that I don't see [closed]

When trying to compile my code, latexmk keeps hitting me with an undefined control sequences. I have checked above, below, and the line it says is causing the issue, but I don't see anything wrong. ...
5
votes
0answers
336 views

Make latexmk and pdfviewer robust against latex errors [closed]

Sometimes latexmk fails because the file was saved premature. For example the user forgets to close a { bevore he saves the .tex file. The user has to get latexmk back on the road again and usually ...
5
votes
1answer
268 views

Why doesn't latexmk handle errors in the preamble?

Today I discovered that if I have an error in the preamble of my tex file then Latexmk produce an error only once. Precisely, for example if my file looks like this \documentclass{article} ...
6
votes
2answers
700 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 ...
3
votes
1answer
644 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 ...
17
votes
6answers
2k 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
1answer
2k 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 ...