Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use the engine lualatexmk to create my documents. This runs the entire pdf-generating-process several times until a stage is reached where an additional run of this process wouldn't change the result anymore. This, at least, is more or less how I believe lualatexmk works.

The content of lualatex.engine is:

#!/bin/bash
export TSBIN="$HOME/Library/TeXShop/bin/tslatexmk"
export LTMKBIN="$HOME/Library/TeXShop/bin/tslatexmk"
export LTMKEDIT="$HOME/Library/TeXShop/bin"
# make sure latexmkrcedit exists in bin
if [ ! -e "${LTMKEDIT}/latexmkrcedit" ] ; then
    cp "${LTMKBIN}/latexmkrcDONTedit" "${LTMKEDIT}/latexmkrcedit"
fi
"${LTMKBIN}"/latexmk -f -pdf -r "${LTMKEDIT}/latexmkrcedit" -r "${TSBIN}/lualatexmkrc" "$1"

When I get an error and don't want to care about the error for the moment, I press "r" in the console and it then runs through one process and forgets about all the errors. This mode is called \nonstopmode, because it does not stop at each and every error. Since, however, lualatexmk runs the document-generating-process several times, I need to press "r" also several times.

My simple question is: How do I have to edit lualatexmk.engine to let it run completely in \nonstopmode, so that each and every error is ignored for the moment?

share|improve this question
1  
Adding \nonstopmode at the beginning of your document would suffice? –  tohecz Feb 27 '13 at 23:15
    
thanks. Works perfectly! –  ClintEastwood Feb 28 '13 at 8:28
add comment

1 Answer

up vote 3 down vote accepted

The \...mode commands can be added directly in the document, and this should work in LuaTeX as well. Therefore adding the following line as the first line of your document should suffice:

\nonstopmode
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.