Jürgen Spitzmüller wrote:
rgheck wrote:
The attached patch gives you the more flexible interface. By default, it
sets CustomPars to false and ForcePlain to true. I've also made it so
that, if MultiPar is sets, then CustomPars gets set to the same thing
and ForcePlain to the opposite, so by default it does what you had.
But can you also set these params independently from each other? For instance,
the Glosse inset of the Linguistics module would need MultiPar true and
CustomPars false and ForcePlain false.
Yes, then you just do:
MultiPar true
CustomPars false
ForcePlain false
The only thing you have to make sure of is that CustomPars and
ForcePlain follow MultiPar, since otherwise MultiPars will reset them
when it is read. I've put a check in the code that will issue a warning
in that case.
I'd suggest we go ahead and put this in, since it is a format change
(for layouts).
I agree.
OK, I'll go ahead then. And leave the extension to InsetCollapsable
until later, either in 1.7 trunk or perhaps for 1.6.x.
Richard