TextMetrics error
Jean-Pierre Chrétien
jeanpierre.chretien at free.fr
Fri May 9 14:20:57 UTC 2025
Le 09/05/2025 à 15:08, Jean-Marc Lasgouttes a écrit :
> Le 06/05/2025 à 11:30, Jean-Pierre Chrétien a écrit :
>>>> I tried to insert online math, I get this message (unrelated, I guess):
>>>>
>>>> <cite>
>>>> Could not find variant symbols file
>>>> </cite>
>>>
>>> This one is strange. Do you have a lib/unicode_alphanum_variants file?
>>
>> Yes
In fact, I have it readable in the local git repo :
jp at pelican:/ext/lyx/master$ ls -l lib/unicode_alphanum_variants
-rw-r--r-- 1 jp jp 8675 25 mars 17:55 lib/unicode_alphanum_variants
but not in the local/share tree :
$ find /usr/local/share/lyx-2.5.0~devel -name unicode_alphanum_variants
jp at pelican:/ext/lyx/master$
And I do not have the message if I run src/lyx from the build tree.
Does this explain the problem ?
--
Jean-Pierre
>
> I do not understand what happens, the code is very straightforward:
>
> FileName const filename = libFileSearch(string(),
> "unicode_alphanum_variants");
> LYXERR(Debug::MATHED, "read variant symbols from " << filename);
> if (filename.empty()) {
> lyxerr << "Could not find variant symbols file" << endl;
> return;
> }
>
> Is the file readable? Could it be a permission problem?
>
> JMarc
More information about the lyx-devel
mailing list