Hi Michael, sorry for late response. >>>>> "Michael Hoffman" writes: > Unfortunately, if `TeX-LaTeX-Sentinel' doesn't find any other errors, it > looks for a version line, and if it doesn't find that, it reports > "problems after {(TeX-current-pages)}", and skips reporting warnings or > bad boxes. > My workaround is to insert the text "LaTeX Version" into the script > output to make `TeX-LaTeX-Sentinel' happy. But this is clunky. > It would be best if there were a way to customize the regular expression > that is searched for on successful run of a command. It might be > possible to get rid of this check altogether--it's might be that > checking for a version banner that occurs at the top protects doesn't > protect against many unexpected error conditions--but I assume it's > there for a reason. I think that the reason why `TeX-LaTeX-sentinel' searches for the version banner is to check whether there is a working TeX distribution at all. The importance of this check is low since `TeX-command' introduced similar check by `TeX-check-TeX'. To developers: How about removing this check by the attached patch (which may be a bit radaical change)? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW