Minor editing of the "Writing LaTeX files" section

This commit is contained in:
Gerard Vermeulen 2024-06-22 14:56:12 +02:00
parent 2f8d6e34ed
commit d9b74d59e5

View File

@ -1919,15 +1919,15 @@ Emacs will complain that ~TeX-master~ is no safe local variable in case it reads
a LaTeX file that sets ~TeX-master~. The list below summarizes the main [[https://en.wikipedia.org/wiki/AUCTeX][AUCTeX]]
configuration objectives:
1. Listing [[lst:set-tex-options]] ensures installation of [[https://en.wikipedia.org/wiki/AUCTeX][AUCTeX]] and initializes
[[https://en.wikipedia.org/wiki/AUCTeX][AUCTeX]] properly for =LuaTeX= or =LuaLaTeX=. Listing [[lst:set-tex-options]] also
enables *indenting between square brackets* which is a recent feature.
[[https://en.wikipedia.org/wiki/AUCTeX][AUCTeX]] properly for Lua-TeX or Lua-LaTeX. Listing [[lst:set-tex-options]]
also enables *indenting between square brackets* which is a recent feature.
2. Listing [[lst:set-latex-related-options]] configures the Emacs =bibtex= library
to use the LaTeX =BiBTeX= dialect for backwards compatibility, disables font
scaling of section titles, and configures =latex= for a full featured
to use the LaTeX BibTeX dialect for backwards compatibility, disables font
scaling of section titles, and configures LaTeX for a full featured
=LaTeX-section-command=.
#+caption[Ensure =AUCTeX= installation and set =TeX= option]:
#+caption: Ensure =AUCTeX= installation and set =TeX= option.
#+caption[Ensure =AUCTeX= installation and set TeX options]:
#+caption: Ensure =AUCTeX= installation and set TeX options.
#+name: lst:set-tex-options
#+begin_src emacs-lisp -n :results silent
(when (ensure-package-installation 'auctex)