mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-22 01:09:28 +01:00
Switch to nonstopmode for latex prompts #2421
This commit is contained in:
parent
18192437a0
commit
266a75a4ef
@ -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}
|
||||
|
@ -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..
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user