From 70435c4bd8035e6677aae4f654bbdf4e92265bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lua=20=F0=9F=8C=92?= Date: Fri, 13 Jun 2025 11:34:22 -0300 Subject: [PATCH] support latexmk version 4.86 (#1410) Unfortunately, version 4.86 changed the string for -dir-report-only again, breaking the parser. --- crates/parser/src/latexmkrc.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/parser/src/latexmkrc.rs b/crates/parser/src/latexmkrc.rs index 58c348d0..29cc3c32 100644 --- a/crates/parser/src/latexmkrc.rs +++ b/crates/parser/src/latexmkrc.rs @@ -104,7 +104,10 @@ mod v484 { /// '$aux_dir', '$out_dir', [...] fn extract_dirs(lines: Lines) -> Option<(String, String)> { let mut it = lines - .skip_while(|line| !line.starts_with("Latexmk: Normalized aux dir and out dirs:")) + .skip_while(|line| { + !(line.starts_with("Latexmk: Normalized aux dir and out dirs:") + || line.starts_with("Latexmk: Normalized aux dir, out dir, out2 dir:")) + }) .nth(1)? .split(',');