Re: LyX 2.3.1: bug in "\text" mode of equations
On 2018-10-30, 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. ... >>> I need to insert some text in an equation. Two options: >>> * \text{my text} This is text-in-maths mode (using the active text font) >>> * \mathrm{text} this is the "roman" (upright serif) math alphabet (maths mode). >>> 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*. Test, whether this "ø" in your source is really 00F8LATIN SMALL LETTER O WITH STROKE or some other similar looking symbol which may be missing in the text font used for the instant preview. Günter
Re: LyX 2.3.1: bug in "\text" mode of equations
On 31/10/2018 15:10, Bernt Lie wrote: 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 You don't have to close LyX if you save under a new file name or? At least I don't have to in order to see the effect. 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? I don't know. But since this behaviour seems like a bug, I'll forward it to the developers. Here is a short summary: Steps to reproduce: 1. Open the attached file. 2. Set Preview to "On". Actual result: - The ø is omitted in the preview but not in the output. Expected result: - It is not omitted in both Daniel template_test-9.lyx Description: application/lyx
RE: LyX 2.3.1: bug in "\text" mode of equations
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 Sent: onsdag 31. oktober 2018 14.54 To: Bernt Lie ; 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 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 >> Sent: Tuesday, October 30, 2018 10:52 >> To: Bernt Lie ; 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 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 th
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 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 Sent: Tuesday, October 30, 2018 10:52 To: Bernt Lie ; 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 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
RE: LyX 2.3.1: bug in "\text" mode of equations
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 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 > Sent: Tuesday, October 30, 2018 10:52 > To: Bernt Lie ; 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 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 >> template_test.lyx Description: template_test.lyx
Re: LyX 2.3.1: bug in "\text" mode of equations
On Tuesday, October 30, 2018 11:43:42 AM PDT Daniel wrote: > 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 > > Sent: Tuesday, October 30, 2018 10:52 > > To: Bernt Lie ; 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 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 I would try OCRing it with Google Docs. John
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 Sent: Tuesday, October 30, 2018 10:52 To: Bernt Lie ; 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 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
RE: LyX 2.3.1: bug in "\text" mode of equations
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. -B -Original Message- From: Daniel Sent: Tuesday, October 30, 2018 10:52 To: Bernt Lie ; 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 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 >
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 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
RE: LyX 2.3.1: bug in "\text" mode of equations
OK -- in your LyX file, Instant preview works ok. Two questions: * Could it depend on which *style* I use? * 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? -Original Message- From: 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
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 ascii_math_text.lyx Description: application/lyx
LyX 2.3.1: bug in "\text" mode of equations
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