LyXAlphabet Shortcut Error

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
MikeLee
Posts: 6
Joined: Tue May 30, 2017 11:18 pm

Alphabet Shortcut Error

Post by MikeLee »

I installed the latest version of Lyx yesterday and figured out that alphabet shortcut got lots of mismatches. Take Greek letters as examples, which you can find in the attachment, commmands do not correspond with results. Does anybody know what is wrong? Thank you in advance!
Attachments
mismatches.png
mismatches.png (19.81 KiB) Viewed 4948 times
Last edited by MikeLee on Tue May 30, 2017 11:50 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

MikeLee
Posts: 6
Joined: Tue May 30, 2017 11:18 pm

Alphabet Shortcut Error

Post by MikeLee »

However the compiled results are correct, which makes it more confusing. See the attached file.
Attachments
compiledresult.png
compiledresult.png (69.78 KiB) Viewed 4946 times
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Alphabet Shortcut Error

Post by scottkosty »

I can't reproduce on Ubuntu. What OS is this on? This was with LyX 2.2.3? Do you feel like testing 2.3.0alpha1-1 to see if the problem is fixed there? You wouldn't want to use that for serious work, but if you want to test it would be good to know if you still see this. You could download the test version of 2.3.0alpha1-1 here:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
MikeLee
Posts: 6
Joined: Tue May 30, 2017 11:18 pm

Alphabet Shortcut Error

Post by MikeLee »

scottkosty wrote:I can't reproduce on Ubuntu. What OS is this on? This was with LyX 2.2.3? Do you feel like testing 2.3.0alpha1-1 to see if the problem is fixed there? You wouldn't want to use that for serious work, but if you want to test it would be good to know if you still see this. You could download the test version of 2.3.0alpha1-1 here:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
I install texlive and then Lyx 2.3.0alpha after unintalling Latex distribution and Lyx 2.2.3. The problem has not been resovled yet. No idea what might go wrong.
MikeLee
Posts: 6
Joined: Tue May 30, 2017 11:18 pm

Alphabet Shortcut Error

Post by MikeLee »

scottkosty wrote:I can't reproduce on Ubuntu. What OS is this on? This was with LyX 2.2.3? Do you feel like testing 2.3.0alpha1-1 to see if the problem is fixed there? You wouldn't want to use that for serious work, but if you want to test it would be good to know if you still see this. You could download the test version of 2.3.0alpha1-1 here:
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/
And forgot to mention that my OS is win10.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Alphabet Shortcut Error

Post by scottkosty »

OK thanks for testing 2.3.0alpha1-1. You might want to uninstall that to make sure you don't accidentally use it for serious work.

Are you able to start LyX from the command line (I don't know how to do this on Windows). If so, can you start it as the following?

lyx -dbg fonts

Do you get any output in the terminal? If so, paste it here. If you can't start from command line, you can set the debug also in View > Messages Pane and then click the settings tab and go to "selected" and choose "fonts".
MikeLee
Posts: 6
Joined: Tue May 30, 2017 11:18 pm

Alphabet Shortcut Error

Post by MikeLee »

scottkosty wrote:OK thanks for testing 2.3.0alpha1-1. You might want to uninstall that to make sure you don't accidentally use it for serious work.

Are you able to start LyX from the command line (I don't know how to do this on Windows). If so, can you start it as the following?

lyx -dbg fonts

Do you get any output in the terminal? If so, paste it here. If you can't start from command line, you can set the debug also in View > Messages Pane and then click the settings tab and go to "selected" and choose "fonts".
Following your instruction, I opened a new lyx file, went to Messages Pane and chose Font Handling selected. Then I wrote a Greek letters, for example, \alpha. Here are the messages appeared.

Code: Select all

frontends/qt4/GuiFontLoader.cpp (181): Looking for font family eufm10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: eufm10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family cmsy10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: cmsy10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family cmmi10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: cmmi10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family cmr10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: cmr10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family cmex10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: cmex10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family msam10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: msam10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family msbm10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: msbm10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family wasy10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: wasy10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family stmary10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: stmary10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family esint10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: esint10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (349): Font 'Roman, Medium, Italic, Normal, none, Emphasis Off, Underline Off, Strikeout Off, Double underline Off, Wavy underline Off, Noun Off, ' matched by
Times New Roman
frontends/qt4/GuiFontLoader.cpp (353): This font is an exact match
frontends/qt4/GuiFontLoader.cpp (357): XFLD: unknown
frontends/qt4/GuiFontLoader.cpp (362): The font has size: 12
frontends/qt4/GuiFontLoader.cpp (181): Looking for font family cmmi10 ... 
frontends/qt4/GuiFontLoader.cpp (164): got: cmmi10
frontends/qt4/GuiFontLoader.cpp (171):  got it 
frontends/qt4/GuiFontLoader.cpp (191): lyx!
frontends/qt4/GuiFontLoader.cpp (349): Font 'cmm, Medium, Upright, Normal, none, Emphasis Off, Underline Off, Strikeout Off, Double underline Off, Wavy underline Off, Noun Off, ' matched by
cmmi10
frontends/qt4/GuiFontLoader.cpp (353): This font is an exact match
frontends/qt4/GuiFontLoader.cpp (357): XFLD: unknown
frontends/qt4/GuiFontLoader.cpp (362): The font has size: 12
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Alphabet Shortcut Error

Post by scottkosty »

Thanks for the info. I looked at the output but can't see anything wrong. I suggest you write to lyx-users@lyx.org. Hopefully someone there will have an idea for what's wrong.
MikeLee
Posts: 6
Joined: Tue May 30, 2017 11:18 pm

Alphabet Shortcut Error

Post by MikeLee »

scottkosty wrote:Thanks for the info. I looked at the output but can't see anything wrong. I suggest you write to lyx-users@lyx.org. Hopefully someone there will have an idea for what's wrong.
I will. Thank you any way. :)
Post Reply