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

Kornel Benko kornel at lyx.org
Sat May 9 12:34:11 UTC 2020


Am Sat, 09 May 2020 14:15:38 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:

> 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 ?

Nothing to worry about. It is only a tiny hint serving as a prototype.
That means for instance getproperties() has 4 parameters.

> 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 :)

No regexes in this case :)

	Kornel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200509/e9c88f1f/attachment.asc>


More information about the lyx-devel mailing list