Hi Keita,

Ikumi Keita <[email protected]> writes:

>>>>>> 越千仞 <[email protected]> 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



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

Reply via email to