Hi Al,

> Can you try to send a reproduction recipe?
>
> I am not seeing this behaviour when I test on my setup or on "emacs -Q"
> with various settings and I don't quite understand how you could arrive
> to the strings that you listed, so I am missing something.

Sure.  I start Emacs like this:

--8<---------------cut here---------------start------------->8---
emacs -Q \
  -L ~/.emacs.d/elpaca/repos/auctex \
  --eval "(require 'tex-site)" \
  --eval "(setopt preview-visibility-style 'always preview-keep-stale-images t)"
--8<---------------cut here---------------end--------------->8---

I then navigate to a tex file, like this:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\begin{document}

$x - y$

\end{document}
--8<---------------cut here---------------end--------------->8---

I do C-c C-p C-b, navigate inside the tex source, and modify it in any
way; this produces an 'x' like in my previous email.

The bug doesn't show up in any of your previous patches and goes away if
I evaluate preview.el from the main branch, for instance.

I've attached my "report bug" dumps for Emacs, AUCTeX and preview, in
case those are of any help.

Thanks, best,

Paul

In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
 appkit-2575.70 Version 15.6.1 (Build 24G90)) of 2025-11-15 built on
 d51735
Repository revision: 1af8af35681aaf91d8875ff6cc6261dba4f7871d
Repository branch: rmail-view-button
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.7.2

Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode track-changes
files-x vc-dispatcher preview tex-bar toolbar-x noutline outline
tex-mode shell pcomplete font-latex latex easy-mmode edmacro kmacro
latex-flymake flymake project byte-opt gv bytecomp byte-compile compile
text-property-search comint ansi-osc ansi-color ring warnings thingatpt
tex-ispell tex-style tex crm texmathp auctex latexenc time-date subr-x
cus-edit pp cus-start cus-load icons wid-edit cl-loaddefs cl-lib
auctex-autoloads tex-site rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process tty-child-frames emacs)

Memory information:
((conses 16 185963 11822) (symbols 48 25944 0) (strings 32 66252 2227)
 (string-bytes 1 1235735) (vectors 16 22165)
 (vector-slots 8 212046 8362) (floats 8 86 58) (intervals 56 314 0)
 (buffers 1064 16))
Emacs  : GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS 
appkit-2575.70 Version 15.6.1 (Build 24G90))
 of 2025-11-15
Package: 14.1.0

current state:
==============
(setq
 window-system 'ns
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex/"
                  "/Users/au710211/.emacs.d/elpaca/repos/auctex/style"
                  "/Users/au710211/.emacs.d/auctex/auto"
                  "/Users/au710211/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
 TeX-command-list '(("TeX"
                     "%(PDF)%(tex) %(file-line-error) %`%(extraopts) 
%S%(PDFout)%(mode)%' %(output-dir) %t"
                     TeX-run-TeX nil (plain-TeX-mode AmSTeX-mode Texinfo-mode)
                     :help "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil
                     (LaTeX-mode docTeX-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %(extraopts) %(o-dir) %t"
                     TeX-run-compile nil (Texinfo-mode) :help
                     "Run Makeinfo with Info output")
                    ("Makeinfo HTML"
                     "makeinfo %(extraopts) %(o-dir) --html %t"
                     TeX-run-compile nil (Texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX"
                     "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) 
%t"
                     TeX-run-TeX nil (AmSTeX-mode) :help "Run AMSTeX")
                    ("ConTeXt" "%(cntxcom) --once %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (ConTeXt-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (ConTeXt-mode) :help
                     "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %(O?aux)" TeX-run-BibTeX nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode ConTeXt-mode)
                     :help "Run BibTeX")
                    ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Run Biber")
                    ("Texindex" "texindex %s.??" TeX-run-command nil
                     (Texinfo-mode) :help "Run Texindex")
                    ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command nil
                     (Texinfo-mode) :help "Run Texi2dvi or Texi2pdf")
                    ("View" "%V" TeX-run-discard-or-function t t :help
                     "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Convert DVI file to PostScript")
                    ("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d" TeX-run-dvipdfmx nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Convert DVI file to PDF with dvipdfmx")
                    ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Convert PostScript file to PDF")
                    ("LaTeXMk"
                     "latexmk %(latexmk-out) %(file-line-error) %(output-dir) 
%`%(extraopts) %S%(mode)%' %t"
                     TeX-run-TeX nil (LaTeX-mode docTeX-mode) :help
                     "Run LaTeXMk")
                    ("Glossaries" "makeglossaries %(d-dir) %s" TeX-run-command
                     nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Run makeglossaries to create glossary file")
                    ("Index" "makeindex %(O?idx)" TeX-run-index nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Run makeindex to create index file")
                    ("upMendex" "upmendex %(O?idx)" TeX-run-index t
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil
                     (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode
                      Texinfo-mode)
                     :help "Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (LaTeX-mode)
                     :help "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (LaTeX-mode)
                     :help "Check LaTeX file for common mistakes")
                    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
                     t :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help
                     "Run an arbitrary command")
                    )
 )
Emacs  : GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS 
appkit-2575.70 Version 15.6.1 (Build 24G90))
 of 2025-11-15
Package: 14.1.0

Run buffer contents:

Running `Preview-LaTeX' on `test2' with ``pdflatex -ini  
--output-directory="build/" -interaction=nonstopmode "&pdflatex" 
build/prv_test2.ini   
"\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}"
 "\input" "\detokenize{" test2.tex "}"''
This is pdfTeX, Version 3.141592653-2.6-1.40.27 (TeX Live 2025) (INITEX)
 restricted \write18 enabled.
entering extended mode
(./build/prv_test2.ini
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
(/usr/local/texlive/2025/texmf-dist/tex/latex/mylatex/mylatex.ltx)) 
(/usr/local/texlive/2025/texmf-dist/tex/latex/tools/.tex File ignored)
No auxiliary output files.

(./test2.tex (/usr/local/texlive/2025/texmf-dist/tex/latex/base/article.cls
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
(/usr/local/texlive/2025/texmf-dist/tex/latex/base/size10.clo)) )
Beginning to dump on file build//prv_test2.fmt
 (preloaded format=prv_test2 2025.12.8)
27088 strings of total length 537926
391281 memory locations dumped; current usage is 287&386713
23603 multiletter control sequences
\font\nullfont=nullfont
\font\c__fp_exp_intarray=cmr10 at 0.00002pt
\font\c__fp_trig_intarray=cmr10 at 0.00003pt
\font\c_initex_cctab=cmr10 at 0.00005pt
\font\c_other_cctab=cmr10 at 0.00006pt
\font\c_str_cctab=cmr10 at 0.00008pt
\font\g_tmpa_cctab=cmr10 at 0.00009pt
\font\g_tmpb_cctab=cmr10 at 0.0001pt
\font\g__regex_state_active_intarray=cmr10 at 0.00012pt
\font\g__regex_thread_info_intarray=cmr10 at 0.00014pt
\font\g__regex_submatch_prev_intarray=cmr10 at 0.00015pt
\font\g__regex_submatch_begin_intarray=cmr10 at 0.00017pt
\font\g__regex_submatch_end_intarray=cmr10 at 0.00018pt
\font\g__regex_submatch_case_intarray=cmr10 at 0.0002pt
\font\g__regex_balance_intarray=cmr10 at 0.00021pt
\font\g__codepoint_category_index_intarray=cmr10 at 0.00023pt
\font\g__codepoint_uppercase_index_intarray=cmr10 at 0.00024pt
\font\g__codepoint_lowercase_index_intarray=cmr10 at 0.00026pt
\font\g__codepoint_category_blocks_intarray=cmr10 at 0.00027pt
\font\g__codepoint_uppercase_blocks_intarray=cmr10 at 0.00029pt
\font\g__codepoint_lowercase_blocks_intarray=cmr10 at 0.0003pt
\font\OMX/cmex/m/n/5=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m...

[...]

        ... indirect objects
No pages of output.
Transcript written on build//prv_test2.log.

TeX Output finished at Mon Dec  8 16:49:59
Running `Preview-LaTeX' on `~/scratch/tex/build/_region_' with ``pdflatex  
--output-directory="build/" -interaction=nonstopmode -file-line-error 
\&build/prv_test2 "/AUCTEXINPUT{" _region_.tex "}"''
This is pdfTeX, Version 3.141592653-2.6-1.40.27 (TeX Live 2025) (preloaded 
format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
CUSTOMISED FORMAT. Preloaded files:
        .
 article.cls    2024/06/29 v1.4n Standard LaTeX document class
  size10.clo    2024/06/29 v1.4n Standard LaTeX file (size option)
        .
(build//_region_.tex 
(/usr/local/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file _region_.aux.
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
 appkit-2575.70 Version 15.6.1 (Build 24G90)) of 2025-11-15 built on
 d51735
Repository revision: 1af8af35681aaf91d8875ff6cc6261dba4f7871d
Repository branch: rmail-view-button
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.7.2

Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode track-changes
files-x vc-dispatcher preview tex-bar toolbar-x noutline outline
tex-mode shell pcomplete font-latex latex easy-mmode edmacro kmacro
latex-flymake flymake project byte-opt gv bytecomp byte-compile compile
text-property-search comint ansi-osc ansi-color ring warnings thingatpt
tex-ispell tex-style tex crm texmathp auctex latexenc time-date subr-x
cus-edit pp cus-start cus-load icons wid-edit cl-loaddefs cl-lib
auctex-autoloads tex-site rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process tty-child-frames emacs)

Memory information:
((conses 16 185963 11822) (symbols 48 25944 0) (strings 32 66252 2227)
 (string-bytes 1 1235735) (vectors 16 22165)
 (vector-slots 8 212046 8362) (floats 8 86 58) (intervals 56 314 0)
 (buffers 1064 16))
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
 appkit-2575.70 Version 15.6.1 (Build 24G90)) of 2025-11-15 built on
 d51735
Repository revision: 1af8af35681aaf91d8875ff6cc6261dba4f7871d
Repository branch: rmail-view-button
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.7.2

Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode track-changes
files-x vc-dispatcher preview tex-bar toolbar-x noutline outline
tex-mode shell pcomplete font-latex latex easy-mmode edmacro kmacro
latex-flymake flymake project byte-opt gv bytecomp byte-compile compile
text-property-search comint ansi-osc ansi-color ring warnings thingatpt
tex-ispell tex-style tex crm texmathp auctex latexenc time-date subr-x
cus-edit pp cus-start cus-load icons wid-edit cl-loaddefs cl-lib
auctex-autoloads tex-site rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process tty-child-frames emacs)

Memory information:
((conses 16 185963 11822) (symbols 48 25944 0) (strings 32 66252 2227)
 (string-bytes 1 1235735) (vectors 16 22165)
 (vector-slots 8 212046 8362) (floats 8 86 58) (intervals 56 314 0)
 (buffers 1064 16))
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/preview.sty 
(/usr/local/texlive/2025/texmf-dist/tex/generic/luatex85/luatex85.sty) 
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prtightpage.def) 
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prauctex.def
No auxiliary output files.


(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prauctex.cfg)) 
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prfootnotes.def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
)  !name(test2.tex) !offset(-3) 
build//_region_.tex:7: Preview: Snippet 1 started.
<-><->
      
l.7 $
     x + y$
Preview: Tightpage -32891 -32891 32891 32891
build//_region_.tex:7: Preview: Snippet 1 ended.(382293+127431x1520370).
<-><->
      
l.7 $x + y$
           
[1{/usr/local/texlive/2025/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )
(see the transcript file for additional 
information)</usr/local/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/local/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on build//_region_.pdf (1 page, 17265 bytes).
Transcript written on build//_region_.log.

TeX Output exited as expected with code 1 at Mon Dec  8 16:49:59
Running `Preview-PDF2DSC' with ``pdf2dsc build/_region_.pdf 
build/_region_.prv/tmpExnbfo/preview.dsc''

Preview-PDF2DSC finished at Mon Dec  8 16:50:00
Running `Preview-Ghostscript' with ``/Library/TeX/texbin/rungs 
-sOutputFile\=build/_region_.prv/tmpExnbfo/pr1-\%d.png -q -dDELAYSAFER 
-dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r153.109x153.361''

Preview-Ghostscript finished at Mon Dec  8 16:50:00

current state:
==============
(setq
 AUCTeX-version "14.1.0"
 LaTeX-command-style '((""
                        "%(PDF)%(latex) %(file-line-error) %(extraopts) 
%(output-dir) %S%(PDFout)")
                       )
 image-types '(heic svg webp png gif tiff jpeg xpm xbm pbm)
 preview-image-type 'png
 preview-image-creators '((dvi*
                           (open preview-gs-open preview-dvi*-process-setup)
                           (place preview-gs-place) (close preview-dvi*-close))
                          (png (open preview-gs-open) (place preview-gs-place)
                           (close preview-gs-close))
                          (jpeg (open preview-gs-open)
                           (place preview-gs-place) (close preview-gs-close))
                          (pnm (open preview-gs-open) (place preview-gs-place)
                           (close preview-gs-close))
                          (tiff (open preview-gs-open)
                           (place preview-gs-place) (close preview-gs-close))
                          )
 preview-dvi*-image-type 'png
 preview-dvi*-command "dvipng -picky -noghostscript %d -o %m/prev%%03d.png"
 preview-pdf2dsc-command "pdf2dsc %(O?pdf) %m/preview.dsc"
 preview-gs-command "/Library/TeX/texbin/rungs"
 preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS"
                      "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
 preview-gs-image-type-alist '((png png "-sDEVICE=png16m")
                               (dvi* png "-sDEVICE=png16m")
                               (jpeg jpeg "-sDEVICE=jpeg")
                               (pnm pbm "-sDEVICE=pnmraw")
                               (tiff tiff "-sDEVICE=tiff12nc"))
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
 preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
 preview-scale-function 'preview-scale-from-face
 preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"
                         ("," . preview-required-option-list)
                         
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" 
preview-default-preamble "\\fi}\"%' \"\\detokenize{\" %(t-filename-only) \"}\"")
 preview-required-option-list '("active" "tightpage" "auctex"
                                (preview-preserve-counters "counters"))
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath"
                               "sections" "footnotes")
 preview-default-preamble '("\\RequirePackage["
                            ("," . preview-default-option-list)
                            "]{preview}[2004/11/05]")
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[= ][^ 
]+\\)\\|\\(--?output-directory[= ][^ ]+\\)\\|-\\(?:[^ 
\\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" "\\1 -ini \\2 \\3 
-interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\4")
                             )
 preview-undump-replacements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[= ][^ 
]+\\)\\|\\(--?output-directory[= ][^ ]+\\)\\|-\\(?:[^ 
\\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"\\\\input\" \"\\\\detokenize{\" 
\\(.*\\) \"}\"\\'" "\\1 \\2 \\3 -interaction=nonstopmode -file-line-error " 
preview-format-name " \"/AUCTEXINPUT{\" \\4 \"}\"")
                               )
 preview-auto-cache-preamble 'ask
 preview-TeX-style-dir "/Users/au710211/.emacs.d/elpaca/repos/auctex/latex"
 )

Output from running `/Library/TeX/texbin/rungs -h':
GPL Ghostscript 10.05.1 (2025-04-29)
Copyright (C) 2025 Artifex Software, Inc.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: bbox
Available devices:
   alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
   atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
   bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
   bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
   cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax
   chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl declj250 deskjet
   devicen dfaxhigh dfaxlow display dj505j djet500 djet500c dl2100 dnj650c
   docxwrite epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900
   epl6100 epl6200 eplcolor eplmono eps2write eps9high eps9mid epson epsonc
   escp escpage faxg3 faxg32d faxg4 fmlbp fmpr fpng fs600 gdi hl1240 hl1250
   hl7x0 hocr hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c
   hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c
   hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus
   hpdjportable ibmpro ijs imagen inferno ink_cov inkcov itk24i itk38 iwhi
   iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75 la75plus
   laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700 lex7000 lips2p lips3
   lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray lj5mono ljet2p ljet3
   ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900 lp2000 lp2200
   lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100
   lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f lp8700 lp8800c
   lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300 lp9400 lp9500c
   lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lxm3200 lxm5700m m8510
   md1xMono md2k md50Eco md50Mono md5k mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8
   mgrmono miff24 mj500c mj6000c mj700v2c mj8000c ml600 necp6 npdl nullpage
   oce9050 ocr oki182 oki4w okiibm oprp opvp paintjet pam pamcmyk32 pamcmyk4
   pbm pbmraw pcl3 pclm pclm8 pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono
   pdfimage24 pdfimage32 pdfimage8 pdfocr24 pdfocr32 pdfocr8 pdfwrite
   pdfwrite pdfwrite pgm pgmraw pgnm pgnmraw photoex picty180 pj pjetxl pjxl
   pjxl300 pkm pkmraw pksm pksmraw plan plan9bm planc plang plank planm plib
   plibc plibg plibk plibm png16 png16m png16malpha png256 png48 pngalpha
   pnggray pngmono pngmonod pnm pnmraw ppm ppmraw pppm pr1000 pr1000_4 pr150
   pr201 ps2write psdcmyk psdcmyk16 psdcmykog psdcmyktags psdcmyktags16
   psdrgb psdrgb16 psdrgbtags pxlcolor pxlmono r4081 rinkj rpdl samsunggdi
   sj48 spotcmyk st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc
   tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4
   tiffgray tifflzw tiffpack tiffscaled tiffscaled24 tiffscaled32
   tiffscaled4 tiffscaled8 tiffsep tiffsep1 txtwrite uniprint urfcmyk
   urfgray urfrgb xcf xes xpswrite
Search path:
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/Resource/Init :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/lib :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/Resource/Font :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/fonts :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/fonts/default/ghostscript :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/fonts/default/Type1 :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/fonts/default/TrueType :
   /usr/lib/DPS/outline/base : /usr/openwin/lib/X11/fonts/Type1 :
   /usr/openwin/lib/X11/fonts/TrueType
Ghostscript is also using fontconfig to search for font files
For more information, see 
https://ghostscript.readthedocs.io/en/gs10.05.1/Use.html
Please report bugs to bugs.ghostscript.com.

Emacs  : GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS 
appkit-2575.70 Version 15.6.1 (Build 24G90))
 of 2025-11-15
Package: 14.1.0

Run buffer contents:

Running `Preview-LaTeX' on `test2' with ``pdflatex -ini  
--output-directory="build/" -interaction=nonstopmode "&pdflatex" 
build/prv_test2.ini   
"\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}"
 "\input" "\detokenize{" test2.tex "}"''
This is pdfTeX, Version 3.141592653-2.6-1.40.27 (TeX Live 2025) (INITEX)
 restricted \write18 enabled.
entering extended mode
(./build/prv_test2.ini
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
(/usr/local/texlive/2025/texmf-dist/tex/latex/mylatex/mylatex.ltx)) 
(/usr/local/texlive/2025/texmf-dist/tex/latex/tools/.tex File ignored)
No auxiliary output files.

(./test2.tex (/usr/local/texlive/2025/texmf-dist/tex/latex/base/article.cls
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
(/usr/local/texlive/2025/texmf-dist/tex/latex/base/size10.clo)) )
Beginning to dump on file build//prv_test2.fmt
 (preloaded format=prv_test2 2025.12.8)
27088 strings of total length 537926
391281 memory locations dumped; current usage is 287&386713
23603 multiletter control sequences
\font\nullfont=nullfont
\font\c__fp_exp_intarray=cmr10 at 0.00002pt
\font\c__fp_trig_intarray=cmr10 at 0.00003pt
\font\c_initex_cctab=cmr10 at 0.00005pt
\font\c_other_cctab=cmr10 at 0.00006pt
\font\c_str_cctab=cmr10 at 0.00008pt
\font\g_tmpa_cctab=cmr10 at 0.00009pt
\font\g_tmpb_cctab=cmr10 at 0.0001pt
\font\g__regex_state_active_intarray=cmr10 at 0.00012pt
\font\g__regex_thread_info_intarray=cmr10 at 0.00014pt
\font\g__regex_submatch_prev_intarray=cmr10 at 0.00015pt
\font\g__regex_submatch_begin_intarray=cmr10 at 0.00017pt
\font\g__regex_submatch_end_intarray=cmr10 at 0.00018pt
\font\g__regex_submatch_case_intarray=cmr10 at 0.0002pt
\font\g__regex_balance_intarray=cmr10 at 0.00021pt
\font\g__codepoint_category_index_intarray=cmr10 at 0.00023pt
\font\g__codepoint_uppercase_index_intarray=cmr10 at 0.00024pt
\font\g__codepoint_lowercase_index_intarray=cmr10 at 0.00026pt
\font\g__codepoint_category_blocks_intarray=cmr10 at 0.00027pt
\font\g__codepoint_uppercase_blocks_intarray=cmr10 at 0.00029pt
\font\g__codepoint_lowercase_blocks_intarray=cmr10 at 0.0003pt
\font\OMX/cmex/m/n/5=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m...

[...]

        ... indirect objects
No pages of output.
Transcript written on build//prv_test2.log.

TeX Output finished at Mon Dec  8 16:49:59
Running `Preview-LaTeX' on `~/scratch/tex/build/_region_' with ``pdflatex  
--output-directory="build/" -interaction=nonstopmode -file-line-error 
\&build/prv_test2 "/AUCTEXINPUT{" _region_.tex "}"''
This is pdfTeX, Version 3.141592653-2.6-1.40.27 (TeX Live 2025) (preloaded 
format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2024-11-01> patch level 2
L3 programming layer <2025-01-18>
CUSTOMISED FORMAT. Preloaded files:
        .
 article.cls    2024/06/29 v1.4n Standard LaTeX document class
  size10.clo    2024/06/29 v1.4n Standard LaTeX file (size option)
        .
(build//_region_.tex 
(/usr/local/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file _region_.aux.
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
 appkit-2575.70 Version 15.6.1 (Build 24G90)) of 2025-11-15 built on
 d51735
Repository revision: 1af8af35681aaf91d8875ff6cc6261dba4f7871d
Repository branch: rmail-view-button
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.7.2

Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode track-changes
files-x vc-dispatcher preview tex-bar toolbar-x noutline outline
tex-mode shell pcomplete font-latex latex easy-mmode edmacro kmacro
latex-flymake flymake project byte-opt gv bytecomp byte-compile compile
text-property-search comint ansi-osc ansi-color ring warnings thingatpt
tex-ispell tex-style tex crm texmathp auctex latexenc time-date subr-x
cus-edit pp cus-start cus-load icons wid-edit cl-loaddefs cl-lib
auctex-autoloads tex-site rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process tty-child-frames emacs)

Memory information:
((conses 16 185963 11822) (symbols 48 25944 0) (strings 32 66252 2227)
 (string-bytes 1 1235735) (vectors 16 22165)
 (vector-slots 8 212046 8362) (floats 8 86 58) (intervals 56 314 0)
 (buffers 1064 16))
In GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.6.0, NS
 appkit-2575.70 Version 15.6.1 (Build 24G90)) of 2025-11-15 built on
 d51735
Repository revision: 1af8af35681aaf91d8875ff6cc6261dba4f7871d
Repository branch: rmail-view-button
Windowing system distributor 'Apple', version 10.3.2575
System Description:  macOS 15.7.2

Configured features:
ACL DBUS GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
  TeX-PDF-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode track-changes
files-x vc-dispatcher preview tex-bar toolbar-x noutline outline
tex-mode shell pcomplete font-latex latex easy-mmode edmacro kmacro
latex-flymake flymake project byte-opt gv bytecomp byte-compile compile
text-property-search comint ansi-osc ansi-color ring warnings thingatpt
tex-ispell tex-style tex crm texmathp auctex latexenc time-date subr-x
cus-edit pp cus-start cus-load icons wid-edit cl-loaddefs cl-lib
auctex-autoloads tex-site rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process tty-child-frames emacs)

Memory information:
((conses 16 185963 11822) (symbols 48 25944 0) (strings 32 66252 2227)
 (string-bytes 1 1235735) (vectors 16 22165)
 (vector-slots 8 212046 8362) (floats 8 86 58) (intervals 56 314 0)
 (buffers 1064 16))
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/preview.sty 
(/usr/local/texlive/2025/texmf-dist/tex/generic/luatex85/luatex85.sty) 
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prtightpage.def) 
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prauctex.def
No auxiliary output files.


(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prauctex.cfg)) 
(/Users/au710211/.emacs.d/elpaca/repos/auctex/latex/prfootnotes.def)
Preview: Fontsize 10pt
Preview: PDFoutput 1
)  !name(test2.tex) !offset(-3) 
build//_region_.tex:7: Preview: Snippet 1 started.
<-><->
      
l.7 $
     x + y$
Preview: Tightpage -32891 -32891 32891 32891
build//_region_.tex:7: Preview: Snippet 1 ended.(382293+127431x1520370).
<-><->
      
l.7 $x + y$
           
[1{/usr/local/texlive/2025/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] )
(see the transcript file for additional 
information)</usr/local/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/local/texlive/2025/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on build//_region_.pdf (1 page, 17265 bytes).
Transcript written on build//_region_.log.

TeX Output exited as expected with code 1 at Mon Dec  8 16:49:59
Running `Preview-PDF2DSC' with ``pdf2dsc build/_region_.pdf 
build/_region_.prv/tmpExnbfo/preview.dsc''

Preview-PDF2DSC finished at Mon Dec  8 16:50:00
Running `Preview-Ghostscript' with ``/Library/TeX/texbin/rungs 
-sOutputFile\=build/_region_.prv/tmpExnbfo/pr1-\%d.png -q -dDELAYSAFER 
-dNOPAUSE -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r153.109x153.361''

Preview-Ghostscript finished at Mon Dec  8 16:50:00

current state:
==============
(setq
 AUCTeX-version "14.1.0"
 LaTeX-command-style '((""
                        "%(PDF)%(latex) %(file-line-error) %(extraopts) 
%(output-dir) %S%(PDFout)")
                       )
 image-types '(heic svg webp png gif tiff jpeg xpm xbm pbm)
 preview-image-type 'png
 preview-image-creators '((dvi*
                           (open preview-gs-open preview-dvi*-process-setup)
                           (place preview-gs-place) (close preview-dvi*-close))
                          (png (open preview-gs-open) (place preview-gs-place)
                           (close preview-gs-close))
                          (jpeg (open preview-gs-open)
                           (place preview-gs-place) (close preview-gs-close))
                          (pnm (open preview-gs-open) (place preview-gs-place)
                           (close preview-gs-close))
                          (tiff (open preview-gs-open)
                           (place preview-gs-place) (close preview-gs-close))
                          )
 preview-dvi*-image-type 'png
 preview-dvi*-command "dvipng -picky -noghostscript %d -o %m/prev%%03d.png"
 preview-pdf2dsc-command "pdf2dsc %(O?pdf) %m/preview.dsc"
 preview-gs-command "/Library/TeX/texbin/rungs"
 preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS"
                      "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4")
 preview-gs-image-type-alist '((png png "-sDEVICE=png16m")
                               (dvi* png "-sDEVICE=png16m")
                               (jpeg jpeg "-sDEVICE=jpeg")
                               (pnm pbm "-sDEVICE=pnmraw")
                               (tiff tiff "-sDEVICE=tiff12nc"))
 preview-fast-conversion t
 preview-prefer-TeX-bb nil
 preview-dvips-command "dvips -Pwww -i -E %d -o %m/preview.000"
 preview-fast-dvips-command "dvips -Pwww %d -o %m/preview.ps"
 preview-scale-function 'preview-scale-from-face
 preview-LaTeX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"
                         ("," . preview-required-option-list)
                         
"}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" 
preview-default-preamble "\\fi}\"%' \"\\detokenize{\" %(t-filename-only) \"}\"")
 preview-required-option-list '("active" "tightpage" "auctex"
                                (preview-preserve-counters "counters"))
 preview-preserve-counters nil
 preview-default-option-list '("displaymath" "floats" "graphics" "textmath"
                               "sections" "footnotes")
 preview-default-preamble '("\\RequirePackage["
                            ("," . preview-default-option-list)
                            "]{preview}[2004/11/05]")
 preview-LaTeX-command-replacements nil
 preview-dump-replacements '(preview-LaTeX-command-replacements
                             ("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[= ][^ 
]+\\)\\|\\(--?output-directory[= ][^ ]+\\)\\|-\\(?:[^ 
\\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" "\\1 -ini \\2 \\3 
-interaction=nonstopmode \"&\\1\" " preview-format-name ".ini \\4")
                             )
 preview-undump-replacements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[= ][^ 
]+\\)\\|\\(--?output-directory[= ][^ ]+\\)\\|-\\(?:[^ 
\\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"\\\\input\" \"\\\\detokenize{\" 
\\(.*\\) \"}\"\\'" "\\1 \\2 \\3 -interaction=nonstopmode -file-line-error " 
preview-format-name " \"/AUCTEXINPUT{\" \\4 \"}\"")
                               )
 preview-auto-cache-preamble 'ask
 preview-TeX-style-dir "/Users/au710211/.emacs.d/elpaca/repos/auctex/latex"
 )

Output from running `/Library/TeX/texbin/rungs -h':
GPL Ghostscript 10.05.1 (2025-04-29)
Copyright (C) 2025 Artifex Software, Inc.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: bbox
Available devices:
   alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
   atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
   bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
   bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
   cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cdnj500 cfax
   chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl declj250 deskjet
   devicen dfaxhigh dfaxlow display dj505j djet500 djet500c dl2100 dnj650c
   docxwrite epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900
   epl6100 epl6200 eplcolor eplmono eps2write eps9high eps9mid epson epsonc
   escp escpage faxg3 faxg32d faxg4 fmlbp fmpr fpng fs600 gdi hl1240 hl1250
   hl7x0 hocr hpdj1120c hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c
   hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c hpdj670c
   hpdj680c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus
   hpdjportable ibmpro ijs imagen inferno ink_cov inkcov itk24i itk38 iwhi
   iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75 la75plus
   laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700 lex7000 lips2p lips3
   lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray lj5mono ljet2p ljet3
   ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900 lp2000 lp2200
   lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100
   lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f lp8700 lp8800c
   lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300 lp9400 lp9500c
   lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lxm3200 lxm5700m m8510
   md1xMono md2k md50Eco md50Mono md5k mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8
   mgrmono miff24 mj500c mj6000c mj700v2c mj8000c ml600 necp6 npdl nullpage
   oce9050 ocr oki182 oki4w okiibm oprp opvp paintjet pam pamcmyk32 pamcmyk4
   pbm pbmraw pcl3 pclm pclm8 pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono
   pdfimage24 pdfimage32 pdfimage8 pdfocr24 pdfocr32 pdfocr8 pdfwrite
   pdfwrite pdfwrite pgm pgmraw pgnm pgnmraw photoex picty180 pj pjetxl pjxl
   pjxl300 pkm pkmraw pksm pksmraw plan plan9bm planc plang plank planm plib
   plibc plibg plibk plibm png16 png16m png16malpha png256 png48 pngalpha
   pnggray pngmono pngmonod pnm pnmraw ppm ppmraw pppm pr1000 pr1000_4 pr150
   pr201 ps2write psdcmyk psdcmyk16 psdcmykog psdcmyktags psdcmyktags16
   psdrgb psdrgb16 psdrgbtags pxlcolor pxlmono r4081 rinkj rpdl samsunggdi
   sj48 spotcmyk st800 stcolor t4693d2 t4693d4 t4693d8 tek4696 tiff12nc
   tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffg3 tiffg32d tiffg4
   tiffgray tifflzw tiffpack tiffscaled tiffscaled24 tiffscaled32
   tiffscaled4 tiffscaled8 tiffsep tiffsep1 txtwrite uniprint urfcmyk
   urfgray urfrgb xcf xes xpswrite
Search path:
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/Resource/Init :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/lib :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/Resource/Font :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/ghostscript/fonts :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/fonts/default/ghostscript :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/fonts/default/Type1 :
   /opt/homebrew/Cellar/ghostscript/10.05.1/share/fonts/default/TrueType :
   /usr/lib/DPS/outline/base : /usr/openwin/lib/X11/fonts/Type1 :
   /usr/openwin/lib/X11/fonts/TrueType
Ghostscript is also using fontconfig to search for font files
For more information, see 
https://ghostscript.readthedocs.io/en/gs10.05.1/Use.html
Please report bugs to bugs.ghostscript.com.

_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to