From d495757e15305086f9d88b695415b5298bf594f2 Mon Sep 17 00:00:00 2001 From: Ced Date: Thu, 2 Nov 2023 09:28:28 +0000 Subject: [PATCH] Stop on first error in quick target This is only useful when debugging so makes sense not to wait for the entire compilation. so support for epub though would require to change the config file with Make:htlatex { latex_par="-halt-on-error"} --- book/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/makefile b/book/makefile index b87fa33..24b6149 100644 --- a/book/makefile +++ b/book/makefile @@ -279,7 +279,7 @@ website: html ../website/_bundle_install_done $(ruby_src) # Those 2 targets allow fast debug cycles but not resolving references etc # They also ignore dependencies and run each time you call them. quick: # run latex only once no biber, no references etc... - $(LATEX) -e '$$max_repeat=1' -output-directory=book_serif book.tex + $(LATEX) -e '$$max_repeat=1' -halt-on-error -output-directory=book_serif book.tex quick_ebook: cover/cover-page.xbb # run latex only once no biber, ref etc... $(EBOOK) --mode draft -f epub book.tex