Vincent van Ravesteijn - TNW wrote:
Ultimately, I'd like to see some quite different solution,
one that would allow multiple optional arguments and would
even allow (require!) the insertion of required additional
arguments. What I have in mind would be, say, a little box
drawn to the left of a section environment.
Clicking on that box would open a dialog, and the dialog
would be something like:
Short Title (Optional): [--------------------------]
[OK] [Cancel]
The title "Short Title" would come from the layout file.
So you'd get the same thing with Theorem, except you'd see:
Theorem Description (Optional): [------------------]
[OK] [Cancel]
or something like that. Now suppose you had some environment
that wanted a required argument. No problem. We can get that
>from the layout, too:
Header (Required) : [--------------------------]
Subheader (Optional): [-----------------------]
[OK] [Cancel]
We could even have a dropbox for such arguments, I'd suppose.
And that could be used to allow different sorts of numbering
with enumerations, for example.
I once had a reason to want this last sort of thing, but I
can't now remember what it was.
Richard
Isn't this what has been discussed in bug 5183:
http://bugzilla.lyx.org/show_bug.cgi?id=5183.
No, not quite, because in that case you really want LyX text, rather
than a pure string---though I guess that is also the case with short
titles. Hmm. I'll have to think more about this.
Richard