




















| author | Arash Esbati <arash@gnu.org> | 2026-06-20 23:39:20 +0200 |
|---|---|---|
| committer | Arash Esbati <arash@gnu.org> | 2026-06-20 23:39:20 +0200 |
| commit | 8ca65a19cb1d6f6793b0234ef94ad1806365c581 (patch) | |
| tree | 4673a6af45a596d5da13b7e54ec3440d2b04b5d5 | |
| parent | 3c3d2117854074b1add2d997c28a90a037c7dfb3 (diff) | |
; Fix description about `LaTeX-expl3-syntax-table'externals/auctex
* tests/latex/fontification-general.tex (subsubsection{AUC\protect\TeX{} fontification}): Fix explanation about `LaTeX-expl3-syntax-table'.
| -rw-r--r-- | tests/latex/fontification-general.tex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/latex/fontification-general.tex b/tests/latex/fontification-general.tex
index c864cd106be..b4e316eb80c 100644
--- a/tests/latex/fontification-general.tex
+++ b/tests/latex/fontification-general.tex
@@ -167,16 +167,16 @@ AUC\TeX{} provides a style file \verb|expl3.el| containing this code:
\begin{verbatim}
(defvar LaTeX-expl3-syntax-table
(let ((st (copy-syntax-table LaTeX-mode-syntax-table)))
- ;; Make _ and : symbol chars
- (modify-syntax-entry ?\_ "_" st)
- (modify-syntax-entry ?\: "_" st)
+ ;; Make _ and : word chars
+ (modify-syntax-entry ?\_ "w" st)
+ (modify-syntax-entry ?\: "w" st)
st))
\end{verbatim}
It changes the syntax for \verb|_| and \verb|:| from
-\textsl{punctuation} to \textsl{symbol}. For public functions
-mentioned above, this results in correct fontification in regular
-\verb|.tex| files. For private functions, \verb|font-latex.el|
-provides some code for doc\TeX{} mode to fontify them correctly.
+\textsl{punctuation} to \textsl{word}. For public functions mentioned
+above, this results in correct fontification in regular \verb|.tex|
+files. For private functions, \verb|font-latex.el| provides some code
+for doc\TeX{} mode to fontify them correctly.
\section{Math mode}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。