Re: false positive in test for unencodable preamble

2015-07-05 Thread Jürgen Spitzmüller
Am Sonntag 05 Juli 2015, 14:12:55 schrieb Georg Baum: The attached patch fixes that and even simplifies the code. Does anybody know of any reason _not_ to use unicodesymbols replacements for the user preamble? I consider the preamble to be literate, just like ERT is. Thus, I think no

Re: false positive in test for unencodable preamble

2015-07-05 Thread Georg Baum
Guenter Milde wrote: I want a concise comment in the LyX file, in order to explain what the code is about. In the document, I have the option to change the comment into a LyX-note. Fine. In the preamble, there is no way to make a LyX-only comment. :-( You have a point. Unfortunately we

Re: Ubuntu Trusty testers needed

2015-07-05 Thread Jean-Marc Lasgouttes
Le 04/07/2015 22:09, Benedict Holland a écrit : I suppose, that said, I don't mind testing lyx on various systems but the 2.0.8 branch is old and is in release for what, at least a year? What additional testing, apart from that, is required? Is there a spec sheet for various usability tests that

Re: false positive in test for unencodable preamble

2015-07-05 Thread Guenter Milde
On 2015-07-05, Jean-Marc Lasgouttes wrote: Le 05/07/2015 14:12, Georg Baum a écrit : Guenter Milde wrote: I want a concise comment in the LyX file, in order to explain what the code is about. In the document, I have the option to change the comment into a LyX-note. Fine. In the preamble,

Re: #7365: Apparently random crash in LyX 2.0.0rc1 on OSX

2015-07-05 Thread Eduard Grebe
Unfortunately I don't have Dragondictate either anymore. So I wouldn't be able to reproduce this bug. I suggest closing the ticket. On Sat, 04 Jul 2015 at 21:31, LyX Ticket Tracker t...@lyx.org wrote: #7365: Apparently random crash in LyX 2.0.0rc1 on OSX

Re: [Patch] Two lyxpak bugs

2015-07-05 Thread Enrico Forestieri
On Sat, Jul 04, 2015 at 09:48:47PM +0300, Guy Rutenberg wrote: Hi, On Fri, Jul 3, 2015 at 3:53 PM, Enrico Forestieri for...@lyx.org wrote: Your patch still does not work on Windows. It may work when files have names encodable in the current code page, otherwise it fails. Note that

Re: false positive in test for unencodable preamble

2015-07-05 Thread Jean-Marc Lasgouttes
Le 05/07/2015 14:12, Georg Baum a écrit : Guenter Milde wrote: I want a concise comment in the LyX file, in order to explain what the code is about. In the document, I have the option to change the comment into a LyX-note. Fine. In the preamble, there is no way to make a LyX-only comment.

Re: false positive in test for unencodable preamble

2015-07-05 Thread Scott Kostyshak
On Sun, Jul 5, 2015 at 10:35 AM, Guenter Milde mi...@users.sf.net wrote: On 2015-07-05, Jean-Marc Lasgouttes wrote: In the preamble, there is no way to make a LyX-only comment. :-( If we implemented InPreamble for insets, then one could create an ERT-like inset that goes in preamble. This

Need RtL user wisdom (was: Re: logical cursor movement)

2015-07-05 Thread Jean-Marc Lasgouttes
Le 04/07/2015 14:38, Scott Kostyshak a écrit : I have no experience with how this is supposed to work, but I would like to confirm that this behavior is expected: 1. In Tools Preferences Language Settings, set Cursor movement to Logical (by the way, a tooltip here might be useful). 2. Open

Re: assert in CursorSlice.cpp

2015-07-05 Thread Enrico Forestieri
On Sun, Jul 05, 2015 at 03:05:14AM +0100, Guillaume M-M wrote: Le 30/06/2015 19:20, Enrico Forestieri a écrit : On Tue, Jun 30, 2015 at 06:14:05PM +0100, Guillaume M-M wrote: Dear list, I got an assertion in stable (1b596e92) for the second time today. It happened while selecting text

Re: assert in CursorSlice.cpp

2015-07-05 Thread Guillaume M-M
Le 05/07/2015 18:06, Enrico Forestieri a écrit : On Sun, Jul 05, 2015 at 03:05:14AM +0100, Guillaume M-M wrote: Le 30/06/2015 19:20, Enrico Forestieri a écrit : On Tue, Jun 30, 2015 at 06:14:05PM +0100, Guillaume M-M wrote: Dear list, I got an assertion in stable (1b596e92) for the second

Re: Need RtL user wisdom (was: Re: logical cursor movement)

2015-07-05 Thread Lior Silberman
Tested with LyX 2.1.3 (so with my own file, not the attachment) and got the expected result. Visual cursor movement means left and right arrow keys always move the cursor left and right. The logical behaviour is as follows: 1. If the document is LtR and there is text is RtL then right arrow

Re: Need RtL user wisdom (was: Re: logical cursor movement)

2015-07-05 Thread Guy Rutenberg
Hi, On Sun, Jul 5, 2015 at 9:57 PM, Lior Silberman lior3.1...@gmail.com wrote: Tested with LyX 2.1.3 (so with my own file, not the attachment) and got the expected result. Visual cursor movement means left and right arrow keys always move the cursor left and right. The logical behaviour

Re: assert in CursorSlice.cpp

2015-07-05 Thread Enrico Forestieri
On Sun, Jul 05, 2015 at 07:28:34PM +0100, Guillaume M-M wrote: Le 05/07/2015 18:06, Enrico Forestieri a écrit : Thanks for the reproducers. They evidence that the problem is due to the fact that MathData::metrics is not called when instant preview is on. I had tried to solve this issue by

Use chktex with knitr?

2015-07-05 Thread Scott Kostyshak
chktex is enabled as follows:

Build questions for OS X

2015-07-05 Thread Jerry
I am attempting to build LyX on OS X for testing purposes, not distribution. I have all of the prerequisites installed via MacPorts except possibly Qt, as described below. I have done the git checkout and am looking at INSTALL.MacOSX. The download link(s) in INSTALL.MacOSX for Qt are out of

Re: Use chktex with knitr?

2015-07-05 Thread Scott Kostyshak
chktex is enabled as follows: enable = params().isLatex() !lyxrc.chktex_command.empty(); This excludes it from running when knitr is in the document. Is there any easy way to have it run on the .tex file that is ultimately produced by knitr? Scott

Re: [Patch] Two lyxpak bugs

2015-07-05 Thread Pavel Sanda
Guy Rutenberg wrote: I've attached an updated he.po file with updated translation for Property (and some other small fixes. All four terms are translated properly. I updated layouttranslation file for 2.2, containing this update. BTW, do you know if it is possible to copy translations over

Re: Build questions for OS X

2015-07-05 Thread Stephan Witt
Am 06.07.2015 um 00:42 schrieb Jerry lancebo...@qwest.net: I am attempting to build LyX on OS X for testing purposes, not distribution. I have all of the prerequisites installed via MacPorts except possibly Qt, as described below. The installation of Qt on the build machine is possible in

Re: false positive in test for unencodable preamble

2015-07-05 Thread Georg Baum
Guenter Milde wrote: > I want a concise comment in the LyX file, in order to explain what the > code is about. > > In the document, I have the option to change the comment into a LyX-note. > Fine. > > In the preamble, there is no way to make a "LyX-only" comment. :-( You have a point.

Re: false positive in test for unencodable preamble

2015-07-05 Thread Jürgen Spitzmüller
Am Sonntag 05 Juli 2015, 14:12:55 schrieb Georg Baum: > The attached patch fixes that and even simplifies the code. Does anybody > know of any reason _not_ to use unicodesymbols replacements for the user > preamble? I consider the preamble to be "literate", just like ERT is. Thus, I think no

Re: #7365: Apparently random crash in LyX 2.0.0rc1 on OSX

2015-07-05 Thread Eduard Grebe
Unfortunately I don't have Dragondictate either anymore. So I wouldn't be able to reproduce this bug. I suggest closing the ticket. On Sat, 04 Jul 2015 at 21:31, LyX Ticket Tracker wrote: > #7365: Apparently random crash in LyX 2.0.0rc1 on OSX >

Re: false positive in test for unencodable preamble

2015-07-05 Thread Jean-Marc Lasgouttes
Le 05/07/2015 14:12, Georg Baum a écrit : Guenter Milde wrote: I want a concise comment in the LyX file, in order to explain what the code is about. In the document, I have the option to change the comment into a LyX-note. Fine. In the preamble, there is no way to make a "LyX-only" comment.

Re: Ubuntu Trusty testers needed

2015-07-05 Thread Jean-Marc Lasgouttes
Le 04/07/2015 22:09, Benedict Holland a écrit : I suppose, that said, I don't mind testing lyx on various systems but the 2.0.8 branch is old and is in release for what, at least a year? What additional testing, apart from that, is required? Is there a spec sheet for various usability tests that

Re: [Patch] Two lyxpak bugs

2015-07-05 Thread Enrico Forestieri
On Sat, Jul 04, 2015 at 09:48:47PM +0300, Guy Rutenberg wrote: > Hi, > > On Fri, Jul 3, 2015 at 3:53 PM, Enrico Forestieri wrote: > > > Your patch still does not work on Windows. It may work when files have > > names encodable in the current code page, otherwise it fails. > >

Re: false positive in test for unencodable preamble

2015-07-05 Thread Guenter Milde
On 2015-07-05, Jean-Marc Lasgouttes wrote: > Le 05/07/2015 14:12, Georg Baum a écrit : >> Guenter Milde wrote: >>> I want a concise comment in the LyX file, in order to explain what the >>> code is about. >>> In the document, I have the option to change the comment into a LyX-note. >>> Fine.

Re: false positive in test for unencodable preamble

2015-07-05 Thread Scott Kostyshak
On Sun, Jul 5, 2015 at 10:35 AM, Guenter Milde wrote: > On 2015-07-05, Jean-Marc Lasgouttes wrote: In the preamble, there is no way to make a "LyX-only" comment. :-( > >> If we implemented InPreamble for insets, then one could create an >> ERT-like inset that goes in

Need RtL user wisdom (was: Re: logical cursor movement)

2015-07-05 Thread Jean-Marc Lasgouttes
Le 04/07/2015 14:38, Scott Kostyshak a écrit : I have no experience with how this is supposed to work, but I would like to confirm that this behavior is expected: 1. In Tools > Preferences > Language Settings, set "Cursor movement" to "Logical" (by the way, a tooltip here might be useful). 2.

Re: assert in CursorSlice.cpp

2015-07-05 Thread Enrico Forestieri
On Sun, Jul 05, 2015 at 03:05:14AM +0100, Guillaume M-M wrote: > Le 30/06/2015 19:20, Enrico Forestieri a écrit : > >On Tue, Jun 30, 2015 at 06:14:05PM +0100, Guillaume M-M wrote: > >>Dear list, > >> > >> > >>I got an assertion in stable (1b596e92) for the second time today. It > >>happened while

Re: assert in CursorSlice.cpp

2015-07-05 Thread Guillaume M-M
Le 05/07/2015 18:06, Enrico Forestieri a écrit : On Sun, Jul 05, 2015 at 03:05:14AM +0100, Guillaume M-M wrote: Le 30/06/2015 19:20, Enrico Forestieri a écrit : On Tue, Jun 30, 2015 at 06:14:05PM +0100, Guillaume M-M wrote: Dear list, I got an assertion in stable (1b596e92) for the second

Re: assert in CursorSlice.cpp

2015-07-05 Thread Enrico Forestieri
On Sun, Jul 05, 2015 at 07:28:34PM +0100, Guillaume M-M wrote: > Le 05/07/2015 18:06, Enrico Forestieri a écrit : > > > >Thanks for the reproducers. They evidence that the problem is due to > >the fact that MathData::metrics is not called when instant preview is > >on. I had tried to solve this

Re: Need RtL user wisdom (was: Re: logical cursor movement)

2015-07-05 Thread Lior Silberman
Tested with LyX 2.1.3 (so with my own file, not the attachment) and got the expected result. "Visual" cursor movement means left and right arrow keys always move the cursor left and right. The "logical" behaviour is as follows: 1. If the document is LtR and there is text is RtL then "right

Re: Need RtL user wisdom (was: Re: logical cursor movement)

2015-07-05 Thread Guy Rutenberg
Hi, On Sun, Jul 5, 2015 at 9:57 PM, Lior Silberman wrote: > Tested with LyX 2.1.3 (so with my own file, not the attachment) and > got the expected result. "Visual" cursor movement means left and > right arrow keys always move the cursor left and right. The "logical" >

Re: [Patch] Two lyxpak bugs

2015-07-05 Thread Pavel Sanda
Guy Rutenberg wrote: > I've attached an updated he.po file with updated translation for "Property" > (and some other small fixes. All four terms are translated properly. I updated layouttranslation file for 2.2, containing this update. > > BTW, do you know if it is possible to copy translations

Build questions for OS X

2015-07-05 Thread Jerry
I am attempting to build LyX on OS X for testing purposes, not distribution. I have all of the prerequisites installed via MacPorts except possibly Qt, as described below. I have done the git checkout and am looking at INSTALL.MacOSX. The download link(s) in INSTALL.MacOSX for Qt are out of

Use chktex with knitr?

2015-07-05 Thread Scott Kostyshak
chktex is enabled as follows:

Re: Use chktex with knitr?

2015-07-05 Thread Scott Kostyshak
chktex is enabled as follows: enable = params().isLatex() && !lyxrc.chktex_command.empty(); This excludes it from running when knitr is in the document. Is there any easy way to have it run on the .tex file that is ultimately produced by knitr? Scott

Re: Build questions for OS X

2015-07-05 Thread Stephan Witt
Am 06.07.2015 um 00:42 schrieb Jerry : > I am attempting to build LyX on OS X for testing purposes, not distribution. > > I have all of the prerequisites installed via MacPorts except possibly Qt, as > described below. The installation of Qt on the build machine is