Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-30 Thread Jürgen Spitzmüller
Georg Baum wrote: We certainly need a better documentation of the procedure to update the file format Definitely. Also, I wonder if we really need to document the changes at different places (development/FORMAT and tex2lyx/TODO). Jürgen

Re: Sweave Chunk inset

2012-11-30 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: Several comments: - In principle a placeholder to insert line breaks where appropriate isn't really needed as the user can insert line breaks herself within the ERT-like inset. But for usability concerns, it is highly recommended to have those breaks controlled

Re: Sweave Chunk inset

2012-11-30 Thread Jürgen Spitzmüller
Liviu Andronic wrote: Right now this is what happens: - Insert 'Sweave Chunk': the inset gets inserted and the cursor is placed in teh inset - Type '2+2' - Move the cursor outside the inset: the inset gets 'Closed' (collapsed) The last part is suboptimal. It would be more desirable if

Re: Sweave Chunk inset

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 9:14 AM, Jürgen Spitzmüller sp...@lyx.org wrote: Jürgen Spitzmüller wrote: Several comments: - In principle a placeholder to insert line breaks where appropriate isn't really needed as the user can insert line breaks herself within the ERT-like inset. But for

Re: Sweave Chunk inset

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 9:24 AM, Jürgen Spitzmüller sp...@lyx.org wrote: - Move the cursor outside the inset: the inset gets 'Closed' (collapsed) The last part is suboptimal. It would be more desirable if after moving outside the inset, the inset would stay 'Opened' (un-collapsed). A 'Closed

Re: Sweave Chunk inset

2012-11-30 Thread Jean-Marc Lasgouttes
Le 30/11/2012 09:24, Jürgen Spitzmüller a écrit : The reason is that InsetFlex sets status_= Collapsed; in the constructor. AFAICS this is the only inset doing so. Is there a reason for this? It strikes me confusing that this inset is collapsed after insetion while all others are open. It is

Re: Re: Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-30 Thread Kornel Benko
Am Donnerstag, 29. November 2012 um 21:51:17, schrieb Georg Baum georg.b...@post.rwth-aachen.de Kornel Benko wrote: Hi Georg, how about automatic conversion of of lyx files before checking for difference? Something like the attached works for me. And does not depend on format of

[RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Jean-Marc Lasgouttes
Hello, The attached patch sets the background color of branch and note insets to the color of the inset background. This is IMO much better from a usability PoV. I did not commit yet because some things are not correct: - there is currently a frame around buttons, I will get rid of it

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: Comments appreciated. I didn't test the patch, but I'm worried seeing hardcoding like this @@ -103,7 +103,7 @@ InsetLayout Note:Note LatexName note BgColor notebg LabelFont - Color note +

'tex2lyx' vs 'lyx -E lyx'

2012-11-30 Thread Kornel Benko
Saving any of the lyx-test-files with current lyx gives me a different contents, although the format-line will stay the same. Besides the differences on empty lines and the creation line, shouldn’t it be the same? OTOH, lyx2lyx changes only the creation line, no matter if fed with the

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Liviu Andronic
Pavel On Fri, Nov 30, 2012 at 12:12 PM, Pavel Sanda sa...@lyx.org wrote: On contrary I would suggest adding one more (branch fg) if we are going to touch branch coloring! :) I constantly fight with finding 'proper' branch colors because other people have other backgrounds (which, again,

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Pavel Sanda
Liviu Andronic wrote: Could you take a look at http://www.lyx.org/trac/ticket/8325 ? Addressing this bug should solve such color issues. No, that is technically different, it mainly talks about Qt dialogs, not about editor workarea. ERT or Note can be easily adjusted in prefs. Pavel

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Jean-Marc Lasgouttes
Le 30/11/2012 12:12, Pavel Sanda a écrit : I hope you considered that some of us have black background by default (which implies bright text fg, which implies dark note bg, which means your black hardcoding will make label less-or-non readable.) This was an error indeed. See updated patch.

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 12:52 PM, Pavel Sanda sa...@lyx.org wrote: No, that is technically different, it mainly talks about Qt dialogs, not about editor workarea. ERT or Note can be easily adjusted in prefs. The bug is actually about colors used in the editor workarea. Even though easily

Re: annotations for new layout argument feature

2012-11-30 Thread Uwe Stöhr
Am 29.11.2012 07:40, schrieb Jürgen Spitzmüller: Besides this, how should I implement this?: \category{B.2.4}{Arithmetic and Logic Structures}{High-Speed Arithmetic} \category{B.7.1}{Integrated Circuits}{Types and Design Styles}[algorithms implemented into hardware] If I would set up an inset

Re: annotations for new layout argument feature

2012-11-30 Thread Uwe Stöhr
Am 29.11.2012 06:28, schrieb Richard Heck: For now, I'd think you could use the sort of trick we use to make beamer work: Define your own command that switches the order of the arguments, and make LyX use that. That is not possible for journal submissions. Many publishers use a code checking

Re: Qt issue? (Re: #8374: missing/bad display of dots and cdots)

2012-11-30 Thread Uwe Stöhr
Am 29.11.2012 22:17, schrieb Jean-Marc Lasgouttes: This is fixed in qt 4.8.4. It may be worth to release updated mac and windows binaries (after testing of course) I will do this, but 4.8.4 has not yet been released. regards Uwe

colors for shaded boxes - changeset/ee0860e4/lyxgit

2012-11-30 Thread Uwe Stöhr
Hi Jürgen, many thanks for this feature! I tried to implemented this several times but failed. is it possible to implement the same for the font color of the main text and of the font inside greyed-out notes. best regards Uwe

Re: colors for shaded boxes - changeset/ee0860e4/lyxgit

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 8:45 PM, Uwe Stöhr uwesto...@web.de wrote: is it possible to implement the same for the font color of the main text and of the font inside greyed-out notes. For reference: http://www.lyx.org/trac/ticket/6682#comment:2 Liviu

Re: Sweave Chunk inset

2012-11-30 Thread Liviu Andronic
On Wed, Nov 28, 2012 at 7:04 PM, Jürgen Spitzmüller sp...@lyx.org wrote: - I may have found a small bug: Insert the Sweave Chunk inset, then the 'Chunk options', then type 'a'. In the LyX source you would notice the following: a\selectlanguage{english}% =@ This one should be fixed now,

Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-30 Thread Jürgen Spitzmüller
Georg Baum wrote: > We certainly need a better documentation of the procedure to update the > file format Definitely. Also, I wonder if we really need to document the changes at different places (development/FORMAT and tex2lyx/TODO). Jürgen

Re: Sweave Chunk inset

2012-11-30 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > > Several comments: > > - In principle a placeholder to insert line breaks where appropriate > > isn't really needed as the user can insert line breaks herself within > > the ERT-like inset. But for usability concerns, it is highly > > recommended to have those breaks

Re: Sweave Chunk inset

2012-11-30 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > Right now this is what happens: > - Insert > 'Sweave Chunk': the inset gets inserted and the cursor is > placed in teh inset > - Type '2+2' > - Move the cursor outside the inset: the inset gets 'Closed' (collapsed) > > The last part is suboptimal. It would be more

Re: Sweave Chunk inset

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 9:14 AM, Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> > Several comments: >> > - In principle a placeholder to insert line breaks where appropriate >> > isn't really needed as the user can insert line breaks herself within >> > the ERT-like

Re: Sweave Chunk inset

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 9:24 AM, Jürgen Spitzmüller wrote: >> - Move the cursor outside the inset: the inset gets 'Closed' (collapsed) >> >> The last part is suboptimal. It would be more desirable if after >> moving outside the inset, the inset would stay 'Opened' >>

Re: Sweave Chunk inset

2012-11-30 Thread Jean-Marc Lasgouttes
Le 30/11/2012 09:24, Jürgen Spitzmüller a écrit : The reason is that InsetFlex sets "status_= Collapsed;" in the constructor. AFAICS this is the only inset doing so. Is there a reason for this? It strikes me confusing that this inset is collapsed after insetion while all others are open. It is

Re: Re: Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-30 Thread Kornel Benko
Am Donnerstag, 29. November 2012 um 21:51:17, schrieb Georg Baum > Kornel Benko wrote: > > > Hi Georg, > > how about automatic conversion of of lyx files before checking for > > difference? > > > > Something like the attached works for me. And does not depend on

[RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Jean-Marc Lasgouttes
Hello, The attached patch sets the background color of branch and note insets to the color of the inset background. This is IMO much better from a usability PoV. I did not commit yet because some things are not correct: - there is currently a frame around buttons, I will get rid of it

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Comments appreciated. I didn't test the patch, but I'm worried seeing hardcoding like this > @@ -103,7 +103,7 @@ InsetLayout Note:Note > LatexName note > BgColor notebg > LabelFont > - Color note > +

'tex2lyx' vs 'lyx -E lyx'

2012-11-30 Thread Kornel Benko
Saving any of the lyx-test-files with current lyx gives me a different contents, although the format-line will stay the same. Besides the differences on empty lines and the creation line, shouldn’t it be the same? OTOH, lyx2lyx changes only the creation line, no matter if fed with the

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Liviu Andronic
Pavel On Fri, Nov 30, 2012 at 12:12 PM, Pavel Sanda wrote: > On contrary I would suggest adding one more (branch fg) if we are going > to touch branch coloring! :) > I constantly fight with finding 'proper' branch colors because other > people have other backgrounds (which,

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Pavel Sanda
Liviu Andronic wrote: > Could you take a look at http://www.lyx.org/trac/ticket/8325 ? > Addressing this bug should solve such color issues. No, that is technically different, it mainly talks about Qt dialogs, not about editor workarea. ERT or Note can be easily adjusted in prefs. Pavel

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Jean-Marc Lasgouttes
Le 30/11/2012 12:12, Pavel Sanda a écrit : I hope you considered that some of us have black background by default (which implies bright text fg, which implies dark note bg, which means your black hardcoding will make label less-or-non readable.) This was an error indeed. See updated patch.

Re: [RFC][PATCH] Set collapsable inset button background color according to inset background

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 12:52 PM, Pavel Sanda wrote: > No, that is technically different, it mainly talks about Qt dialogs, > not about editor workarea. ERT or Note can be easily adjusted in prefs. > The bug is actually about colors used in the editor workarea. Even though easily

Re: annotations for new layout argument feature

2012-11-30 Thread Uwe Stöhr
Am 29.11.2012 07:40, schrieb Jürgen Spitzmüller: Besides this, how should I implement this?: \category{B.2.4}{Arithmetic and Logic Structures}{High-Speed Arithmetic} \category{B.7.1}{Integrated Circuits}{Types and Design Styles}[algorithms implemented into hardware] If I would set up an inset

Re: annotations for new layout argument feature

2012-11-30 Thread Uwe Stöhr
Am 29.11.2012 06:28, schrieb Richard Heck: For now, I'd think you could use the sort of trick we use to make beamer work: Define your own command that switches the order of the arguments, and make LyX use that. That is not possible for journal submissions. Many publishers use a code checking

Re: Qt issue? (Re: #8374: missing/bad display of dots and cdots)

2012-11-30 Thread Uwe Stöhr
Am 29.11.2012 22:17, schrieb Jean-Marc Lasgouttes: This is fixed in qt 4.8.4. It may be worth to release updated mac and windows binaries (after testing of course) I will do this, but 4.8.4 has not yet been released. regards Uwe

colors for shaded boxes - changeset/ee0860e4/lyxgit

2012-11-30 Thread Uwe Stöhr
Hi Jürgen, many thanks for this feature! I tried to implemented this several times but failed. is it possible to implement the same for the font color of the main text and of the font inside greyed-out notes. best regards Uwe

Re: colors for shaded boxes - changeset/ee0860e4/lyxgit

2012-11-30 Thread Liviu Andronic
On Fri, Nov 30, 2012 at 8:45 PM, Uwe Stöhr wrote: > is it possible to implement the same for the font color of the main text and > of the font inside greyed-out notes. > For reference: http://www.lyx.org/trac/ticket/6682#comment:2 Liviu

Re: Sweave Chunk inset

2012-11-30 Thread Liviu Andronic
On Wed, Nov 28, 2012 at 7:04 PM, Jürgen Spitzmüller wrote: >>> - I may have found a small bug: Insert the Sweave Chunk inset, then >>> the 'Chunk options', then type 'a'. In the LyX source you would notice >>> the following: >>> <>> >>> >>=@ > > This