aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-12-07 11:04:44 +0200
committerEli Zaretskii2024-12-07 11:04:44 +0200
commitd185d901905e11cf9120f5cea680ae04eae2809f (patch)
treeaf75493e26a24a7ff5986d8302a5a7d9ba0358ba
parent9ddec89e422d0dd6e9069731b8f2dd2c90aa5607 (diff)
downloademacs-d185d901905e11cf9120f5cea680ae04eae2809f.tar.gz
emacs-d185d901905e11cf9120f5cea680ae04eae2809f.zip
Update info-lookup's support for 'latex-mode'
* lisp/info-look.el (latex-mode): Update URLs of LaTeX manuals and the corresponding names of the index nodes.
-rw-r--r--lisp/info-look.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el
index b3db9bfdecc..d51a59f7ac6 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -995,9 +995,11 @@ Return nil if there is nothing appropriate in the buffer near point."
995 :mode 'latex-mode 995 :mode 'latex-mode
996 :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)" 996 :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
997 :doc-spec `((,(if (Info-find-file "latex2e" t) 997 :doc-spec `((,(if (Info-find-file "latex2e" t)
998 ;; From http://home.gna.org/latexrefman 998 ;; From CTAN's https://ctan.org/pkg/latex2e-help-texinfo
999 "(latex2e)Command Index" 999 ;; and https://puszcza.gnu.org.ua/projects/latexrefman/
1000 "(latex)Command Index") 1000 "(latex2e)Index"
1001 ;; From https://savannah.nongnu.org/projects/latex-manual/
1002 "(latex-manual)Command Index")
1001 ;; \frac{NUM}{DEN} etc can have more than one {xx} argument. 1003 ;; \frac{NUM}{DEN} etc can have more than one {xx} argument.
1002 ;; \sqrt[ROOT]{num} and others can have square brackets. 1004 ;; \sqrt[ROOT]{num} and others can have square brackets.
1003 nil "[`'‘]" "\\({[^}]*}|\\[[^]]*\\]\\)*['’]"))) 1005 nil "[`'‘]" "\\({[^}]*}|\\[[^]]*\\]\\)*['’]")))