From: Alexis Ballier Date: Wed, 14 Jun 2017 10:58:40 +0000 (+0200) Subject: latex-package.eclass: Use halt on error and nonstopmode for latex invocations to... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a9197ac098843c96380ebc5f41531c910c3044c;p=gentoo.git latex-package.eclass: Use halt on error and nonstopmode for latex invocations to get more useful log. --- diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index 95d98e673700..f42b6fdd25d8 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex-package.eclass @@ -139,8 +139,8 @@ latex-package_src_doinstall() { do [ -n "${LATEX_PACKAGE_SKIP}" ] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue einfo "Making documentation: $i" - if pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i ; then - pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i || die + if pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode $i ; then + pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode $i || die else einfo "pdflatex failed, trying texi2dvi" texi2dvi -q -c --language=latex $i || die @@ -205,7 +205,7 @@ latex-package_src_compile() { for i in `find \`pwd\` -maxdepth 1 -type f -name "*.ins"` do einfo "Extracting from $i" - latex --interaction=batchmode $i || die + latex --halt-on-error --interaction=nonstopmode $i || die done }