Skip to content

Run :VimtexCompileOutput automatically in case no error is found in :cfile but the compilation fails #3150

@user202729

Description

@user202729

As in the title. There are a few cases where Compilation failure! is printed yet no error message is seen, some of them includes failure by external command (bibtex?) or corrupted format file (rare situation) or empty output etc.

I think automatically opening :VimtexCompileOutput or at least informing the user like

VimTeX: Compilation failure! (no error found, run :VimtexCompileOutput to see stdout of latexmk)

would be helpful in this case.


Example of empty output

\documentclass{article}
\begin{document}
\end{document}

⟹ log file contains

warning  (pdf backend): no pages of output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions