Mosè Giordano <giordano.m...@libero.it> writes: Hi Mosè,
> I don't know what is wrong with your version :-\ I don't, too. Anyway, probably an update will fix it. > I'm sending a patch which replicates the behavior of > `TeX-arg-input-file-search': this adds an option to decide whether the > font should be searched or not, and a default list of fonts to be used > for completion when `luaotfload-tool --list=basename' doesn't work. Looks good to me. > I want to make it clear the `luaotfload' bundle is necessary in order > to use `fontspec' with LuaLaTeX (but not with XeLaTeX), indeed > `fontspec' loads the `luaotfload' package. So requiring > `luaotfload-tool' to make `LaTeX-fontspec-arg-font' completion work is > not a stringent requirement, it only needs a somewhat recent version > (I think version 2.3 or higher). Ok. > +(defcustom LaTeX-fontspec-arg-font-search t > + "If `LaTeX-fontspec-arg-font' should search for fonts. > +If the value is t, fonts are retrieved 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." > + :group 'LaTeX-style > + :type '(choice (const t) (const nil) (const ask))) Please add some :tag descriptions to the consts. Other than that, feel free to commit. Happy Xmas! Tassilo _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel