Re: [LyX master] Fix broken layout file syntax

2012-11-25 Thread Jürgen Spitzmüller
Am Sonntag 25 November 2012, 12:37:45 schrieb Georg Baum: The branch, master, has been updated. - Log - commit a28bc8daa93e2a87e72ca517901bbcec741ba1b3 Author: Georg Baum b...@lyx.org Date: Sun Nov 25 12:37:33 2012 +0100

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Liviu Andronic wrote: Given Jürgen's recent Argument developments, I am trying to come up with an inset for Sweave Chunks. The inset would need to be similar to ERT boxes, wrap the contents of the inset within the = and @ character, and would accept arguments that would be inserted between

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: * InsetArgument does not work within insets with PassThru 1. This is a general problem (no inset can be inserted into a PassThru inset currently; I did not find the cause for this). This one is fixed now. Jürgen

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: * Inserting the trailing @ is not yet supported by the InsetLayout syntax. This is completely independent of InsetArgument and would be a further enhancement. This one is implemented now as well. The following should do what you want: InsetLayout Flex:Sweave Chunk

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 7:13 PM, Jürgen Spitzmüller sp...@lyx.org wrote: Jürgen Spitzmüller wrote: * Inserting the trailing @ is not yet supported by the InsetLayout syntax. This is completely independent of InsetArgument and would be a further enhancement. This one is implemented now as

Re: Sweave Chunk inset

2012-11-25 Thread Scott Kostyshak
On Nov 25, 2012 1:13 PM, Jürgen Spitzmüller spitz sp...@lyx.org@sp...@lyx.org lyx.org sp...@lyx.org wrote: Jürgen Spitzmüller wrote: * Inserting the trailing @ is not yet supported by the InsetLayout syntax. This is completely independent of InsetArgument and would be a further

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 5:35 PM, Jürgen Spitzmüller sp...@lyx.org wrote: * there is no LaTeXType Paragraph in InsetLayout. Thus I used none. Then the docs need to be fixed. In Section 5.3.9 I see: LatexType [Paragraph, Command, Environment, Item_Environment, List_Environment, Bib_Environment] I

Re: Sweave Chunk inset

2012-11-25 Thread Jean-Marc Lasgouttes
Le 25/11/2012 17:35, Jürgen Spitzmüller a écrit : With most recent trunk you can try the following InsetLayout Flex:Sweave Chunk LabelString Sweave Chunk LatexType none LyXType Custom DecorationMinimalistic

Re: Sweave Chunk inset

2012-11-25 Thread Yihui Xie
I do not see the value of the weird Scode environment; I think it was invented only to bring the author a fake feeling that he is writing LaTeX, since it is not really a LaTeX environment at all. For me, I just want an approach to input = and @ quickly in LyX; perhaps InsetArgument is an overkill

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 11:27 PM, Yihui Xie x...@yihui.name wrote: For me, I just want an approach to input = and @ quickly in LyX; perhaps InsetArgument is an overkill for this task. I'll be happy enough if LyX has something like macro recording so I can press a shortcut to input = in an ERT

Re: please put new installer version on ftp.lyx.org

2012-11-25 Thread Richard Heck
On 11/24/2012 07:25 PM, Uwe Stöhr wrote: Hi Richard, have you seen my mail? I was forced to release a new installer because of the new Adobe Reader 11 that broke the update view in PDF format. Can you please put the installer version 4 to ftp.lyx.org? If this is done I can inform the users

Re: please put new installer version on ftp.lyx.org

2012-11-25 Thread Uwe Stöhr
Am 25.11.2012 23:57, schrieb Richard Heck: No, I hadn't seen it, but I'm doing it now. Thanks. FYI, the naming scheme is e.g. LyX-2.0.5-Bundle-4.exe. I can rename then, but it'd be easier if I didn't have to do so. But I'm following this scheme. I cannot put in the dots because then some

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Liviu Andronic wrote: * there is no LaTeXType Paragraph in InsetLayout. Thus I used none. Then the docs need to be fixed. I've done that yesterday. Jürgen

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: Will there be a carriage return after the = ? No, it just outputs OptArg=InsetText@ Is the line break needed? Jürgen

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Liviu Andronic wrote: Can we use '\n' or some other linebreak character in RightDelim? No. We could implement some placeholder that translates into a linebreak, but I'm starting to feel we extend the layout syntax too much for the sake of this special case. What about this Scode thing JMarc

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Mon, Nov 26, 2012 at 8:12 AM, Jürgen Spitzmüller sp...@lyx.org wrote: Liviu Andronic wrote: Can we use '\n' or some other linebreak character in RightDelim? No. We could implement some placeholder that translates into a linebreak, but I'm starting to feel we extend the layout syntax too

Re: [LyX master] Fix broken layout file syntax

2012-11-25 Thread Jürgen Spitzmüller
Am Sonntag 25 November 2012, 12:37:45 schrieb Georg Baum: > The branch, master, has been updated. > > - Log - > > commit a28bc8daa93e2a87e72ca517901bbcec741ba1b3 > Author: Georg Baum > Date: Sun Nov 25 12:37:33 2012

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > Given Jürgen's recent Argument developments, I am trying to come up > with an inset for Sweave Chunks. The inset would need to be similar to > ERT boxes, wrap the contents of the inset within the "<<>>=" and "@" > character, and would accept arguments that would be inserted

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > * InsetArgument does not work within insets with "PassThru 1". > This is a general problem (no inset can be inserted into a PassThru > inset currently; I did not find the cause for this). This one is fixed now. Jürgen

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > * Inserting the trailing "@" is not yet supported by the InsetLayout syntax. > This is completely independent of InsetArgument and would be a further > enhancement. This one is implemented now as well. The following should do what you want: InsetLayout "Flex:Sweave

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 7:13 PM, Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> * Inserting the trailing "@" is not yet supported by the InsetLayout syntax. >> This is completely independent of InsetArgument and would be a further >> enhancement. > > This one is

Re: Sweave Chunk inset

2012-11-25 Thread Scott Kostyshak
On Nov 25, 2012 1:13 PM, "Jürgen Spitzmüller" @ lyx.org > wrote: > > Jürgen Spitzmüller wrote: > > * Inserting the trailing "@" is not yet supported by the InsetLayout syntax. > > This is completely independent of InsetArgument and would be a further > > enhancement.

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 5:35 PM, Jürgen Spitzmüller wrote: > * there is no LaTeXType "Paragraph" in InsetLayout. Thus I used "none". > Then the docs need to be fixed. In Section 5.3.9 I see: LatexType [Paragraph, Command, Environment, Item_Environment, List_Environment,

Re: Sweave Chunk inset

2012-11-25 Thread Jean-Marc Lasgouttes
Le 25/11/2012 17:35, Jürgen Spitzmüller a écrit : With most recent trunk you can try the following InsetLayout "Flex:Sweave Chunk" LabelString "Sweave Chunk" LatexType none LyXType Custom DecorationMinimalistic

Re: Sweave Chunk inset

2012-11-25 Thread Yihui Xie
I do not see the value of the weird Scode environment; I think it was invented only to bring the author a fake feeling that he is writing LaTeX, since it is not really a LaTeX environment at all. For me, I just want an approach to input <<>>= and @ quickly in LyX; perhaps InsetArgument is an

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Sun, Nov 25, 2012 at 11:27 PM, Yihui Xie wrote: > For me, I just want an approach to input <<>>= and @ quickly in LyX; > perhaps InsetArgument is an overkill for this task. I'll be happy > enough if LyX has something like macro recording so I can press a > shortcut to input

Re: please put new installer version on ftp.lyx.org

2012-11-25 Thread Richard Heck
On 11/24/2012 07:25 PM, Uwe Stöhr wrote: Hi Richard, have you seen my mail? I was forced to release a new installer because of the new Adobe Reader 11 that broke the update view in PDF format. Can you please put the installer version 4 to ftp.lyx.org? If this is done I can inform the users

Re: please put new installer version on ftp.lyx.org

2012-11-25 Thread Uwe Stöhr
Am 25.11.2012 23:57, schrieb Richard Heck: No, I hadn't seen it, but I'm doing it now. Thanks. FYI, the naming scheme is e.g. LyX-2.0.5-Bundle-4.exe. I can rename then, but it'd be easier if I didn't have to do so. But I'm following this scheme. I cannot put in the dots because then some

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > > * there is no LaTeXType "Paragraph" in InsetLayout. Thus I used "none". > > Then the docs need to be fixed. I've done that yesterday. Jürgen

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Will there be a carriage return after the >>= ? No, it just outputs <>=InsetText@ Is the line break needed? Jürgen

Re: Sweave Chunk inset

2012-11-25 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > Can we use '\n' or some other linebreak character in RightDelim? No. We could implement some placeholder that translates into a linebreak, but I'm starting to feel we extend the layout syntax too much for the sake of this special case. What about this Scode thing JMarc

Re: Sweave Chunk inset

2012-11-25 Thread Liviu Andronic
On Mon, Nov 26, 2012 at 8:12 AM, Jürgen Spitzmüller wrote: > Liviu Andronic wrote: >> Can we use '\n' or some other linebreak character in RightDelim? > > No. We could implement some placeholder that translates into a linebreak, but > I'm starting to feel we extend the layout