On Wed, Oct 10, 2007 at 01:47:23PM -0400, Richard Heck wrote: > Martin Vermeer wrote: > >On Wed, Oct 10, 2007 at 11:55:12AM -0400, Richard Heck wrote: > > > >>Tommaso Cucinotta wrote: > >> > >>>Tommaso Cucinotta ha scritto: > >>> > >>>>like a "paragraph settings" or "layout settings" dialog. > >>>> > >>>Or, in order to have it more explicit in the text, it might be simply > >>>a little "hole" that always appears near the very start of the > >>>environment supporting the option... > >>> > >>Yes. Or even just a single button, marked "EvnOpts" or something, and if > >>you press that you get a dialog allowing you to enter whatever there is > >>to enter. The box shouldn't be a separate inset, like Short Title, but > >>instead would get drawn with the environment somehow. The former > >>solution leads to lots of problems. > >> > >Hmmm, it can be an inset without looking like one. You can do a lot of > >visual remodelling of insets nowadays ;-) > > > >The good thing about this being an inset is that you can enter full > >LyXText into it, generating full LaTeX. > > > Right. The problem with these Short Title insets, as I see it, is that > we need to do a lot of dancing to keep them in the right place., viz, at ^^^^^ Metaphysics...
> the front of the paragraph. Whereas if the inset were somehow bound to > the paragraph, and drawn by it (so to speak), then you don't have to > worry about that. But maybe the two ideas can be combined, so that it > really is an inset, with all the benefits and responsibilities thereof, > but still it has no "independent existence", so to speak. Only LaTeX wants the optional argument to be at the start, and the output code handles that. "Somewhere in the paragraph" is IMHO good enough to visualize association. No, a more serious problem is that the paragraph's layout can change to one for which no optarg is allowed, and nothing happens. The optarg should somehow be visually disabled, by greying out or whatever. (It shouldn't be deleted... data loss.) - Martin