AUCTeX font search dialog

Robert Alessi alessi at robertalessi.net
Tue May 5 15:13:51 CEST 2020


On Tue, May 05, 2020 at 02:47:19PM +0200, Ulrike Fischer wrote:
> Am Tue, 5 May 2020 12:13:09 +0200 schrieb Robert Alessi:
> 
> > For what it's worth:  I tried to reinstall the previous version of
> > luaotfload and the font search dialog of emacs worked again.
> > 
> > For the record, AUCTeX calls 'luaotf-load --list=basename' to get the
> > list of fonts.
> 
> Seems to be a side effect to get file globbing working. We will look
> at it.
> 
> But
> 
>   luaotfload-tool --list=basename:*
> 
> should work. 

Thank you, it works.  Then a simple way to get this to work would be
to patch fontspec.el style file:

--- fontspec.el	2020-03-13 08:13:34.203179086 +0100
+++ fontspec-1.el	2020-05-05 15:01:46.776429488 +0200
@@ -189,7 +189,7 @@
 	    LaTeX-fontspec-arg-font-search)
       (message "Searching for fonts...")
       (with-temp-buffer
-	(shell-command "luaotfload-tool --list=basename" t)
+	(shell-command "luaotfload-tool --list=basename:*" t)
 	;; Search for the font base names and full names, and add them to
 	;; `LaTeX-fontspec-font-list'.  The list is in the form
 	;;     <base name><TAB><full name><TAB><version>

Thanks,

-- R.


More information about the tex-live mailing list.