feat(latex): summarize latexmk failures #98
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/preview.nvim!98
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/latexmk-failure-summary"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Latexmk failures often end in boilerplate or cascading
Emergency stop.lines, so preview.nvim's built-in LaTeX preset can surface a misleading failure notification. The preset also lacked fixture-backed coverage for the real failure shapes audited in #88.Solution
Add a
latexpresetfailure_summarythat walksresult.outputin order, returns the first non-==>file:line:or!error, and otherwise falls back to the compiler's generic message. Add fixture-backed and adversarial preset tests covering success, boilerplate-only logs, missing packages, noisy cascades, emergency-stop fallback, and paths with spaces.