Add update-lualatex-opentype-font-name-database to shortdoc
This commit is contained in:
parent
d35034a12e
commit
91686ac761
18
README.org
18
README.org
@ -616,6 +616,7 @@ defined in this Org file.
|
|||||||
"LaTeX"
|
"LaTeX"
|
||||||
(TeX-brace-count-line-override :no-manual t)
|
(TeX-brace-count-line-override :no-manual t)
|
||||||
(toggle-TeX-brace-count-line-override :no-manual t)
|
(toggle-TeX-brace-count-line-override :no-manual t)
|
||||||
|
(update-lualatex-opentype-font-name-database :no-manual t)
|
||||||
"Org"
|
"Org"
|
||||||
(by-backend :no-manual t)
|
(by-backend :no-manual t)
|
||||||
(by-backend-kbd-org-macro :no-manual t)
|
(by-backend-kbd-org-macro :no-manual t)
|
||||||
@ -1366,14 +1367,15 @@ in listing [[lst:configure-auctex]] corrects this by advising to override
|
|||||||
#+caption: Update the =LuaLaTeX= =OpenType Font= name database.
|
#+caption: Update the =LuaLaTeX= =OpenType Font= name database.
|
||||||
#+name: lst:update-lualatex-opentype-font-name-database
|
#+name: lst:update-lualatex-opentype-font-name-database
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun update-lualatex-opentype-font-name-database ()
|
(with-eval-after-load 'emacs
|
||||||
"Update the \"OpenType Font\" name database for \"LuaLaTeX\"."
|
(defun update-lualatex-opentype-font-name-database ()
|
||||||
(interactive)
|
"Update the \"OpenType Font\" name database for \"LuaLaTeX\"."
|
||||||
(cl-destructuring-bind (exit-code output)
|
(interactive)
|
||||||
(shell-command-with-exit-code
|
(cl-destructuring-bind (exit-code output)
|
||||||
"luaotfload-tool" "-vv" "--update" "--force")
|
(shell-command-with-exit-code
|
||||||
(if (= 0 exit-code) (message "%s" (string-trim output))
|
"luaotfload-tool" "-vv" "--update" "--force")
|
||||||
(error "%s" (string-trim output)))))
|
(if (= 0 exit-code) (message "%s" (string-trim output))
|
||||||
|
(error "%s" (string-trim output))))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+caption[Configure =AUCTeX=]:
|
#+caption[Configure =AUCTeX=]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user