Hello Ikumi, On 29/09/2025, Ikumi Keita wrote: > You are following the test codes in tests/japanese directory. Is that > really necessary? I wrote three tests `japanese-preview-shift-jis', > `japanese-preview-different-coding-system' and > `japanese-preview-preserve-kanji-option' to be skipped in batch mode > because their issues involve misplacement of the preview images and thus > require confirmation by human eyes.
That was what I tried first. Unfortunately, running in batch mode would require further investigations and changes. The first issue I ran into is that preview-cache-preamble -> preview-generate-preview -> preview-get-geometry -> preview-get-dpi fails in batch mode with an error: Wrong type argument: number-or-marker-p, nil because `frame-monitor-attributes` returns an alist with `mm-size` set to nil, when run in batch mode (but not in interactive mode). Most likely this geometry is not needed when caching the preamble, but some further modification would be required to handle this case. -- Al _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
