Re: annotations for new layout argument feature

2012-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2012 00:08, Uwe Stöhr a écrit : Is there a way to suppress the empty lines? This problem appears for several document classes so that a solution would save a lot of ERT. If they must belong to a same paragraph, then these should be insets. I do not think it makes sense to implement

Re: noweb-article and article class with noweb module

2012-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2012 03:52, Kayvan Sylvan a écrit : Hi JMarc, Can you check my patch in the Bug Tracker http://www.lyx.org/trac/ticket/8414 and check my changes in? Hi Kayvan, I have seen it and plan to do it as soon as I have time. I will add a few changes to tex2lyx. JMarc

Re: annotations for new layout argument feature

2012-11-27 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: But how can i force that argument 3 is output after the text the users enters in LyX? Currently not possible. All command options are put before the paragraph, all environment options after the environment name. I could alternatively setup 4 arguments but then the user has

New layout argument work and Beamer

2012-11-27 Thread Abdelrazak Younes
Hi Jurgen, I am not sure I understand your recent work but can this be used to improve the beamer layouts? Recently I wanted to use program listing and I had to use a module I found in the wiki that adds the [fragile] keywords to the bearmer frame. So my question is can we use your work to tag a

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 7:13 PM, Jürgen Spitzmüller sp...@lyx.org wrote: InsetLayout Flex:Sweave Chunk LabelString Sweave Chunk LatexType none LyXType Custom RightDelim@ Decoration

Re: New layout argument work and Beamer

2012-11-27 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: Hi Jurgen, I am not sure I understand your recent work but can this be used to improve the beamer layouts? Yes, and actually this was one of my main motivations. I have already a reworked beamer layout with most overlay insets implemented (as in

Re: Sweave Chunk inset

2012-11-27 Thread Jürgen Spitzmüller
Liviu Andronic wrote: I just tried this and it's pretty cool: It works! Good. 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

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Mon, Nov 26, 2012 at 1:08 PM, Jürgen Spitzmüller sp...@lyx.org wrote: Just for the demonstration, this is how the placeholder approach would look like (with the attached patch): I've just tested this and it does exactly what we need. Liviu InsetLayout Flex:Sweave Chunk

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Tue, Nov 27, 2012 at 2:09 PM, Jürgen Spitzmüller sp...@lyx.org wrote: - I can 'Insert Chunk options', but I do not see 'Chunk options' in the inset c-menu. Can this be configured somehow? Done now. Excellent! Two (somewhat cosmetic) follow-up questions: - By default custom insets are

Re: Sweave Chunk inset

2012-11-27 Thread Jürgen Spitzmüller
Liviu Andronic wrote: Two (somewhat cosmetic) follow-up questions: - By default custom insets are 'Closed' (collapsed). This interferes with the workflow in many situations, including in the new Sweave Chunk. Would it be possible to have a 'Closed true/false' layout parameter for insets so

Re: New layout argument work and Beamer

2012-11-27 Thread Abdelrazak Younes
Thanks for the detailed explanation Jurgen, I look forward to using it :-) This new layout infrastructure actually would justify a new new major release. Abdel. On Tue, Nov 27, 2012 at 1:51 PM, Jürgen Spitzmüller sp...@lyx.org wrote: Abdelrazak Younes wrote: Hi Jurgen, I am not sure I

Re: New layout argument work and Beamer

2012-11-27 Thread Liviu Andronic
On Tue, Nov 27, 2012 at 2:45 PM, Abdelrazak Younes you...@lyx.org wrote: Thanks for the detailed explanation Jurgen, I look forward to using it :-) This new layout infrastructure actually would justify a new new major release. Ditto. Liviu

Re: New layout argument work and Beamer

2012-11-27 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: This new layout infrastructure actually would justify a new new major release. If everthing has stabilized: definitely (with all the other features we already have). Jürgen

Re: New layout argument work and Beamer

2012-11-27 Thread Guenter Milde
On 2012-11-27, Jürgen Spitzmüller wrote: Not yet, but I plan to implement a proper frame environment and get rid of the lyxframe, lyxframeend (and all other lyx-specific hacks) in the layout. My rough plan is to implement a new layout style (say Frame_Environment), that will * directly

Re: [PATCH] lyxpak.py undefined variable 'path'

2012-11-27 Thread Richard Heck
On 11/27/2012 12:24 AM, Guy Rutenberg wrote: Hi, Did anybody had time to review this patch? It's quite simple: 3 added lines. Would it be more helpful if I file a bug report in the trac? I've sent the patch directly to the mailing list per the instructions in the development FAQ. Sorry,

Re: New layout argument work and Beamer

2012-11-27 Thread Richard Heck
On 11/27/2012 08:45 AM, Abdelrazak Younes wrote: Thanks for the detailed explanation Jurgen, I look forward to using it :-) This new layout infrastructure actually would justify a new new major release. It would indeed, once properly tested. rh

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Tue, Nov 27, 2012 at 2:35 PM, Jürgen Spitzmüller sp...@lyx.org wrote: Liviu Andronic wrote: Two (somewhat cosmetic) follow-up questions: - By default custom insets are 'Closed' (collapsed). This interferes with the workflow in many situations, including in the new Sweave Chunk. Would it be

move rows/columns in a table

2012-11-27 Thread Scott Kostyshak
Often when working with tables I want to rearrange the rows and columns. I'm thinking about implementing Tabular::MOVE_ROW_UP, Tabular::MOVE_ROW_DOWN, Tabular::MOVE_COLUMN_RIGHT, and Tabular::MOVE_COLUMN_LEFT. Am I missing a way that already does that? Would others find this useful? If so, would

Re: move rows/columns in a table

2012-11-27 Thread Alessandro Di Federico
On Tue, 2012-11-27 at 19:16 -0500, Scott Kostyshak wrote: Would others find this useful? I definitely do. Ale

Re: annotations for new layout argument feature

2012-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2012 00:08, Uwe Stöhr a écrit : Is there a way to suppress the empty lines? This problem appears for several document classes so that a solution would save a lot of ERT. If they must belong to a same paragraph, then these should be insets. I do not think it makes sense to implement

Re: noweb-article and article class with "noweb" module

2012-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2012 03:52, Kayvan Sylvan a écrit : Hi JMarc, Can you check my patch in the Bug Tracker http://www.lyx.org/trac/ticket/8414 and check my changes in? Hi Kayvan, I have seen it and plan to do it as soon as I have time. I will add a few changes to tex2lyx. JMarc

Re: annotations for new layout argument feature

2012-11-27 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > But how can i force that argument 3 is output after the text the users > enters in LyX? Currently not possible. All command options are put before the paragraph, all environment options after the environment name. > I could alternatively setup 4 arguments but then the user

New layout argument work and Beamer

2012-11-27 Thread Abdelrazak Younes
Hi Jurgen, I am not sure I understand your recent work but can this be used to improve the beamer layouts? Recently I wanted to use program listing and I had to use a module I found in the wiki that adds the [fragile] keywords to the bearmer frame. So my question is can we use your work to tag a

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 7:13 PM, Jürgen Spitzmüller wrote: > InsetLayout "Flex:Sweave Chunk" > LabelString "Sweave Chunk" > LatexType none > LyXType Custom > RightDelim@ > > Decoration

Re: New layout argument work and Beamer

2012-11-27 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Hi Jurgen, > > I am not sure I understand your recent work but can this be used to improve > the beamer layouts? Yes, and actually this was one of my main motivations. I have already a reworked beamer layout with most overlay insets implemented (as in \section{text}

Re: Sweave Chunk inset

2012-11-27 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > I just tried this and it's pretty cool: It works! Good. > 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

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Mon, Nov 26, 2012 at 1:08 PM, Jürgen Spitzmüller wrote: > Just for the demonstration, this is how the "placeholder" approach would look > like (with the attached patch): > I've just tested this and it does exactly what we need. Liviu > InsetLayout "Flex:Sweave Chunk" >

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Tue, Nov 27, 2012 at 2:09 PM, Jürgen Spitzmüller wrote: >> - I can 'Insert > Chunk options', but I do not see 'Chunk options' in >> the inset c-menu. Can this be configured somehow? > > Done now. > Excellent! Two (somewhat cosmetic) follow-up questions: - By default custom

Re: Sweave Chunk inset

2012-11-27 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > Two (somewhat cosmetic) follow-up questions: > - By default custom insets are 'Closed' (collapsed). This interferes > with the workflow in many situations, including in the new Sweave > Chunk. Would it be possible to have a 'Closed true/false' layout > parameter for insets

Re: New layout argument work and Beamer

2012-11-27 Thread Abdelrazak Younes
Thanks for the detailed explanation Jurgen, I look forward to using it :-) This new layout infrastructure actually would justify a new new major release. Abdel. On Tue, Nov 27, 2012 at 1:51 PM, Jürgen Spitzmüller wrote: > Abdelrazak Younes wrote: > > Hi Jurgen, > > > > I am

Re: New layout argument work and Beamer

2012-11-27 Thread Liviu Andronic
On Tue, Nov 27, 2012 at 2:45 PM, Abdelrazak Younes wrote: > Thanks for the detailed explanation Jurgen, I look forward to using it :-) > > This new layout infrastructure actually would justify a new new major > release. > Ditto. Liviu

Re: New layout argument work and Beamer

2012-11-27 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > This new layout infrastructure actually would justify a new new major > release. If everthing has stabilized: definitely (with all the other features we already have). Jürgen

Re: New layout argument work and Beamer

2012-11-27 Thread Guenter Milde
On 2012-11-27, Jürgen Spitzmüller wrote: > Not yet, but I plan to implement a proper frame environment and get rid > of the lyxframe, lyxframeend (and all other lyx-specific hacks) in the > layout. > My rough plan is to implement a new layout style (say Frame_Environment), > that > will > *

Re: [PATCH] lyxpak.py undefined variable 'path'

2012-11-27 Thread Richard Heck
On 11/27/2012 12:24 AM, Guy Rutenberg wrote: Hi, Did anybody had time to review this patch? It's quite simple: 3 added lines. Would it be more helpful if I file a bug report in the trac? I've sent the patch directly to the mailing list per the instructions in the development FAQ. Sorry,

Re: New layout argument work and Beamer

2012-11-27 Thread Richard Heck
On 11/27/2012 08:45 AM, Abdelrazak Younes wrote: Thanks for the detailed explanation Jurgen, I look forward to using it :-) This new layout infrastructure actually would justify a new new major release. It would indeed, once properly tested. rh

Re: Sweave Chunk inset

2012-11-27 Thread Liviu Andronic
On Tue, Nov 27, 2012 at 2:35 PM, Jürgen Spitzmüller wrote: > Liviu Andronic wrote: >> Two (somewhat cosmetic) follow-up questions: >> - By default custom insets are 'Closed' (collapsed). This interferes >> with the workflow in many situations, including in the new Sweave >> Chunk.

move rows/columns in a table

2012-11-27 Thread Scott Kostyshak
Often when working with tables I want to rearrange the rows and columns. I'm thinking about implementing Tabular::MOVE_ROW_UP, Tabular::MOVE_ROW_DOWN, Tabular::MOVE_COLUMN_RIGHT, and Tabular::MOVE_COLUMN_LEFT. Am I missing a way that already does that? Would others find this useful? If so, would

Re: move rows/columns in a table

2012-11-27 Thread Alessandro Di Federico
On Tue, 2012-11-27 at 19:16 -0500, Scott Kostyshak wrote: > Would others find this useful? I definitely do. Ale