From unknown Thu Sep 11 02:37:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#79332 <79332@debbugs.gnu.org> To: bug#79332 <79332@debbugs.gnu.org> Subject: Status: 14.1.0; Running 'preview-Latex' with ```pdfxelatex``` Reply-To: bug#79332 <79332@debbugs.gnu.org> Date: Thu, 11 Sep 2025 09:37:37 +0000 retitle 79332 14.1.0; Running 'preview-Latex' with ```pdfxelatex``` reassign 79332 auctex submitter 79332 =E8=B6=8A=E5=8D=83=E4=BB=9E severity 79332 normal tag 79332 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 28 14:21:25 2025 Received: (at submit) by debbugs.gnu.org; 28 Aug 2025 18:21:25 +0000 Received: from localhost ([127.0.0.1]:39935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1urhFN-0001Ap-SY for submit@debbugs.gnu.org; Thu, 28 Aug 2025 14:21:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55330) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1urg4w-00072N-FM for submit@debbugs.gnu.org; Thu, 28 Aug 2025 13:06:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1urg4l-00005e-4Q for bug-auctex@gnu.org; Thu, 28 Aug 2025 13:06:15 -0400 Received: from mail-vs1-xe42.google.com ([2607:f8b0:4864:20::e42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1urg4g-0005aD-FJ for bug-auctex@gnu.org; Thu, 28 Aug 2025 13:06:13 -0400 Received: by mail-vs1-xe42.google.com with SMTP id ada2fe7eead31-523264ecab8so410124137.2 for ; Thu, 28 Aug 2025 10:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756400768; x=1757005568; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=g7WbPyPoYH+G601cBy5mZNHarnUuH2k5YZw0EzjFZ64=; b=FbPJoqPxW9Y3ifujrmfzjdVfUEXCQzM4uyXBPc613doMxIFFMLwgI0xAcYQW+8MP1M zrjzQlfibiuBz2loQtqYmxl/6wRGT0HUQQFfJcAwb8i8jrJUbUuKzvsijwIZwpGpdYYx GuOGkF/nLB7FY8DNp6XErnmN53CMiYbTf0INwgiUzsgO9u9vRouG36LlwfQq71h0LSqU AWoJdYvuYsAXb+2UjRIEz+mp1aLsAP+ffbfEOtdyWANe/LMiC9NF7UqEjgabHvOOWVyp XumWYru3gopP5xsyfgPFueSn1Tkb2jlb40EvWwlVItXq+6TZcNVzBYKDH6/egxp/7XtN rOIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756400768; x=1757005568; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g7WbPyPoYH+G601cBy5mZNHarnUuH2k5YZw0EzjFZ64=; b=qRPfgtEh0JWlhGvUgrMU5HfIonwHY8UctZVcdoPfRKGUBhjzM68oyHpmu3bLiaTDML nTVFmp/YhGrZLBtPDA2bbWiwYXRqDv3LRBY2MCrGlL1o1jjYeoG7cmfFfDcLBI8UiXI8 2sIpiVz9zfODTA3TnGPEwNsF/Ic5U8FVohJy/3Gx7+Y53jENbm/6163JqdVsbVtQQegK rqkmyh3oTLkQdYGikyWxAq+9R0xI7/72jYpVE2meiXOqxpMuWLvKzj5sspDqLG9y3K/y Hu3vQLfKJi/Aw8dI2ln0Cvh+PH46BgY2+TLI03raX/6O9B3MVUFFlbsVffB+syFCuaa6 ztVw== X-Gm-Message-State: AOJu0YxStnCx6J7fNATxRlt6EoPfk4PJZNgPpNuY5wC87jqFU5IMCWGT gGs8SdDgDMCEXdmTfHrnz9mHoLLLCxQTfABpAImfDkQH0s+EPvLf3EIVMdSW958IUHRjhXe/V9B H41B5EkwUlUYeqE+Bz7gCSqiPUIWFdNJ6iFEAFMGlxVvblKs= X-Gm-Gg: ASbGncugoicN8/fGi9oinz1u6vJs7yM5dZBGgWnDqe6SQOywIOveID+Dntb96Jozr1J 3IGG9itfu6bHOSr28wF5uaGvMO1O8trVHQ/U4HXt+RTJpJDgXjKmEVMdV9bKHx9KaxqdJ3Qx1/c x4hvYp9bDunUt8GZyeS/b1QMmjNjJJCPlx+aSzh+4xXXP/0LwyFWty3i7NUJk/eCVqj7G7uH+14 gDI0dATFgS+giqZwQ== X-Google-Smtp-Source: AGHT+IHoWQ7Kqyxymv8OirVRXAC34dOM3okQvj8dEvo/avYM2ORm9887jephgq/26z5H9mB1ajCIzsPefM60J+GZHZs= X-Received: by 2002:a05:6102:512a:b0:4e2:a235:2483 with SMTP id ada2fe7eead31-51d0ecbff44mr6851061137.19.1756400767593; Thu, 28 Aug 2025 10:06:07 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?6LaK5Y2D5Lue?= Date: Fri, 29 Aug 2025 01:05:56 +0800 X-Gm-Features: Ac12FXxC1OacVT4WUyGIjcQ3ypMQLgAYD7b89AF0_fD-otqXgW9uWjQkxLE0j9A Message-ID: Subject: 14.1.0; Running 'preview-Latex' with ```pdfxelatex``` To: bug-auctex@gnu.org Content-Type: multipart/alternative; boundary="000000000000d5f32f063d6feba4" Received-SPF: pass client-ip=2607:f8b0:4864:20::e42; envelope-from=yueqrgg@gmail.com; helo=mail-vs1-xe42.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 28 Aug 2025 14:21:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --000000000000d5f32f063d6feba4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Auctex works well while compiling with `C-c, C-c', but try to use 'pdfxelatex' in preview process. I guess this may due to my config with tex-mode, and Gemini could not make it works well. May I get some help? THX! And my init_latex.el is as fellow: ;;;---*---Code:UTF8---*--- (use-package cdlatex :after tex :straight (:host github :repo "cdominik/cdlatex" ) ) (use-package tex :straight auctex :hook( (LaTeX-mode . cdlatex-mode) (LaTeX-mode . reftex-mode) (LaTeX-mode . outline-minor-mode) (LaTeX-mode . TeX-fold-mode) (LaTeX-mode . yas-minor-mode) (LaTeX-mode . TeX-source-correlate-mode) ) :config (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master) (setq TeX-engine 'xetex) (setq TeX-PDF-mode t) (setq TeX-source-correlate-mode t) (setq TeX-source-correlate-method 'synctex) (setq TeX-debug-commands t) (eval-after-load "tex" '(progn (add-to-list 'TeX-command-list '("XeLaTeX" "xelatex -synctex=3D1 -shell-escape %t" TeX-run-command t t :help "Run XeLaTeX") t))) ;; =E8=AE=BE=E7=BD=AE XeLaTeX =E7=BC=96=E8=AF=91=E5=91=BD=E4=BB=A4 (setq LaTeX-command "xelatex -synctex=3D1 -shell-escape") ;; =E6=88=96=E8=80=85=E6=9B=B4=E7=BB=86=E8=87=B4=E5=9C=B0=EF=BC=8C=E4=B8= =BAPDF=E8=BE=93=E5=87=BA=E7=9A=84=E9=A2=84=E8=A7=88=E6=8C=87=E5=AE=9A (setq LaTeX-command-for-section-preview '("LaTeX")) ;; =E4=B8=BA AUCTeX =E7=9A=84=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E6=98= =BE=E5=BC=8F=E6=8C=87=E5=AE=9A=E7=BC=96=E8=AF=91=E5=91=BD=E4=BB=A4 (setq Preview-LaTeX-command "latex -synctex=3D1 -shell-escape") ;; =E5=BC=BA=E5=88=B6=E9=A2=84=E8=A7=88=E4=BD=BF=E7=94=A8 XeLaTeX =E6=96= =B9=E6=A1=88 (setq TeX-command-run-scheme '((_region_ . "XeLaTeX"))) ;; =E6=88=96=E8=80=85=E6=9B=B4=E9=80=9A=E7=94=A8=E7=9A=84=E8=AE=BE=E7=BD= =AE (=E4=BD=86=E5=8F=AF=E8=83=BD=E5=BD=B1=E5=93=8D=E5=85=B6=E4=BB=96=E6=A8= =A1=E5=BC=8F) (setq TeX-command-run-scheme '("XeLaTeX")) (setq TeX-output-extension "pdf") (setq TeX-view-program-selection '((output-pdf "Sioyek"))) :custom (LaTeX-preview-setup t) (preview-supports-image-type 'dvipng) (reftex-plug-into-AUCTeX t) ) (provide 'init_latex) ;;; init_latex.el ends here Emacs : GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.4) of 2025-08-14 Package: 14.1.0 Run buffer contents: Running `Preview-LaTeX' on `Modern c' with ``pdfxelatex -ini -interaction=3Dnonstopmode "&pdfxelatex" prv_Modern_c.ini "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{previe= w}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floa= ts,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "\detokenize{" \"Modern\ c.tex\" "}"'' /bin/sh: line 1: pdfxelatex: command not found TeX Output exited abnormally with code 127 at Fri Aug 29 00:48:03 Running `Preview-LaTeX' on `~/Documents/notes/computer/_region_' with ``pdfxelatex -synctex=3D1 -shell-escape -file-line-error --synctex=3D1 "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview= }\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,float= s,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "\detokenize{" _region_.tex "}"'' /bin/sh: line 1: pdfxelatex: command not found TeX Output exited as expected with code 127 at Fri Aug 29 00:48:03 LaTeX: LaTeX found no preview images current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq AUCTeX-version "14.1.0" LaTeX-command-style '(("" "%(PDF)%(latex) %(file-line-error) %(extraopts) %(output-dir) %S%(PDFout)") ) image-types '(svg webp png gif tiff jpeg xpm xbm pbm) preview-image-type 'png preview-image-creators '((dvipng (open preview-gs-open preview-dvipng-process-setup) (place preview-gs-place) (close preview-dvipng-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-dvipng-image-type 'png preview-dvipng-command "dvipng -picky -noghostscript %d -o %m/prev%%03d.png" preview-pdf2dsc-command "pdf2dsc %(O?pdf) %m/preview.dsc" preview-gs-command "/usr/bin/rungs" preview-gs-options '("-q" "-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=3D4" "-dGraphicsAlphaBits=3D4") preview-gs-image-type-alist '((png png "-sDEVICE=3Dpng16m") (dvipng png "-sDEVICE=3Dpng16m") (jpeg jpeg "-sDEVICE=3Djpeg") (pnm pbm "-sDEVICE=3Dpnmraw") (tiff tiff "-sDEVICE=3Dtiff12nc")) 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[=3D ][^ ]+\\)\\|\\(--?output-directory[=3D ][^ ]+\\)\\|-\\(?:[^ \\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" "\\1 -ini \\2 \\3 -interaction=3Dnonstopmode \"&\\1\" " preview-format-name ".ini \\4") ) preview-undump-replacements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--?kanji[=3D ][^ ]+\\)\\|\\(--?output-directory[=3D ][^ ]+\\)\\|-\\(?:[^ \\\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"\\\\input\" \"\\\\detokenize{\" \\(.*\\) \"}\"\\'" "\\1 \\2 \\3 -interaction=3Dnonstopmode -file-line-error= " preview-format-name " \"/AUCTEXINPUT{\" \\4 \"}\"") ) preview-auto-cache-preamble 'ask preview-TeX-style-dir "/home/moonsea/.emacs.d/straight/build/auctex/latex" ) Output from running `/usr/bin/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 =3D) -dNOPAUSE no pause after page | -q `quiet', fewer messages -gx page size in pixels | -r pixels/inch resolutio= n -sDEVICE=3D select device | -dBATCH exit after last fil= e -sOutputFile=3D select output file: - for stdout, |command for pipe, embed %d or %ld for page # Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF Default output device: x11alpha Available devices: alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp appleraster atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmon= o bmp16 bmp16m bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmon= o cdnj500 cfax chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskjet devicen dfaxhigh dfaxlow display dj505j djet500 djet500= c dl2100 dnj650c docxwrite epl2050 epl2050p epl2120 epl2500 epl2750 epl580= 0 epl5900 epl6100 epl6200 eplcolor eplmono eps2write eps9high eps9mid epso= n 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 ljet= 3 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 pamcmyk= 4 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 pjx= l pjxl300 pkm pkmraw pksm pksmraw plan plan9bm planc plang plank planm pli= b plibc plibg plibk plibm png16 png16m png16malpha png256 png48 pngalpha pnggray pngmono pngmonod pnm pnmraw ppm ppmraw pppm pr1000 pr1000_4 pr15= 0 pr201 ps2write psdcmyk psdcmyk16 psdcmykog psdcmyktags psdcmyktags16 psdrgb psdrgb16 psdrgbtags pwgraster 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 urf urfcmyk urfgray urfrgb x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono x11rg16x x11rg32x xcf xes xpswrite Search path: /usr/share/ghostscript/10.05.1/Resource/Init : /usr/share/ghostscript/10.05.1/lib : /usr/share/ghostscript/10.05.1/Resource/Font : /usr/share/ghostscript/fonts : /usr/share/fonts/urw-fonts : /usr/share/fonts/Type1 : /usr/share/fonts 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. --000000000000d5f32f063d6feba4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Auctex works well while compiling with `C-c, C-c'= , but try to use 'pdfxelatex' in preview process. I guess this may = due to my config with tex-mode, and Gemini could not make it works well.=C2= =A0 May=C2=A0 I get some help? THX!

And my init_la= tex.el is as fellow:
;;;---*---Code:UTF8---*---
(use-package c= dlatex
=C2=A0 :after tex
=C2=A0 :straight (:host github :repo "c= dominik/cdlatex" )
=C2=A0 )

(use-package tex
=C2=A0 :stra= ight
=C2=A0 auctex
=C2=A0 :hook(
=C2=A0 (LaTeX-mode . cdlatex-mode= )
=C2=A0 (LaTeX-mode . reftex-mode)
=C2=A0 (LaTeX-mode . outline-mino= r-mode)
=C2=A0 (LaTeX-mode . TeX-fold-mode)
=C2=A0 (LaTeX-mode . yas-= minor-mode)
=C2=A0 (LaTeX-mode . TeX-source-correlate-mode)
=C2=A0 )<= br>=C2=A0 :config
=C2=A0 (setq TeX-auto-save t)
=C2=A0 (setq TeX-pars= e-self t)
=C2=A0 (setq-default TeX-master)
=C2=A0 (setq TeX-engine &#= 39;xetex)
=C2=A0=C2=A0
=C2=A0 (setq TeX-PDF-mode t)
=C2=A0 (setq T= eX-source-correlate-mode t)
=C2=A0 (setq TeX-source-correlate-method = 9;synctex)
=C2=A0 (setq TeX-debug-commands t)

=C2=A0 (eval-after-= load "tex"
=C2=A0 =C2=A0 '(progn
=C2=A0 =C2=A0 =C2=A0 = =C2=A0(add-to-list 'TeX-command-list
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '("XeLaTeX" "xela= tex -synctex=3D1 -shell-escape %t" TeX-run-command t t :help "Run= XeLaTeX") t)))
=C2=A0 ;; =E8=AE=BE=E7=BD=AE XeLaTeX =E7=BC=96=E8= =AF=91=E5=91=BD=E4=BB=A4
=C2=A0 (setq LaTeX-command "xelatex -synct= ex=3D1 -shell-escape")
=C2=A0 ;; =E6=88=96=E8=80=85=E6=9B=B4=E7=BB= =86=E8=87=B4=E5=9C=B0=EF=BC=8C=E4=B8=BAPDF=E8=BE=93=E5=87=BA=E7=9A=84=E9=A2= =84=E8=A7=88=E6=8C=87=E5=AE=9A
=C2=A0 (setq LaTeX-command-for-section-pr= eview '("LaTeX"))
=C2=A0
=C2=A0 ;; =E4=B8=BA AUCTeX = =E7=9A=84=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E6=98=BE=E5=BC=8F=E6=8C=87=E5= =AE=9A=E7=BC=96=E8=AF=91=E5=91=BD=E4=BB=A4
=C2=A0 (setq Preview-LaTeX-co= mmand "latex -synctex=3D1 -shell-escape")
=C2=A0 ;; =E5=BC=BA= =E5=88=B6=E9=A2=84=E8=A7=88=E4=BD=BF=E7=94=A8 XeLaTeX =E6=96=B9=E6=A1=88=C2=A0 (setq TeX-command-run-scheme '((_region_ . "XeLaTeX")= ))
=C2=A0 ;; =E6=88=96=E8=80=85=E6=9B=B4=E9=80=9A=E7=94=A8=E7=9A=84=E8= =AE=BE=E7=BD=AE (=E4=BD=86=E5=8F=AF=E8=83=BD=E5=BD=B1=E5=93=8D=E5=85=B6=E4= =BB=96=E6=A8=A1=E5=BC=8F)
=C2=A0 (setq TeX-command-run-scheme '(&quo= t;XeLaTeX"))

=C2=A0 (setq TeX-output-extension "pdf")=
=C2=A0 (setq TeX-view-program-selection '((output-pdf "Sioyek&= quot;)))


=C2=A0 :custom
=C2=A0 (LaTeX-preview-setup t)
=C2= =A0 (preview-supports-image-type 'dvipng)
=C2=A0 (reftex-plug-into-A= UCTeX t)
)


(provide 'init_latex)
=C2=A0;;; init_latex.= el ends here

Emacs =C2=A0: GNU Emacs 30.2 (build 1, x86_64-pc-= linux-gnu, X toolkit, cairo version 1.18.4)
=C2=A0of 2025-08-14
Packa= ge: 14.1.0

Run buffer contents:

Running `Preview-LaTeX' o= n `Modern c' with ``pdfxelatex -ini =C2=A0 -interaction=3Dnonstopmode &= quot;&pdfxelatex" prv_Modern_c.ini =C2=A0"\nonstopmode\nofile= s\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\i= fx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,= sections,footnotes]{preview}[2004/11/05]\fi}" "\input" "= ;\detokenize{" \"Modern\ c.tex\" "}"''
= /bin/sh: line 1: pdfxelatex: command not found

TeX Output exited abn= ormally with code 127 at Fri Aug 29 00:48:03
Running `Preview-LaTeX'= on `~/Documents/notes/computer/_region_' with ``pdfxelatex -synctex=3D= 1 -shell-escape =C2=A0-file-line-error =C2=A0 --synctex=3D1 "\nonstopm= ode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginD= ocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics= ,textmath,sections,footnotes]{preview}[2004/11/05]\fi}" "\input&q= uot; "\detokenize{" _region_.tex "}"''
/bin/= sh: line 1: pdfxelatex: command not found

TeX Output exited as expec= ted with code 127 at Fri Aug 29 00:48:03
LaTeX: LaTeX found no preview i= mages


current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
(setq
=C2=A0AUCTeX-version "14.1.0"
=C2=A0LaTeX-comm= and-style '((""
"%(PDF)%(latex) %(file-line-error)= %(extraopts) %(output-dir) %S%(PDFout)")
=C2=A0 =C2=A0 =C2=A0 )=
=C2=A0image-types '(svg webp png gif tiff jpeg xpm xbm pbm)
=C2= =A0preview-image-type 'png
=C2=A0preview-image-creators '((dvipn= g
=C2=A0 (open preview-gs-open preview-dvipng-process-setup)
= =C2=A0 (place preview-gs-place) (close preview-dvipng-close))
=C2=A0= (png (open preview-gs-open) (place preview-gs-place)
=C2=A0 (close p= review-gs-close))
=C2=A0(jpeg (open preview-gs-open) (place preview-= gs-place)
=C2=A0 (close preview-gs-close))
=C2=A0(pnm (open p= review-gs-open) (place preview-gs-place)
=C2=A0 (close preview-gs-cl= ose))
=C2=A0(tiff (open preview-gs-open) (place preview-gs-place) =C2=A0 (close preview-gs-close))
=C2=A0)
=C2=A0preview-dvipn= g-image-type 'png
=C2=A0preview-dvipng-command "dvipng -picky -= noghostscript %d -o %m/prev%%03d.png"
=C2=A0preview-pdf2dsc-command= "pdf2dsc %(O?pdf) %m/preview.dsc"
=C2=A0preview-gs-command &q= uot;/usr/bin/rungs"
=C2=A0preview-gs-options '("-q" &= quot;-dDELAYSAFER" "-dNOPAUSE" "-DNOPLATFONTS" &qu= ot;-dPrinted"
=C2=A0 =C2=A0 =C2=A0"-dTextAlphaBits=3D4"= ; "-dGraphicsAlphaBits=3D4")
=C2=A0preview-gs-image-type-alist= '((png png "-sDEVICE=3Dpng16m")
=C2=A0 =C2=A0 =C2=A0 = (dvipng png "-sDEVICE=3Dpng16m")
=C2=A0 =C2=A0 =C2=A0 (jpe= g jpeg "-sDEVICE=3Djpeg")
=C2=A0 =C2=A0 =C2=A0 (pnm pbm &q= uot;-sDEVICE=3Dpnmraw")
=C2=A0 =C2=A0 =C2=A0 (tiff tiff "-= sDEVICE=3Dtiff12nc"))
=C2=A0preview-fast-conversion t
=C2=A0prev= iew-prefer-TeX-bb nil
=C2=A0preview-dvips-command "dvips -Pwww -i -= E %d -o %m/preview.000"
=C2=A0preview-fast-dvips-command "dvip= s -Pwww %d -o %m/preview.ps"
=C2= =A0preview-scale-function 'preview-scale-from-face
=C2=A0preview-LaT= eX-command '("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPac= kage{"
("," . preview-required-option-list)
&q= uot;}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"
pr= eview-default-preamble
"\\fi}\"%' \"\\detokenize{= \" %(t-filename-only) \"}\"")
=C2=A0preview-required= -option-list '("active" "tightpage" "auctex&qu= ot;
(preview-preserve-counters "counters"))
=C2=A0previ= ew-preserve-counters nil
=C2=A0preview-default-option-list '("d= isplaymath" "floats" "graphics" "textmath&quo= t;
=C2=A0 =C2=A0 =C2=A0 "sections" "footnotes")<= br>=C2=A0preview-default-preamble '("\\RequirePackage["
= =C2=A0 =C2=A0("," . preview-default-option-list)
=C2=A0 = =C2=A0"]{preview}[2004/11/05]")
=C2=A0preview-LaTeX-command-re= placements nil
=C2=A0preview-dump-replacements '(preview-LaTeX-comma= nd-replacements
=C2=A0 =C2=A0 ("\\`\\([^ ]+\\)\\(?: +\\(?:\\(--= ?kanji[=3D ][^ ]+\\)\\|\\(--?output-directory[=3D ][^ ]+\\)\\|-\\(?:[^ \\\&= quot;]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*\\(.*\\)\\'" = "\\1 -ini \\2 \\3 -interaction=3Dnonstopmode \"&\\1\" &q= uot; preview-format-name ".ini \\4")
=C2=A0 =C2=A0 )
= =C2=A0preview-undump-replacements '(("\\`\\([^ ]+\\)\\(?: +\\(?:\\= (--?kanji[=3D ][^ ]+\\)\\|\\(--?output-directory[=3D ][^ ]+\\)\\|-\\(?:[^ \= \\"]\\|\\\\.\\|\"[^\"]*\"\\)*\\)\\)*.* \"\\\\input= \" \"\\\\detokenize{\" \\(.*\\) \"}\"\\'"= "\\1 \\2 \\3 -interaction=3Dnonstopmode -file-line-error " previ= ew-format-name " \"/AUCTEXINPUT{\" \\4 \"}\""= )
=C2=A0 =C2=A0 =C2=A0 )
=C2=A0preview-auto-cache-preamble 'a= sk
=C2=A0preview-TeX-style-dir "/home/moonsea/.emacs.d/straight/bui= ld/auctex/latex"
=C2=A0)

Output from running `/usr/bin/rungs= -h':
GPL Ghostscript 10.05.1 (2025-04-29)
Copyright (C) 2025 Art= ifex Software, Inc.=C2=A0 All rights reserved.
Usage: gs [switches] [file1.ps file2.ps<= /a> ...]
Most frequently used switches: (you can use # in place of =3D)<= br>=C2=A0-dNOPAUSE =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no pause after page = =C2=A0 | -q =C2=A0 =C2=A0 =C2=A0 `quiet', fewer messages
=C2=A0-g<= ;width>x<height> =C2=A0page size in pixels =C2=A0 | -r<res> = =C2=A0pixels/inch resolution
=C2=A0-sDEVICE=3D<devname> =C2=A0sele= ct device =C2=A0 =C2=A0 =C2=A0 =C2=A0 | -dBATCH =C2=A0exit after last file<= br>=C2=A0-sOutputFile=3D<file> select output file: - for stdout, |com= mand for pipe,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0embed %d or %ld for page #
Input formats: PostScript Po= stScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output devi= ce: x11alpha
Available devices:
=C2=A0 =C2=A0alc1900 alc2000 alc4000 = alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
=C2=A0 =C2=A0appleraster= atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e
=C2=A0 =C2= =A0bj10v bj10vh bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmon= o
=C2=A0 =C2=A0bmp16 bmp16m bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep= 8 ccr cdeskjet
=C2=A0 =C2=A0cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880 c= dj890 cdj970 cdjcolor cdjmono
=C2=A0 =C2=A0cdnj500 cfax chp2200 cif clje= t5 cljet5c cljet5pr coslw2p coslwxl cups
=C2=A0 =C2=A0declj250 deskjet d= evicen dfaxhigh dfaxlow display dj505j djet500 djet500c
=C2=A0 =C2=A0dl2= 100 dnj650c docxwrite epl2050 epl2050p epl2120 epl2500 epl2750 epl5800
= =C2=A0 =C2=A0epl5900 epl6100 epl6200 eplcolor eplmono eps2write eps9high ep= s9mid epson
=C2=A0 =C2=A0epsonc escp escpage faxg3 faxg32d faxg4 fmlbp f= mpr fpng fs600 gdi hl1240
=C2=A0 =C2=A0hl1250 hl7x0 hocr hpdj1120c hpdj3= 10 hpdj320 hpdj340 hpdj400 hpdj500
=C2=A0 =C2=A0hpdj500c hpdj510 hpdj520= hpdj540 hpdj550c hpdj560c hpdj600 hpdj660c
=C2=A0 =C2=A0hpdj670c hpdj68= 0c hpdj690c hpdj850c hpdj855c hpdj870c hpdj890c hpdjplus
=C2=A0 =C2=A0hp= djportable ibmpro ijs imagen inferno ink_cov inkcov itk24i itk38 iwhi
= =C2=A0 =C2=A0iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75= la75plus
=C2=A0 =C2=A0laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex57= 00 lex7000 lips2p lips3
=C2=A0 =C2=A0lips4 lips4v lj250 lj3100sw lj4dith= lj4dithp lj5gray lj5mono ljet2p ljet3
=C2=A0 =C2=A0ljet3d ljet4 ljet4d = ljet4pjl ljetplus ln03 lp1800 lp1900 lp2000 lp2200
=C2=A0 =C2=A0lp2400 l= p2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100
=C2=A0 = =C2=A0lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f lp8700 lp8800c=
=C2=A0 =C2=A0lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300 lp940= 0 lp9500c
=C2=A0 =C2=A0lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lxm3= 200 lxm5700m m8510
=C2=A0 =C2=A0md1xMono md2k md50Eco md50Mono md5k mgr4= mgr8 mgrgray2 mgrgray4 mgrgray8
=C2=A0 =C2=A0mgrmono miff24 mj500c mj60= 00c mj700v2c mj8000c ml600 necp6 npdl nullpage
=C2=A0 =C2=A0oce9050 ocr = oki182 oki4w okiibm oprp opvp paintjet pam pamcmyk32 pamcmyk4
=C2=A0 =C2= =A0pbm pbmraw pcl3 pclm pclm8 pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono=C2=A0 =C2=A0pdfimage24 pdfimage32 pdfimage8 pdfocr24 pdfocr32 pdfocr8 pd= fwrite
=C2=A0 =C2=A0pdfwrite pdfwrite pgm pgmraw pgnm pgnmraw photoex pi= cty180 pj pjetxl pjxl
=C2=A0 =C2=A0pjxl300 pkm pkmraw pksm pksmraw plan = plan9bm planc plang plank planm plib
=C2=A0 =C2=A0plibc plibg plibk plib= m png16 png16m png16malpha png256 png48 pngalpha
=C2=A0 =C2=A0pnggray pn= gmono pngmonod pnm pnmraw ppm ppmraw pppm pr1000 pr1000_4 pr150
=C2=A0 = =C2=A0pr201 ps2write psdcmyk psdcmyk16 psdcmykog psdcmyktags psdcmyktags16<= br>=C2=A0 =C2=A0psdrgb psdrgb16 psdrgbtags pwgraster pxlcolor pxlmono r4081= rinkj rpdl
=C2=A0 =C2=A0samsunggdi sj48 spotcmyk st800 stcolor t4693d2 = t4693d4 t4693d8 tek4696
=C2=A0 =C2=A0tiff12nc tiff24nc tiff32nc tiff48nc= tiff64nc tiffcrle tiffg3 tiffg32d
=C2=A0 =C2=A0tiffg4 tiffgray tifflzw = tiffpack tiffscaled tiffscaled24 tiffscaled32
=C2=A0 =C2=A0tiffscaled4 t= iffscaled8 tiffsep tiffsep1 txtwrite uniprint urf urfcmyk
=C2=A0 =C2=A0u= rfgray urfrgb x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2
= =C2=A0 =C2=A0x11gray4 x11mono x11rg16x x11rg32x xcf xes xpswrite
Search = path:
=C2=A0 =C2=A0/usr/share/ghostscript/10.05.1/Resource/Init :
=C2= =A0 =C2=A0/usr/share/ghostscript/10.05.1/lib :
=C2=A0 =C2=A0/usr/share/g= hostscript/10.05.1/Resource/Font :
=C2=A0 =C2=A0/usr/share/ghostscript/f= onts : /usr/share/fonts/urw-fonts :
=C2=A0 =C2=A0/usr/share/fonts/Type1 = : /usr/share/fonts
Ghostscript is also using fontconfig to search for fo= nt files
For more information, see
https://ghostscript.readthedocs.io/en/gs10.= 05.1/Use.html
Please report bugs to bugs.ghostscript.com.


--000000000000d5f32f063d6feba4-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 31 06:59:20 2025 Received: (at 79332) by debbugs.gnu.org; 31 Aug 2025 10:59:20 +0000 Received: from localhost ([127.0.0.1]:52378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usfmK-0006Ky-2c for submit@debbugs.gnu.org; Sun, 31 Aug 2025 06:59:20 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:53692) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usfmG-0006Kj-Mp for 79332@debbugs.gnu.org; Sun, 31 Aug 2025 06:59:17 -0400 Received: from localhost (42-144-37-8.rev.home.ne.jp [42.144.37.8]) by smtp1a.inetd.co.jp (Postfix) with ESMTPSA id 222475C; Sun, 31 Aug 2025 19:59:12 +0900 (JST) From: Ikumi Keita To: =?UTF-8?Q?=E8=B6=8A=E5=8D=83=E4=BB=9E?= Subject: Re: bug#79332: 14.1.0; Running 'preview-Latex' with ```pdfxelatex``` In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?=E8=B6=8A=E5=8D=83=E4=BB=9E?= message dated "Fri, 29 Aug 2025 01:05:56 +0800." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 31 Aug 2025 19:59:11 +0900 Message-ID: <2949.1756637951@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79332 Cc: 79332@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi =E8=B6=8A, >>>>> =E8=B6=8A=E5=8D=83=E4=BB=9E writes: > Auctex works well while compiling with `C-c, C-c', but try to use > 'pdfxelatex' in preview process. I guess this may due to my config with > tex-mode, and Gemini could not make it works well. May I get some help? > THX! [...] > And my init_latex.el is as fellow: > ;; =E8=AE=BE=E7=BD=AE XeLaTeX =E7=BC=96=E8=AF=91=E5=91=BD=E4=BB=A4 > (setq LaTeX-command "xelatex -synctex=3D1 -shell-escape") I suppose you intend to force XeLaTeX usage. > (preview-supports-image-type 'dvipng) This doesn't work because xelatex produces pdf file, not dvi file. Comment out those two customizations and try the following (after you restart the emacs session). (1) After you open your XeLaTeX document, open the menu "Command"->"TeXing Options" and select "Use XeTeX engine" (2) Type C-c C-c (for ordinary typeset) or C-c C-p C-d (for preview-latex). If it does the trick, Change the default value of `TeX-engine' from `default' to `xetex' via M-x customize-option RET TeX-engine RET . Then the customization will persist across emacs sessions. > ;; =E6=88=96=E8=80=85=E6=9B=B4=E7=BB=86=E8=87=B4=E5=9C=B0=EF=BC=8C=E4= =B8=BAPDF=E8=BE=93=E5=87=BA=E7=9A=84=E9=A2=84=E8=A7=88=E6=8C=87=E5=AE=9A > (setq LaTeX-command-for-section-preview '("LaTeX")) > ;; =E4=B8=BA AUCTeX =E7=9A=84=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E6=98= =BE=E5=BC=8F=E6=8C=87=E5=AE=9A=E7=BC=96=E8=AF=91=E5=91=BD=E4=BB=A4 > (setq Preview-LaTeX-command "latex -synctex=3D1 -shell-escape") > ;; =E5=BC=BA=E5=88=B6=E9=A2=84=E8=A7=88=E4=BD=BF=E7=94=A8 XeLaTeX =E6= =96=B9=E6=A1=88 > (setq TeX-command-run-scheme '((_region_ . "XeLaTeX"))) > ;; =E6=88=96=E8=80=85=E6=9B=B4=E9=80=9A=E7=94=A8=E7=9A=84=E8=AE=BE=E7= =BD=AE (=E4=BD=86=E5=8F=AF=E8=83=BD=E5=BD=B1=E5=93=8D=E5=85=B6=E4=BB=96=E6= =A8=A1=E5=BC=8F) > (setq TeX-command-run-scheme '("XeLaTeX")) AUCTeX doesn't have these four options. Why do you have them? Perhaps some other package(s) offer them? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 31 09:56:11 2025 Received: (at 79332) by debbugs.gnu.org; 31 Aug 2025 13:56:11 +0000 Received: from localhost ([127.0.0.1]:54353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usiXT-00036l-1n for submit@debbugs.gnu.org; Sun, 31 Aug 2025 09:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39338) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usiXL-00036O-CE for 79332@debbugs.gnu.org; Sun, 31 Aug 2025 09:56:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usiXE-0004bW-Sa; Sun, 31 Aug 2025 09:55:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=14beVp0/ToxgqTF56rN/jjDTzf3UDs7cRNYurVBQFPo=; b=fL8EfzVEnV9278QsSWRZ TWkSMm/WXFr0PfEEGJXQJUJOc0cPtyYilnrX/joAEYvFnzcBOGJ0BedQylyxyDKMx0OFn3OfiNp9V Sm0IMgdTbg5ITC0MNAIR+utfj324K+6pnTDNhhspk3RjU/MV4pIgqehYBMUTvn7c86lz68myfuhwb m0EMAItSCXPhSxFmfIu0EuNlY+nY/4IjwDI/IFHArMnQ+yqIan1R6yLFS+7hXflgCPOfuZOVsTvCK Q+grf6TB/es2NknQHVhV8/6rwF1T51bJpyD+uL7oJTdwHUOMyTnXhaPTrALnT9+n+YMsDpdjxKfOf PM2QfexzpqeMnw==; From: Arash Esbati To: Ikumi Keita Subject: Re: bug#79332: 14.1.0; Running 'preview-Latex' with ```pdfxelatex``` In-Reply-To: <2949.1756637951@localhost> References: <2949.1756637951@localhost> Date: Sun, 31 Aug 2025 15:55:53 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79332 Cc: =?utf-8?B?6LaK5Y2D5Lue?= , 79332@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Keita, Ikumi Keita writes: >>>>>> =E8=B6=8A=E5=8D=83=E4=BB=9E writes: > >> ;; =E6=88=96=E8=80=85=E6=9B=B4=E7=BB=86=E8=87=B4=E5=9C=B0=EF=BC=8C=E4= =B8=BAPDF=E8=BE=93=E5=87=BA=E7=9A=84=E9=A2=84=E8=A7=88=E6=8C=87=E5=AE=9A >> (setq LaTeX-command-for-section-preview '("LaTeX")) > >> ;; =E4=B8=BA AUCTeX =E7=9A=84=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E6= =98=BE=E5=BC=8F=E6=8C=87=E5=AE=9A=E7=BC=96=E8=AF=91=E5=91=BD=E4=BB=A4 >> (setq Preview-LaTeX-command "latex -synctex=3D1 -shell-escape") >> ;; =E5=BC=BA=E5=88=B6=E9=A2=84=E8=A7=88=E4=BD=BF=E7=94=A8 XeLaTeX =E6= =96=B9=E6=A1=88 >> (setq TeX-command-run-scheme '((_region_ . "XeLaTeX"))) >> ;; =E6=88=96=E8=80=85=E6=9B=B4=E9=80=9A=E7=94=A8=E7=9A=84=E8=AE=BE=E7= =BD=AE (=E4=BD=86=E5=8F=AF=E8=83=BD=E5=BD=B1=E5=93=8D=E5=85=B6=E4=BB=96=E6= =A8=A1=E5=BC=8F) >> (setq TeX-command-run-scheme '("XeLaTeX")) > > AUCTeX doesn't have these four options. Why do you have them?=20 For the sake of completeness, AUCTeX has: ,----[ C-h v preview-LaTeX-command RET ] | preview-LaTeX-command is a variable defined in =E2=80=98preview.el=E2=80= =99. |=20 | Its value is | ("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{" | ("," . preview-required-option-list) | "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined" | preview-default-preamble | "\\fi}\"%' \"\\detokenize{\" %(t-filename-only) \"}\"") |=20 | Command used for starting a preview. | See description of =E2=80=98TeX-command-list=E2=80=99 for details. |=20 | This variable may be risky if used as a file-local variable. | You can customize this variable. | `---- note the lower `p'. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 01 05:31:44 2025 Received: (at 79332) by debbugs.gnu.org; 1 Sep 2025 09:31:44 +0000 Received: from localhost ([127.0.0.1]:56739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ut0t5-0006aa-R4 for submit@debbugs.gnu.org; Mon, 01 Sep 2025 05:31:44 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:56372) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ut0sy-0006aJ-KE for 79332@debbugs.gnu.org; Mon, 01 Sep 2025 05:31:40 -0400 Received: from localhost (42-144-37-8.rev.home.ne.jp [42.144.37.8]) by smtp1a.inetd.co.jp (Postfix) with ESMTPSA id D933B5C; Mon, 1 Sep 2025 18:31:31 +0900 (JST) From: Ikumi Keita To: yueqr Subject: Re: bug#79332: 14.1.0; Running 'preview-Latex' with ```pdfxelatex``` In-reply-to: References: <2949.1756637951@localhost> Comments: In-reply-to yueqr message dated "Mon, 01 Sep 2025 15:35:00 +0800." X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Date: Mon, 01 Sep 2025 18:31:31 +0900 Message-ID: <6019.1756719091@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79332 Cc: 79332@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi 越, >>>>> yueqr writes: > Emacs works as what we expect, many thanks for your guide. Thank you for the feedback. I'll close this bug. >> AUCTeX doesn't have these four options. Why do you have them? Perhaps >> some other package(s) offer them? > I'm not sure whether the question is important for you, but the answer of the > question will be not important and silly. For thanks for you help, I'd like to > told you it's a poor and silly guy without cs knowledge and not have a habbit > about consult documents of package, but try to fix on what had happen, and > sillily trust the llm will be helped. Ah, then some generative AI like ChatGPT, Copilot or Gemini told you the false advices, I see. Thanks, I realize that they are not so good at tuning AUCTeX. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 01 05:33:00 2025 Received: (at control) by debbugs.gnu.org; 1 Sep 2025 09:33:00 +0000 Received: from localhost ([127.0.0.1]:56743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ut0uK-0006cd-E2 for submit@debbugs.gnu.org; Mon, 01 Sep 2025 05:33:00 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:56376) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ut0uH-0006cN-7v for control@debbugs.gnu.org; Mon, 01 Sep 2025 05:32:58 -0400 Received: from localhost (42-144-37-8.rev.home.ne.jp [42.144.37.8]) by smtp1a.inetd.co.jp (Postfix) with ESMTPSA id 274125C for ; Mon, 1 Sep 2025 18:32:55 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #79332 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6039.1756719174.1@localhost> Date: Mon, 01 Sep 2025 18:32:54 +0900 Message-ID: <6040.1756719174@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 79332 notabug close 79332 quit