2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-21 17:35:55 +01:00

Switch to nonstopmode for latex prompts #2421

This commit is contained in:
Waf Project 2023-12-07 21:13:00 +01:00
parent 18192437a0
commit 266a75a4ef
3 changed files with 7 additions and 6 deletions

View File

@ -10,7 +10,8 @@
\maketitle
\tableofcontents
\glossarystyle{altlist}
% next line is broken after using a newer texlive version
%\glossarystyle{altlist}
%% The glossary entries
\newglossaryentry{african}

View File

@ -17,7 +17,7 @@ def build(bld):
# optional parameters
obj.outs = 'ps' # we want a postscript output too - 'ps pdf' works too
obj.prompt = 1 # put 0 for the batchmode (conceals the debug output)
obj.prompt = 1 # put 0 for the nonstopmode (conceals the debug output)
obj.deps = 'wscript crossreferencing.ltx' # use this to give dependencies directly
# or more simply, for a pdf..

View File

@ -355,9 +355,9 @@ class tex(Task.Task):
env = self.env
if not env.PROMPT_LATEX:
env.append_value('LATEXFLAGS', '-interaction=batchmode')
env.append_value('PDFLATEXFLAGS', '-interaction=batchmode')
env.append_value('XELATEXFLAGS', '-interaction=batchmode')
env.append_value('LATEXFLAGS', '-interaction=nonstopmode')
env.append_value('PDFLATEXFLAGS', '-interaction=nonstopmode')
env.append_value('XELATEXFLAGS', '-interaction=nonstopmode')
# important, set the cwd for everybody
self.cwd = self.inputs[0].parent.get_bld()
@ -458,7 +458,7 @@ def apply_tex(self):
outs = Utils.to_list(getattr(self, 'outs', []))
# prompt for incomplete files (else the batchmode is used)
# prompt for incomplete files (else the nonstopmode is used)
try:
self.generator.bld.conf
except AttributeError: