GNU bug report logs -
#79332
14.1.0; Running 'preview-Latex' with ```pdfxelatex```
Previous Next
Reported by: 越千仞 <yueqrgg <at> gmail.com>
Date: Thu, 28 Aug 2025 18:22:07 UTC
Severity: normal
Tags: notabug
Found in version 14.1.0
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Full log
Message #11 received at 79332 <at> debbugs.gnu.org (full text, mbox):
Hi Keita,
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
>>>>>> 越千仞 <yueqrgg <at> gmail.com> writes:
>
>> ;; 或者更细致地,为PDF输出的预览指定
>> (setq LaTeX-command-for-section-preview '("LaTeX"))
>
>> ;; 为 AUCTeX 的预览功能显式指定编译命令
>> (setq Preview-LaTeX-command "latex -synctex=1 -shell-escape")
>> ;; 强制预览使用 XeLaTeX 方案
>> (setq TeX-command-run-scheme '((_region_ . "XeLaTeX")))
>> ;; 或者更通用的设置 (但可能影响其他模式)
>> (setq TeX-command-run-scheme '("XeLaTeX"))
>
> AUCTeX doesn't have these four options. Why do you have them?
For the sake of completeness, AUCTeX has:
,----[ C-h v preview-LaTeX-command RET ]
| preview-LaTeX-command is a variable defined in ‘preview.el’.
|
| Its value is
| ("%`%l \"\\nonstopmode\\nofiles\\PassOptionsToPackage{"
| ("," . preview-required-option-list)
| "}{preview}\\AtBeginDocument{\\ifx\\ifPreview\\undefined"
| preview-default-preamble
| "\\fi}\"%' \"\\detokenize{\" %(t-filename-only) \"}\"")
|
| Command used for starting a preview.
| See description of ‘TeX-command-list’ for details.
|
| This variable may be risky if used as a file-local variable.
| You can customize this variable.
|
`----
note the lower `p'.
Best, Arash
This bug report was last modified 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.