Re: status update on the export tests

2015-11-04 Thread Guenter Milde
On 2015-11-04, Kornel Benko wrote: > Am Mittwoch, 4. November 2015 um 19:27:06, schrieb Guenter Milde > >> On 2015-11-04, Kornel Benko wrote: >> > Am Mittwoch, 4. November 2015 um 15:36:45, schrieb Guenter Milde >> > >> ... >> >> Not only, with "suspending" I also mean "The outcome is of no v

Re: [LyX/master] Document the export tests and other tests

2015-11-04 Thread Vincent van Ravesteijn
On Thu, Nov 5, 2015 at 8:27 AM, Guenter Milde wrote: > On 2015-11-04, Georg Baum wrote: >> Guenter Milde wrote: > >>> On 2015-10-30, Georg Baum wrote: Kornel Benko wrote: > These directories are clearly not suitable for pure test files, so I'll need to add a new one. Would lib/tests

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Vincent van Ravesteijn
On Thu, Nov 5, 2015 at 7:12 AM, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: >> > I consider it also document, not user, setting. It would cause confusions >> > if this setting is not transfered to my collaborators within the document. >> >> I disagree. There is no confusion possible. > > It

Re: [LyX/master] Document the export tests and other tests

2015-11-04 Thread Guenter Milde
On 2015-11-04, Georg Baum wrote: > Guenter Milde wrote: >> On 2015-10-30, Georg Baum wrote: >>> Kornel Benko wrote: >>> These directories are clearly not suitable for pure test files, so I'll >>> need to add a new one. Would lib/tests be OK? >> If you use such a generic name, it should have sub-

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Guenter Milde
On 2015-11-05, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: >> > I consider it also document, not user, setting. It would cause confusions >> > if this setting is not transfered to my collaborators within the document. >> I disagree. There is no confusion possible. > It is. When the documen

Re: Two Shortcut Changes

2015-11-04 Thread Pavel Sanda
Richard Heck wrote: > The second patch addresses a related but different issue. In cua.bind, > C-S-T is bound to "buffer-update ps" and C-S-D to "buffer-update dvi". It > seems to me that it would be good to have one of these bound to > "buffer-update pdf" instead, and I'd make it C-S-T, as that

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > > I consider it also document, not user, setting. It would cause confusions > > if this setting is not transfered to my collaborators within the document. > > I disagree. There is no confusion possible. It is. When the document circles I want the CT be part of docu

new patch for Xe/LuaTeX with TeX-fonts

2015-11-04 Thread Guenter Milde
Dear LyX developers, the patch below solves some of the unresolved FIXMES in the "Partial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems" 1523fc6023440f10ca0/lyxgit Testing shows, that this improves LuaTeX export with the minimal example of ticket #6216 that triggered the code containing t

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Guillaume Munch
Le 04/11/2015 20:06, Georg Baum a écrit : Guillaume Munch wrote: Le 03/11/2015 21:16, Georg Baum a écrit : I don't think there is an easy solution, because it depends on the use case. For example, in our documentation workflows \tracking_changes needs to be the same for all users, so this sho

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Vincent van Ravesteijn
Op 4-11-2015 om 21:06 schreef Georg Baum: Guillaume Munch wrote: Le 03/11/2015 21:16, Georg Baum a écrit : I don't think there is an easy solution, because it depends on the use case. For example, in our documentation workflows \tracking_changes needs to be the same for all users, so this shou

Re: [LyX/master] Document the export tests and other tests

2015-11-04 Thread Georg Baum
Guenter Milde wrote: > On 2015-10-30, Georg Baum wrote: >> Kornel Benko wrote: > >> These directories are clearly not suitable for pure test files, so I'll >> need to add a new one. Would lib/tests be OK? > > If you use such a generic name, it should have sub-directories for > > * unittests un

Re: Two Shortcut Changes

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 21:22:34, schrieb Georg Baum > Richard Heck wrote: > > > Attached are two patches inspired by bug #9830. The request there was to > > make master-buffer-view and master-buffer-update fall back to > > buffer-view and buffer-update, since it's annoying to have to u

Re: Plan for the current testing situation

2015-11-04 Thread Georg Baum
Guenter Milde wrote: > On 2015-11-02, Georg Baum wrote: > >> 1) Fix the first half of bug #9744. This is an easy and safe change > > Actually, "allowing parallel configuration of TeX and non-TeX fonts" is a > precondition for the proposed config value "automatic" for "use non-TeX > fonts": > >

Re: Two Shortcut Changes

2015-11-04 Thread Georg Baum
Richard Heck wrote: > Attached are two patches inspired by bug #9830. The request there was to > make master-buffer-view and master-buffer-update fall back to > buffer-view and buffer-update, since it's annoying to have to use > different shortcuts with different documents, if one is used to worki

Re: RFC: better submenu for tables

2015-11-04 Thread Georg Baum
Richard Heck wrote: > On 11/04/2015 04:42 AM, Jean-Marc Lasgouttes wrote: >> Le 03/11/2015 01:43, Uwe Stöhr a écrit : >>> If you open the submenu of tables you see many entries. In my opinion >>> too many, at least too many for laptops with small screens. >>> >>> In general I think it should be le

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Georg Baum
Guillaume Munch wrote: > Le 03/11/2015 21:16, Georg Baum a écrit : >> >> I don't think there is an easy solution, because it depends on the use >> case. For example, in our documentation workflows \tracking_changes needs >> to be the same for all users, so this should not go into the preferences.

Re: status update on the export tests

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 19:27:06, schrieb Guenter Milde > On 2015-11-04, Kornel Benko wrote: > > Am Mittwoch, 4. November 2015 um 15:36:45, schrieb Guenter Milde > > > > ... > > >> Not only, with "suspending" I also mean "The outcome is of no value for > >> finding new bugs or regres

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Scott Kostyshak
On Wed, Nov 04, 2015 at 08:45:48PM +0100, Kornel Benko wrote: > > Besides suspending the test, we should create a specific test that tests > > the compatibility of chemgreek with Xe/LuaTeX and invert that test. > > That would be nice. > > > This documents the incompatibility we found, and the te

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 20:20:31, schrieb Vincent van Ravesteijn > Op 4-11-2015 om 20:15 schreef Guenter Milde: > > On 2015-11-04, Kornel Benko wrote: > > > >> [-- Type: text/plain, Encoding: quoted-printable --] > >> Am Dienstag, 3. November 2015 um 00:23:47, schrieb Uwe Stöhr > >> >

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 14:00:16, schrieb Scott Kostyshak > On Wed, Nov 04, 2015 at 07:28:50PM +0100, Kornel Benko wrote: > > Am Dienstag, 3. November 2015 um 00:23:47, schrieb Uwe Stöhr > > > > > commit 279d0849460aac82c3adeac42d3f0e255274e7c8 > > > Author: Uwe Stöhr > > > Date: T

Re: status update on the export tests

2015-11-04 Thread Guenter Milde
On 2015-11-04, Kornel Benko wrote: > Am Mittwoch, 4. November 2015 um 15:36:45, schrieb Guenter Milde > ... >> Not only, with "suspending" I also mean "The outcome is of no value for >> finding new bugs or regressions until someone solves the known bug ...". > OK. >> However, we usually know

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Vincent van Ravesteijn
Op 4-11-2015 om 20:15 schreef Guenter Milde: On 2015-11-04, Kornel Benko wrote: [-- Type: text/plain, Encoding: quoted-printable --] Am Dienstag, 3. November 2015 um 00:23:47, schrieb Uwe Stöhr commit 279d0849460aac82c3adeac42d3f0e255274e7c8 Author: Uwe Stöhr Date: Tue Nov 3 00:23:41 201

Re: RFC: better submenu for tables

2015-11-04 Thread Guenter Milde
On 2015-11-04, Kornel Benko wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Mittwoch, 4. November 2015 um 11:19:21, schrieb Richard Heck > >> On 11/04/2015 04:42 AM, Jean-Marc Lasgouttes wrote: >> > Le 03/11/2015 01:43, Uwe Stöhr a écrit : >> >> If you open the submenu of tab

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Guenter Milde
On 2015-11-04, Kornel Benko wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Am Dienstag, 3. November 2015 um 00:23:47, schrieb Uwe Stöhr > >> commit 279d0849460aac82c3adeac42d3f0e255274e7c8 >> Author: Uwe Stöhr >> Date: Tue Nov 3 00:23:41 2015 +0100 >> Math.lyx: replace

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Scott Kostyshak
On Wed, Nov 04, 2015 at 07:28:50PM +0100, Kornel Benko wrote: > Am Dienstag, 3. November 2015 um 00:23:47, schrieb Uwe Stöhr > > > commit 279d0849460aac82c3adeac42d3f0e255274e7c8 > > Author: Uwe Stöhr > > Date: Tue Nov 3 00:23:41 2015 +0100 > > > > Math.lyx: replace tables by formal ones

Re: [LyX/master] Math.lyx: replace tables by formal ones - final part 7/7

2015-11-04 Thread Kornel Benko
Am Dienstag, 3. November 2015 um 00:23:47, schrieb Uwe Stöhr > commit 279d0849460aac82c3adeac42d3f0e255274e7c8 > Author: Uwe Stöhr > Date: Tue Nov 3 00:23:41 2015 +0100 > > Math.lyx: replace tables by formal ones - final part 7/7 > With this commit there are new failing export tests.

Re: [patch] Finding the generated latex file

2015-11-04 Thread PhilipPirrip
On 11/03/2015 07:00 PM, Andrew Parsloe wrote: I have found the message helpful, particularly when developing a module or a latex package to work with LyX. In the latter case, the failure to remove the temp directory may indicate that a latex process is still running. (Failure of a preview snippe

Re: RFC: better submenu for tables

2015-11-04 Thread PhilipPirrip
I agree with you, Uve. I'd rather see a few submenus for setting tables, than this 'More...' that we have now. What do you mean "more" when nothing about setting the table was offered in the first contextual menu. This 'More..." should rather be "Table...". I'd group things that are now in the

Re: RFC: better submenu for tables

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 11:19:21, schrieb Richard Heck > On 11/04/2015 04:42 AM, Jean-Marc Lasgouttes wrote: > > Le 03/11/2015 01:43, Uwe Stöhr a écrit : > >> If you open the submenu of tables you see many entries. In my opinion > >> too many, at least too many for laptops with small scre

Re: status update on the export tests

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 15:36:45, schrieb Guenter Milde > On 2015-11-04, Kornel Benko wrote: > > > [-- Type: text/plain, Encoding: 7bit --] > > > Am Mittwoch, 4. November 2015 um 14:36:19, schrieb Vincent van Ravesteijn > > > >> > In my view, suspension is orthogonal to reversion: >

Two Shortcut Changes

2015-11-04 Thread Richard Heck
Attached are two patches inspired by bug #9830. The request there was to make master-buffer-view and master-buffer-update fall back to buffer-view and buffer-update, since it's annoying to have to use different shortcuts with different documents, if one is used to working with master document

Re: RFC: better submenu for tables

2015-11-04 Thread Richard Heck
On 11/04/2015 04:42 AM, Jean-Marc Lasgouttes wrote: Le 03/11/2015 01:43, Uwe Stöhr a écrit : If you open the submenu of tables you see many entries. In my opinion too many, at least too many for laptops with small screens. In general I think it should be less crowded. Thus a proposal: - everyt

Re: status update on the export tests

2015-11-04 Thread Guenter Milde
On 2015-11-04, Kornel Benko wrote: > [-- Type: text/plain, Encoding: 7bit --] > Am Mittwoch, 4. November 2015 um 14:36:19, schrieb Vincent van Ravesteijn > >> > In my view, suspension is orthogonal to reversion: >> > >> > - normal: we want the test to pass >> > revert: we want the test to f

Re: status update on the export tests

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 14:36:19, schrieb Vincent van Ravesteijn > > In my view, suspension is orthogonal to reversion: > > > > - normal: we want the test to pass > > revert: we want the test to fail > > You mean: revert is that "it is known to fail", but we haven't fixed it yet. Y

Re: status update on the export tests

2015-11-04 Thread Vincent van Ravesteijn
> In my view, suspension is orthogonal to reversion: > > - normal: we want the test to pass > revert: we want the test to fail You mean: revert is that "it is known to fail", but we haven't fixed it yet. > > - normal: run the test > suspend: skip the test temporarily > ignore: skip the

Re: Unit testing

2015-11-04 Thread Vincent van Ravesteijn
> If there is no known advantage of gtest, I suggest using one of > boost::test or QTest, as these come from sources we already rely on. > The major advantage of "gtest" is that I only have to type "git push" and we have the framework up and running. A downside of boost::test is, according someon

Re: status update on the export tests

2015-11-04 Thread Guenter Milde
On 2015-11-04, Kornel Benko wrote: > Am Mittwoch, 4. November 2015 um 09:30:03, schrieb Guenter Milde > >> On 2015-11-02, Kornel Benko wrote: >> > Am 2. November 2015 um 08:36:05, schrieb Guenter Milde >> >> On 2015-11-02, Scott Kostyshak wrote: >> >> > On Sun, Nov 01, 2015 at 10:36:17PM +0100,

Re: [LyX/master] Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

2015-11-04 Thread Jean-Marc Lasgouttes
Le 04/11/2015 14:02, Guenter Milde a écrit : Now, that your patch has been commited as well, do I need to do anything about this? No, it is OK now. JMarc

Re: [LyX/master] Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

2015-11-04 Thread Guenter Milde
On 2015-11-04, Jean-Marc Lasgouttes wrote: > Le 04/11/2015 11:42, Stephan Witt a écrit : >>> } else if (token == "\\pdf_quoted_options") { >>> lex >> quoted_options; >>> + lyxerr << "Q_O=" << quoted_options << endl; >>> } else { >>> return token; >>> }

Re: [LyX/master] Partial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems".

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 10:33:58, schrieb Guenter Milde > On 2015-11-03, Scott Kostyshak wrote: > > On Tue, Nov 03, 2015 at 06:49:01AM -0800, Kornel Benko wrote: > >> > > >> > * to fix the regressions with "XeTeX + TeX fonts", a simple change in > >> > PDFOptions.cpp is sufficient. >

Re: status update on the export tests

2015-11-04 Thread Kornel Benko
Am Mittwoch, 4. November 2015 um 09:30:03, schrieb Guenter Milde > On 2015-11-02, Kornel Benko wrote: > > Am 2. November 2015 um 08:36:05, schrieb Guenter Milde > >> On 2015-11-02, Scott Kostyshak wrote: > >> > On Sun, Nov 01, 2015 at 10:36:17PM +0100, Kornel Benko wrote: > >> >> Am 1. November

Re: [LyX/master] Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

2015-11-04 Thread Jean-Marc Lasgouttes
Le 04/11/2015 11:42, Stephan Witt a écrit : } else if (token == "\\pdf_quoted_options") { lex >> quoted_options; + lyxerr << "Q_O=" << quoted_options << endl; } else { return token; } Did you put this change in intentionally?

Re: [LyX/master] Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

2015-11-04 Thread Stephan Witt
Am 04.11.2015 um 11:21 schrieb Günter Milde : > commit f739c98fd7aa9cc6c7607b2eb9e8f8da2727e988 > Author: Günter Milde > Date: Wed Nov 4 11:21:22 2015 +0100 > >Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740. > >hyperref expects LICR macros for non-ASCII chars in the

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Vincent van Ravesteijn
On Wed, Nov 4, 2015 at 7:26 AM, Pavel Sanda wrote: > Guillaume Munch wrote: >> For \track_changes, I do not understand your rationale for making it a >> setting of the document. It is not locked on, so the user who edits the >> documentations has to know in any case that he should track changes (i

Re: [LyX/master] Partial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems".

2015-11-04 Thread Guenter Milde
On 2015-11-03, Scott Kostyshak wrote: > On Tue, Nov 03, 2015 at 06:49:01AM -0800, Kornel Benko wrote: >> > >> > * to fix the regressions with "XeTeX + TeX fonts", a simple change in >> > PDFOptions.cpp is sufficient. >> That is, 29 tests are now better than before. >> Checking the output, all 2

Re: status update on the export tests

2015-11-04 Thread Kornel Benko
Am Montag, 2. November 2015 um 08:39:59, schrieb Guenter Milde > On 2015-11-02, Scott Kostyshak wrote: > > > Good point. On the other hand, if we make regex changes then it is > > harder to revert them. Problems have come up before of us > > misconstructing the regexes. > > If possible, make se

Re: #9841: Preferences specific to the user and not to the file should not be recorded in the file

2015-11-04 Thread Vincent van Ravesteijn
On Wed, Nov 4, 2015 at 1:50 AM, Guillaume Munch wrote: > Le 03/11/2015 21:16, Georg Baum a écrit : >> >> Guillaume Munch wrote: >> >>> >>> >>> I am bringing this to the list due to the timing, due to the fact that >>> it is a file format change, and due to the

screen indenting after frames

2015-11-04 Thread Edwin Leuven
dear all, atm when using beamer the text is indented after a new frame: Frame [title] ->|Text starts here and with a fragile frame it is indented even more Frame (fragile) [title] >|Text starts here not only is the unequal indenting across different frame types ugly, b

Re: Plan for the current testing situation

2015-11-04 Thread Guenter Milde
On 2015-11-02, Georg Baum wrote: > Scott Kostyshak wrote: >> So in summary, regarding the XeTeX + TeX fonts, I propose the above policy >> to start with; and if we find that there really is such a low signal to >> noise ratio then we can change our minds and ignore them. But we will >> never know

Re: RFC: better submenu for tables

2015-11-04 Thread Jean-Marc Lasgouttes
Le 03/11/2015 01:43, Uwe Stöhr a écrit : If you open the submenu of tables you see many entries. In my opinion too many, at least too many for laptops with small screens. In general I think it should be less crowded. Thus a proposal: - everything is removed for which we also have toolbar button

Re: status update on the export tests

2015-11-04 Thread Guenter Milde
On 2015-11-02, Kornel Benko wrote: > Am 2. November 2015 um 08:36:05, schrieb Guenter Milde >> On 2015-11-02, Scott Kostyshak wrote: >> > On Sun, Nov 01, 2015 at 10:36:17PM +0100, Kornel Benko wrote: >> >> Am 1. November 2015 um 21:27:11, schrieb Guenter Milde >> >> > Could we introduce a new sta

Re: Unit testing

2015-11-04 Thread Guenter Milde
On 2015-11-03, Georg Baum wrote: > Vincent van Ravesteijn wrote: >> On Tue, Nov 3, 2015 at 2:28 PM, Jean-Marc Lasgouttes >> wrote: > Regarding the test framework there is also boost::test (which would fit our > needs as well). Unfortunately I have neither experience with gtest nor with > QTest,