Re: latexparam for insetlayout not output on begin{layout} line

2013-01-09 Thread Richard Heck
On 01/09/2013 06:47 PM, Julien Rioux wrote: On 03/01/2013 10:51 AM, Julien Rioux wrote: On 03/01/2013 3:45 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: In 2.0 if I define the simple layout InsetLayout "Flex:LatexParamTest" LatexType environment LatexName awesome LatexParam "[

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-09 Thread Julien Rioux
On 03/01/2013 10:51 AM, Julien Rioux wrote: On 03/01/2013 3:45 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: In 2.0 if I define the simple layout InsetLayout "Flex:LatexParamTest" LatexType environment LatexName awesome LatexParam "[eh?]" LyXType custom End The latex outpu

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > I was already thinking about using item-like type, unfortunately there is > often optional stuff between \begin{Leftside} and first \pstart, not just > \beginnumbering. You could define your own environment MyLeftside, which lets you enter such optional stuff as an optional a

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > > When you typeset bilingual edition via (e)ledpar the structure is like this > > > > \begin{pages} > > > > \begin{Leftside} > > \beginnumbering > > \pstart paragraph1 \pend > > \pstart paragraph2 \pend > > \pstart paragraph3 \pend > > ... > > \end

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > I don't know yet how to solve the \beginnumbering issue, but the \pstart > ... \pend thing could be produced (kind of misusing the current means) by > something like this: Having said that, I think that (e)ledpar is so special that it strikes me a major endeavor to im

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > When you typeset bilingual edition via (e)ledpar the structure is like this > > \begin{pages} > > \begin{Leftside} > \beginnumbering > \pstart paragraph1 \pend > \pstart paragraph2 \pend > \pstart paragraph3 \pend > ... > \endnumbering > \end{Leftside} This strikes me like a

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > > Layout experts, is there a way how to define environment so that > > LaTeX output looks like: > > > > \awesomestart > > paragraph text > > \awesomeend > > > > (that is no "begin{" stuff, but my own "\strings" there) ? > > Don't think so. What is

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > Layout experts, is there a way how to define environment so that > LaTeX output looks like: > > \awesomestart > paragraph text > \awesomeend > > (that is no "begin{" stuff, but my own "\strings" there) ? Don't think so. What is your usecase? Jürgen

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Pavel Sanda
Julien Rioux wrote: > On 03/01/2013 3:45 AM, Jürgen Spitzmüller wrote: >> Julien Rioux wrote: >>> In 2.0 if I define the simple layout >>> >>> InsetLayout "Flex:LatexParamTest" >>> LatexType environment >>> LatexName awesome >>> LatexParam "[eh?]" >>> LyXType custom >>> End Layout

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Jürgen Spitzmüller
Julien Rioux wrote: > Patch for branch follows. OK? I'm not the one to give green light, but the patch is good. Jürgen

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Julien Rioux
On 03/01/2013 3:45 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: In 2.0 if I define the simple layout InsetLayout "Flex:LatexParamTest" LatexType environment LatexName awesome LatexParam "[eh?]" LyXType custom End The latex output from such an inset looks like: \begin{awes

Re: latexparam for insetlayout not output on begin{layout} line

2013-01-03 Thread Jürgen Spitzmüller
Julien Rioux wrote: > In 2.0 if I define the simple layout > > InsetLayout "Flex:LatexParamTest" >LatexType environment >LatexName awesome >LatexParam "[eh?]" >LyXType custom > End > > The latex output from such an inset looks like: > > \begin{awesome} > [eh?]content > \end{aweso

latexparam for insetlayout not output on begin{layout} line

2013-01-02 Thread Julien Rioux
In 2.0 if I define the simple layout InsetLayout "Flex:LatexParamTest" LatexType environment LatexName awesome LatexParam "[eh?]" LyXType custom End The latex output from such an inset looks like: \begin{awesome} [eh?]content \end{awesome} while I think it should be \begin{awesome}[eh