On 23.11.04, Paul Smith wrote: > Dear All > > With the cursor inside the LyX enumerate environment, I want to begin > a nested enumerate environment using ERT so that I can pass some > parameters to the enumerate environment (not the default enumerate > environment, but the one provided by the enumerate package). Okay, I > know that I could do everything with a single ERT... but that would > correspond to a waste of LyX facilities. Any ideas?
Are these optional or compulsory arguments? Optional arguments can be supported by LyX with the right layout definition. Something like (untested!) Input stdlists.inc Layout Enumerate OptionalArgs 1 Somewhat misleasding, the optional argument must be given in the Menu topic "short heading" (or the like), as this feature was introduced for [sub[sub]]sections. Another possibility would be to use ERT in a nested standard paragraph to start and end the sublist. You will not see the indent of the sublist but otherwise it should be ok. G�nter -- G.Milde web.de
