On Monday, 20 July 2020 23.19.25 WEST Pavel Sanda wrote:
> Hi,
> 
> this seems to be actually old one, anyway - when I open stmary10.lyx from
> LyX 2.2 with current branch I get the following error:
> 
> LyX: Bad integer `\font_tt_scale' [around line 25 of file
> /trash/lyx_tmpdir.LWAuzwk13645/Buffer_convertLyXFor matG13645.lyx current
> token: '\font_tt_scale' context: '']
> BufferParams::readToken(): Unknown token: 100
> 
> Pavel

The problem as far as I can see is from the original file.

Riki fixed that file explicitly:
https://www.lyx.org/trac/changeset?
reponame=lyxgit&new=5912f25f461cb520bed67cc62402e92a45abb07c%40lib%2Ffonts%2Ftest%2Fstmary10.lyx&old=9766e43a839c80a8cda3bc0dbc7c8a65abee4981%40lib%2Ffonts%2Ftest%2Fstmary10.lyx
 

in 2018.

I guess that the problem occurred because of an incomplete update in January 
of 2015.
So at this point I do not think that there anything that could/should be done 
since that was a problem from the original file.

Another option is to add some kind of sane default where in the lyx_2_3.py we 
add a blanket function to catch all those cases that for some reason were not 
properly fixed before.
This problem should only apply to functions produced during a development 
stage and the proposed solution would only apply to those cases.

What do you think?
-- 
José Abílio
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to