0

working with macOS Monterey 12.7.2 (System Language is English and keyboard is US PC International), LyX 2.3.7 and MacTeX-2023, I encounter the strangest problem. I'm using LyX out of the box after installing MacTex and running "reconfigure" and restarting LyX.

When I input in the LyX document edit view, say, an e accent aigue "é", I get the Cyrillic small letter of the short I: "й", and for the e accent grave "è" a Cyrillic small letter I: "и".

But in de code view pane I do see an "é" and an "è" and rendering the document to PDF does display the "é" and "è" !

I tried to force some encodings using

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

In the document preamble, but to no avail.

Why is the encoding (is it the encoding?) of the LyX document edit pane wrong, can I correct that? I've searched all configuration and settings of LyX I could find but I couldn't find any weird or out of place looking setting. To be fair, I updated everything because the same problem occurred with the previous version of LyX.

1
  • 4
    I’m voting to close this question because the issue was due to a specific problem in the OP's machine.
    – egreg
    Commented May 12 at 13:37

2 Answers 2

0

I have no problems here: macOS 12.7.3, LyX 2.3.7, MacTeX 2023. You might do better to ask this question on the lyx-users mailing list.

1
  • Since you provided the only response to my post, I'll have to. Thanks anyway ;-)
    – nanitous
    Commented Apr 20 at 10:15
0

Okay, after a long pause, I figured it out. I used the Activity Monitory of MacOS to see which files are opened by LyX. It turned out to be a lonely stray "Times.ttf" (I probably installed it myself) in ~/Users/«user»/Library/Fonts.

I used Font Book to view the supported glyph-set and, lo-and-behold, It maps UNICODE codepoints above 0xF7 to glyphs for the Cyrillic alphabet.

In Font Book I deactivated the font and removed it from the fontbook and using "Reveal in Finder", I also found it on disk and deleted it as well.

I didn't need to restart LyX, just changing the Screen Fonts in the "Look & Feel | Screen Fonts " updated the fonts (I choose "Times New Roman", for now).

And this solved the problem.

I think this is a lesson to me; always inspect a download font completely and DO take the result of font validation by the Font Book to heart.

Not the answer you're looking for? Browse other questions tagged .