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