Yes, I confirm that this fixes the problem: * In "Documents > Settings... > Formats", I change "Default output set to" from "PDF(XeTeX)" to "Default". NOTE: this does not have immediate affect! I need to: * save the document with this settings change, * close LyX, * open LyX * open the changed document
I'm curious: * why on earth should the behavior in LyX be related to the chosen output format? * does changing from "PDF(XeTeX)" to "Default" have any side effects? -Bernt -----Original Message----- From: Daniel <xraco...@gmx.de> Sent: onsdag 31. oktober 2018 14.54 To: Bernt Lie <bernt....@usn.no>; lyx-users@lists.lyx.org Subject: Re: LyX 2.3.1: bug in "\text" mode of equations Thanks. I think I have narrowed down the problem to "Default output set to " with "PDF (XeTeX)" in Document > Settings... > Formats. Can you confirm that the problem goes away if you use the "Default" output format? (To force LyX to regenerate the preview you can just save the file under a new name after you made the change.) Daniel On 31/10/2018 14:32, Bernt Lie wrote: > Here is my "template_test.lyx" file, which contains displayed math with > \text{} containing letter "ø". This letter is not displayed wieh I have > enabled "instant preview". It does show up when preview in LyX is turned off. > In any way, it shows up in the generated PDF file. > > Still, it annoys me that it doesn't show up when I turn on "instant preview". > > Any clues? I use the latest version of Windows 10 (v 1803) 64 bit, LyX 2.3.1 > 64 bit, version from September 2018 (?). > > Suggestions are appreciated. > Bernt > > -----Original Message----- > From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of > Daniel > Sent: Tuesday, October 30, 2018 11:44 > To: lyx-users@lists.lyx.org > Subject: Re: LyX 2.3.1: bug in "\text" mode of equations > > On 30/10/2018 11:33, Bernt Lie wrote: >> Hm... I opened a new document of the template, and in this new template, the >> preview works. But it does not work in another document from the same >> template, where I'm in the process of inserting text from an OCR scanned >> paper copy of a document I wrote 30 years ago... (using Adobe Acrobat for >> OCR). >> >> This is weird. Maybe some junk from the imported, scanned document? I'll >> test some more. > > You can also try whether making a copy of your problem document and opening > the copy makes a difference. As far as I remember this should force LyX to > regenerate the preview. > > Daniel > >> -----Original Message----- >> From: Daniel <xraco...@gmx.de> >> Sent: Tuesday, October 30, 2018 10:52 >> To: Bernt Lie <bernt....@usn.no>; lyx-users@lists.lyx.org >> Subject: Re: LyX 2.3.1: bug in "\text" mode of equations >> >> On 30/10/2018 10:46, Bernt Lie wrote: >>> OK -- in your LyX file, Instant preview works ok. Two questions: >>> * Could it depend on which *style* I use? >> >> So what style are you using? Can you send a (somewhat) minimal document >> where the problem occurs? >> >>> * My LyX version is: >>> >>> LyX Version 2.3.1-1 >>> (Saturday, September 29, 2018) >>> Built from git commit hash ce82ba93 >>> Library directory: ~\AppData\Local\LyX 2.3\Resources\ User directory: >>> ~\AppData\Roaming\LyX2.3\ Qt Version (run-time): 5.10.1 Qt Version >>> (compile-time): 5.10.1 >>> -- >>> --> How can I update to the latest version *without* uninstalling the >>> current one, and installing the new version from scratch? >> >> That is the latest version and the same I am using. >> >> (There might have been a misunderstanding. I thought you menat your >> Windows version by "latest version" but I guess you did mean LyX. The >> information I sent was on the Windows version I am using.) >> >> Daniel >> >>> >>> -----Original Message----- >>> From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of >>> Daniel >>> Sent: Tuesday, October 30, 2018 10:33 >>> To: lyx-users@lists.lyx.org >>> Subject: Re: LyX 2.3.1: bug in "\text" mode of equations >>> >>> On 30/10/2018 09:38, Bernt Lie wrote: >>>> I use LyX 2.3.1 (64bit) on 64bit Win 10, latest version, and have Instant >>>> preview turned on. >>>> >>>> I need to insert some text in an equation. Two options: >>>> * \text{my text} >>>> * \mathrm{text} >>>> >>>> With \text{}, space is automatically handled. With \mathrm{}, I need to >>>> use the escape character (backslash) to get space. There are probably also >>>> some spacing differences -- I assume \text{} is the correct choice if I >>>> write text and not math. >>>> >>>> There is a problem with \text{} if I use Instant preview *on*...: if I >>>> include character "ø" in the text string, it shows if I turn Instant >>>> preview *off*, but is removed if I turn Instant preview *off*. >>>> >>>> The generated PDF file *includes* the symbol "ø", but ... it does not show >>>> up in the preview with Instant preview turned *on*. >>>> >>>> Presumably, this is a problem with other non-English ASCII characters, too? >>>> >>>> -B >>> >>> I cannot reproduce the problem. The ø in the attached file shows with >>> instant preview turned on. >>> >>> This is on Windows 10 Pro 64bit version 17134.345. ("latest version" >>> is a bit ambigous since there are different update tracks and the >>> recently pulled "October 2018 Update".) >>> >>> Daniel >>> > >