Print DVI dictionary warnings on their own TeX lines
This commit is contained in:
1 parent
1822ab2d32
commit
3ed2c2cd54
3 files changed
+75
-2
No files matched your search
@@ -156,8 +156,11 @@ impl Executor {
|
||||
let text = format!(
|
||||
"pdfTeX warning (\\{command}): not allowed in DVI mode (\\pdfoutput <= 0); ignoring it"
|
||||
);
|
||||
let destination = WriteDestination::TerminalAndLog;
|
||||
files
|
||||
.observe_message(&text)
|
||||
.observe_raw_diagnostic(destination, "\n")
|
||||
.and_then(|_| files.observe_inline_diagnostic(destination, &text))
|
||||
.and_then(|_| files.observe_raw_diagnostic(destination, "\n"))
|
||||
.map_err(|error| self.error(error, self.current))?;
|
||||
self.events.push(Event::Message {
|
||||
text,
|
||||
|
||||
Reference in new issue
Block a user