











| author | Arash Esbati <arash@gnu.org> | 2026-08-16 21:46:58 +0200 |
|---|---|---|
| committer | Arash Esbati <arash@gnu.org> | 2026-08-16 21:46:58 +0200 |
| commit | 49cdf3e89bf0b6655deafe4724d979e2a026c8c9 (patch) | |
| tree | 10be9eb941abbd2493a3cac9f2e109657e21e6c1 | |
| parent | 3ad2a0a8e7349641685cdd0e81c3d11d56eedf65 (diff) | |
Add a note for master file names with non-ASCII chars
* doc/auctex.texi (Multifile): Add a note that file coding should be set explicitly in a subfile when the name of the master file contains non-ASCII characters. Text suggested by Eli Zaretskii <eliz@gnu.org>. (Bug#81606)
| -rw-r--r-- | doc/auctex.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 07ad346c9e8..3ea905b733a 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -4717,6 +4717,21 @@ your files.
%%% End:
@end example
+If you're using non-@acronym{ASCII} characters in the name of the master
+file, you should give Emacs a hint about the correct coding of the current
+file like this:
+
+@example
+%%% Local Variables:
+%%% coding: utf-8
+%%% TeX-master: "ä-master"
+%%% End:
+@end example
+
+@noindent
+In general, we recommend to use @acronym{UTF}-8 for any
+non-@acronym{ASCII} text.
+
You should always set this variable to the name of the top level document. If
you always use the same name for your top level documents, you can set
@code{TeX-master} in your init file such as @file{init.el} or @file{.emacs}.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。