Arash Esbati <[email protected]> writes:
> I think we're not done yet. The file sent by Domenico runs lualatex and
> not pdflatex. When running lualatex on the file in a shell like this:
>
> lualatex --jobname=longtable-bug -file-line-error \
> -interaction=nonstopmode longtable-bug.tex
>
> It emits
>
> ./longtable-bug.tex:117: Infinite glue shrinkage found in box being split
>
> So the 'ignored error' part is missing.
>
> pdflatex --jobname=longtable-bug -file-line-error \
> -interaction=nonstopmode longtable-bug.tex
>
> ./longtable-bug.tex:117: ignored error: Infinite glue shrinkage found in
> box being split
Domenico, can you please install the patch below on top your current
AUCTeX installation, byte-compile the file, restart Emacs and see if it
works? I did some brief testing and it seems to work.
--8<---------------cut here---------------start------------->8---
diff --git a/tex.el b/tex.el
index c81f9554..c46f2594 100644
--- a/tex.el
+++ b/tex.el
@@ -8618,7 +8618,11 @@ Return nil only if no errors were found."
(if process (TeX-format-mode-line process))
(if (catch 'found
(while (and (re-search-forward "^\\(?:!\\|\\(.+?\\):[0-9]+:\\) " nil t)
- (not (looking-at-p "ignored error: ")))
+ (not (looking-at-p
+ (mapconcat #'identity
+ '("ignored error: "
+ "Infinite glue shrinkage found in box
being split")
+ "\\|"))))
(if (or (not (match-beginning 1))
;; Ignore non-error warning. (bug#55065)
(file-exists-p (TeX-match-buffer 1)))
@@ -8642,10 +8646,10 @@ Return nil only if no errors were found."
;; bug#55065, restore point to the initial position.
(goto-char (point-min))
(let (dvi2pdf)
- (if (with-current-buffer TeX-command-buffer
- (and TeX-PDF-mode (setq dvi2pdf (TeX-PDF-from-DVI))))
- (setq TeX-command-next dvi2pdf)
- (setq TeX-command-next TeX-command-Show)))
+ (if (with-current-buffer TeX-command-buffer
+ (and TeX-PDF-mode (setq dvi2pdf (TeX-PDF-from-DVI))))
+ (setq TeX-command-next dvi2pdf)
+ (setq TeX-command-next TeX-command-Show)))
nil))
;; This regexp should catch warnings of the type
--8<---------------cut here---------------end--------------->8---
TIA. Best, Arash
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex