[LyX/master] Tools: recognize math font in listFontWithLang.pl

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat May 9 12:15:38 UTC 2020



Le 9 mai 2020 12:59:10 GMT+02:00, Kornel Benko <kornel at lyx.org> a écrit 
>diff --git a/development/tools/listFontWithLang.pl
>b/development/tools/listFontWithLang.pl
>index 95524df..9824708 100644
>--- a/development/tools/listFontWithLang.pl
>+++ b/development/tools/listFontWithLang.pl
>@@ -39,6 +39,7 @@ sub extractlist($$$);	# my ($l, $islang, $txt, $rres)
>= @_;
> sub getIndex($$);
> sub getVal($$$);	# my ($l, $txtval, $txtlang) = @_;
> sub getproperties($$$$);
>+sub ismathfont($$);
> sub correctstyle($);

Perl, yummy ! Is there a particular meaning when the number of dollars is a prime number or a perfect square ?

JMarc

PS: ok, I am a bit of bad faith here, because I do write horrible regexes on occasion. But I tend to repeat backslashes, not dollars :)


More information about the lyx-devel mailing list