Re: Optional LatexParam in layouts

2006-12-01 Thread Gregor Gorjanc
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > Well, the basic feature itself would be reasonably easy: add a new LatexType > EnvironmentWithArg, and when such an environment is used, output the > first paragraph as argument and the next ones inside the environment. > The patch for that would b

Re: Optional LatexParam in layouts

2006-12-01 Thread Gregor Gorjanc
Georg Baum <[EMAIL PROTECTED]> writes: > Yes. The user can set them. Plase have a look at the term "optional > argument" in any LaTeX book. What you want is not a standard optional > argument as used by many LaTeX commands. What you want is not possible, > standard optional arguments are. Thank yo

Re: Optional LatexParam in layouts

2006-12-01 Thread max . hoffmann
Hi, maybe I should introduce myself real quick. I am a LyX fan and user. Right now I try to get flashcards.cls to work under LyX to make flashcards for some upcoming major exams. If it was only for myself I would probably just write them in LaTeX, but if one could do it in LyX, I could get some

Re: Optional LatexParam in layouts

2006-12-01 Thread Jean-Marc Lasgouttes
> "Ozgur" == Ozgur Ugras BARAN <[EMAIL PROTECTED]> writes: Ozgur> I guess the short answer is: letting the user to set the Ozgur> arguments in the form of: {echo=true, eval=false, ...} in Ozgur> layouts is not possible for the moment. I believe this would be Ozgur> a good feature. However, it

Re: Optional LatexParam in layouts

2006-12-01 Thread Ozgur Ugras BARAN
On 12/1/06, Georg Baum <[EMAIL PROTECTED]> wrote: Gregor Gorjanc wrote: > OK, but what is the meaning of optional arguments if user can not set > them. Did I miss something? Yes. The user can set them. Plase have a look at the term "optional argument" in any LaTeX book. What you want is not a s

Re: Optional LatexParam in layouts

2006-12-01 Thread Georg Baum
Gregor Gorjanc wrote: > OK, but what is the meaning of optional arguments if user can not set > them. Did I miss something? Yes. The user can set them. Plase have a look at the term "optional argument" in any LaTeX book. What you want is not a standard optional argument as used by many LaTeX comm

Re: Optional LatexParam in layouts

2006-12-01 Thread Gregor Gorjanc
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: ... > Gregor> \begin{Scode}{echo=true, eval=false, ...} \end{Scode} > > Gregor> where ... means other options. How can I define this with > Gregor> LatexParam directive? Is it possible to modfy this values > Gregor> later when a user is writting a f

Re: Optional LatexParam in layouts

2006-12-01 Thread Max Hoffmann
Hi! On Fr, 2006-12-01 at 00:55 +, Gregor Gorjanc wrote: > where ... means other options. How can I define this with LatexParam > directive? > Is it possible to modfy this values later when a user is writting a file with > this environment? I would like to add to Gregor's request: After havin

Re: Optional LatexParam in layouts

2006-12-01 Thread Jean-Marc Lasgouttes
> "Gregor" == Gregor Gorjanc <[EMAIL PROTECTED]> writes: Gregor> Hello! When writing layout files we can use LatexParam Gregor> directive to provide additional options that might be used in Gregor> environments. My env with options looks like Gregor> \begin{Scode}{echo=true, eval=false, ...}

Optional LatexParam in layouts

2006-11-30 Thread Gregor Gorjanc
Hello! When writing layout files we can use LatexParam directive to provide additional options that might be used in environments. My env with options looks like \begin{Scode}{echo=true, eval=false, ...} \end{Scode} where ... means other options. How can I define this with LatexParam directive?