Re: Layout: OptionalArgs

2011-04-21 Thread Richard Heck
On 04/20/2011 12:19 PM, Jürgen Spitzmüller wrote: 2011/4/20 Diego Queiroz: Oh. You're right. Thanks. Anyway, I just noted that one can override this setting copying and pasting the "Opt" field as many times he/she wish. Isn't this a problem? Yes, the UI is far from ideal. I think we should make

Re: Layout: OptionalArgs

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Diego Queiroz: > Oh. You're right. Thanks. > Anyway, I just noted that one can override this setting copying and pasting > the "Opt" field as many times he/she wish. > Isn't this a problem? Yes, the UI is far from ideal. I think we should make optional (and required) arguments part of th

Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Oooops. I'm wrong again, sorry. It seems that one can override and insert "Opt" fields, but they aren't included in the source. --- Diego Queiroz 2011/4/20 Diego Queiroz > Oh. You're right. Thanks. > > Anyway, I just noted that one can override this setting copying and pasting > the "Opt" fie

Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Oh. You're right. Thanks. Anyway, I just noted that one can override this setting copying and pasting the "Opt" field as many times he/she wish. Isn't this a problem? Cheers, --- Diego Queiroz 2011/4/20 Julien Rioux > On 20/04/2011 12:01 PM, Diego Queiroz wrote: > >> Yeah, I already realize

Re: Layout: OptionalArgs

2011-04-20 Thread Jürgen Spitzmüller
2011/4/20 Diego Queiroz: > So is "OptionalArgs" a boolean field? > I am asking this 'cuz the Customization documentation says "OptionalArgs = > number of optional arguments", which means it is an integer field. > Is the documentation wrong or there is another behavior if I set > "OptionalArgs = 2"?

Re: Layout: OptionalArgs

2011-04-20 Thread Julien Rioux
On 20/04/2011 12:01 PM, Diego Queiroz wrote: Yeah, I already realized that "Short title" is a terrible name (since it only makes sense for captions, chapters, sections, and so on). We need to change this in future releases... Anyway... So is "OptionalArgs" a boolean field? I am asking this 'cuz

Re: Layout: OptionalArgs

2011-04-20 Thread Diego Queiroz
Yeah, I already realized that "Short title" is a terrible name (since it only makes sense for captions, chapters, sections, and so on). We need to change this in future releases... Anyway... So is "OptionalArgs" a boolean field? I am asking this 'cuz the Customization documentation says "Optional

Re: Layout: OptionalArgs

2011-04-20 Thread Richard Heck
On 04/20/2011 03:42 AM, Jean-Marc Lasgouttes wrote: Le 20/04/2011 02:23, Diego Queiroz a écrit : When developing layouts, what the "OptionalArgs" command actually do? I mean, I already know what it represents (the number of optional arguments of the command), but it appears to do nothing on LyX

Re: Layout: OptionalArgs

2011-04-20 Thread Jean-Marc Lasgouttes
Le 20/04/2011 02:23, Diego Queiroz a écrit : When developing layouts, what the "OptionalArgs" command actually do? I mean, I already know what it represents (the number of optional arguments of the command), but it appears to do nothing on LyX. It enables the Insert>Short Title (bad name...) m

Layout: OptionalArgs

2011-04-19 Thread Diego Queiroz
When developing layouts, what the "OptionalArgs" command actually do? I mean, I already know what it represents (the number of optional arguments of the command), but it appears to do nothing on LyX. Could someone confirm this? Regards, --- Diego Queiroz