Variable: LaTeX-fontspec-arg-font-search

LaTeX-fontspec-arg-font-search is a customizable variable defined in tex-style.el.

Value

t

Documentation

If LaTeX-fontspec-arg-font should search for fonts.

If the value is t, fonts are retrieved automatically and provided for completion. If the value is nil, LaTeX-fontspec-font-list-default is used for completion. If the value is ask, you are asked for the method to use every time LaTeX-fontspec-arg-font is called.

LaTeX-fontspec-arg-font calls luaotf-load --list=basename to automatically get the list of fonts. This requires luaotfload-tool version 2.3 or higher in order to work.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-style.el
;; style/fontspec.el

(defcustom LaTeX-fontspec-arg-font-search t
  "If `LaTeX-fontspec-arg-font' should search for fonts.
If the value is t, fonts are retrieved automatically and provided
for completion.  If the value is nil,
`LaTeX-fontspec-font-list-default' is used for completion.  If
the value is `ask', you are asked for the method to use every
time `LaTeX-fontspec-arg-font' is called.

`LaTeX-fontspec-arg-font' calls `luaotf-load --list=basename' to
automatically get the list of fonts.  This requires
`luaotfload-tool' version 2.3 or higher in order to work."
  :type '(choice
          (const :tag "Search automatically" t)
          (const :tag "Use default font list" nil)
          (const :tag "Ask what to do" ask)))