Re: Math preview bug (?) in LyX 2.1.4

2016-03-01 Thread Paola Manzini
I can confirm I have the same problem in  2.2.0alpha2 on Mac OS El Capitan, 
though I haven’t tried the latest beta. I have the feeling it happens much less 
often that with 2.1.4 (it happened to me just today for the first time since 
installing the alpha2 version, and I use LyX for many hours every day). One 
good reason to try the new beta!

> On 1 Mar 2016, at 17:32, PhilipPirrip  wrote:
> 
> In addition to what Scott said: can you share the document that's causing you 
> problems, I can test it on Fedora 23 in both LyX 2.1.4 and LyX 2.2.0dev for 
> you.
> 
> 
> 
> 
> On 03/01/2016 04:18 AM, Alexander Stasinski wrote:
>> (Apologies if this has already been discussed. I searched the archive
>> and bug reports and did not find anything related. Perhaps I didn't
>> search well enough.)
>> 
>> I'm using LyX 2.1.4 on Fedora 22 (4.3.4-200.fc22.x86_64) with instant
>> math preview on. After editing about a page of maths formulae, the
>> instant preview will start displaying "random" previous formulae
>> instead of the correct ones. When I go inside the formula, I can edit
>> the correct one, so LyX has the correct one internally.
>> The problem goes away if I close the document and reopen it, but after
>> about another page or so of editing, the problem reoccurs.
>> 
>> I'd be grateful for any advice on how to solve this.
>> 
>> Best wishes,
>> Alexander
>> 
> 
> 






Re: emphasized in beamer section / subsection gives an error

2016-03-01 Thread Wolfgang Engelmann



Am 01.03.2016 um 18:20 schrieb Jürgen Spitzmüller:

Am Dienstag, den 01.03.2016, 10:31 -0500 schrieb Scott Kostyshak:

On Tue, Mar 01, 2016 at 08:39:42AM +0100, Wolfgang Engelmann wrote:

Hallo, an emphasized word in section or subsection of beamer spits
out an
error: control sequence at end of top line of error message was
never
defined.
I am on debian and kubuntu using Lyx 2.1.4.
Am I the only one?
Wolfgang


I can reproduce on 2.2.0beta2. To reproduce, open examples/beamer.lyx
and emphasize e.g. the "po" in the first section "Purposes".

Hopefully someone else has an idea of whether this is expected.

It is expected (the beamer re-implementation of \emph and \textbf is
fragile and needs to be protected).

The emphasized text style (in Edit > Text Styles) deals with that, it
gets protected where appropriate (and furthermore also supports overlay
arguments).

Alas, we cannot easily protect our internal emph style class-wise.

This is also documented in the LyX beamer manual (the last slide in
section 3).

Jürgen
Thanks for the clarification. So it is possible by using textstyle > 
emph. Good to know.

Wolfgang



Scott




Re: Math preview bug (?) in LyX 2.1.4

2016-03-01 Thread PhilipPirrip
In addition to what Scott said: can you share the document that's 
causing you problems, I can test it on Fedora 23 in both LyX 2.1.4 and 
LyX 2.2.0dev for you.





On 03/01/2016 04:18 AM, Alexander Stasinski wrote:

(Apologies if this has already been discussed. I searched the archive
and bug reports and did not find anything related. Perhaps I didn't
search well enough.)

I'm using LyX 2.1.4 on Fedora 22 (4.3.4-200.fc22.x86_64) with instant
math preview on. After editing about a page of maths formulae, the
instant preview will start displaying "random" previous formulae
instead of the correct ones. When I go inside the formula, I can edit
the correct one, so LyX has the correct one internally.
The problem goes away if I close the document and reopen it, but after
about another page or so of editing, the problem reoccurs.

I'd be grateful for any advice on how to solve this.

Best wishes,
Alexander






Re: emphasized in beamer section / subsection gives an error

2016-03-01 Thread Jürgen Spitzmüller
Am Dienstag, den 01.03.2016, 10:31 -0500 schrieb Scott Kostyshak:
> On Tue, Mar 01, 2016 at 08:39:42AM +0100, Wolfgang Engelmann wrote:
> > 
> > Hallo, an emphasized word in section or subsection of beamer spits
> > out an
> > error: control sequence at end of top line of error message was
> > never
> > defined.
> > I am on debian and kubuntu using Lyx 2.1.4.
> > Am I the only one?
> > Wolfgang
> > 
> I can reproduce on 2.2.0beta2. To reproduce, open examples/beamer.lyx
> and emphasize e.g. the "po" in the first section "Purposes".
> 
> Hopefully someone else has an idea of whether this is expected.

It is expected (the beamer re-implementation of \emph and \textbf is
fragile and needs to be protected).

The emphasized text style (in Edit > Text Styles) deals with that, it
gets protected where appropriate (and furthermore also supports overlay
arguments).

Alas, we cannot easily protect our internal emph style class-wise.

This is also documented in the LyX beamer manual (the last slide in
section 3).

Jürgen

> Scott


Re: Math preview bug (?) in LyX 2.1.4

2016-03-01 Thread Scott Kostyshak
On Tue, Mar 01, 2016 at 09:18:48AM +, Alexander Stasinski wrote:
> (Apologies if this has already been discussed. I searched the archive
> and bug reports and did not find anything related. Perhaps I didn't
> search well enough.)
> 
> I'm using LyX 2.1.4 on Fedora 22 (4.3.4-200.fc22.x86_64) with instant
> math preview on. After editing about a page of maths formulae, the
> instant preview will start displaying "random" previous formulae
> instead of the correct ones. When I go inside the formula, I can edit
> the correct one, so LyX has the correct one internally.
> The problem goes away if I close the document and reopen it, but after
> about another page or so of editing, the problem reoccurs.
> 
> I'd be grateful for any advice on how to solve this.
> 
> Best wishes,
> Alexander

Hi Alexander,

Thanks for the feedback. There have been numerous improvements to our
preview machinery. The first thing to do would be to test 2.2.0beta2 to
see if you still see a problem with that. If it is the case, then we
would investigate further. Are you able to test 2.2.0beta2? I'm not sure
if there are Fedora binaries available. I don't know Fedora's
updates-testing works. If it's not available through that, would you be
interested in compiling LyX? I know we have at least two Fedora users
that compile LyX around here so I'm sure we would be able to help with
any problem you come across. Note that the latest pre-release sources
are here:

ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/2.2.0-latest

Best,

Scott


signature.asc
Description: PGP signature


Re: emphasized in beamer section / subsection gives an error

2016-03-01 Thread Scott Kostyshak
On Tue, Mar 01, 2016 at 08:39:42AM +0100, Wolfgang Engelmann wrote:
> Hallo, an emphasized word in section or subsection of beamer spits out an
> error: control sequence at end of top line of error message was never
> defined.
> I am on debian and kubuntu using Lyx 2.1.4.
> Am I the only one?
> Wolfgang
> 

I can reproduce on 2.2.0beta2. To reproduce, open examples/beamer.lyx
and emphasize e.g. the "po" in the first section "Purposes".

Hopefully someone else has an idea of whether this is expected.

Scott


signature.asc
Description: PGP signature


Math preview bug (?) in LyX 2.1.4

2016-03-01 Thread Alexander Stasinski
(Apologies if this has already been discussed. I searched the archive
and bug reports and did not find anything related. Perhaps I didn't
search well enough.)

I'm using LyX 2.1.4 on Fedora 22 (4.3.4-200.fc22.x86_64) with instant
math preview on. After editing about a page of maths formulae, the
instant preview will start displaying "random" previous formulae
instead of the correct ones. When I go inside the formula, I can edit
the correct one, so LyX has the correct one internally.
The problem goes away if I close the document and reopen it, but after
about another page or so of editing, the problem reoccurs.

I'd be grateful for any advice on how to solve this.

Best wishes,
Alexander