>>>>> "Richard" == Richard Heck <[EMAIL PROTECTED]> writes:

Richard> The flag being used is "NeedProtect", which presumably marks
Richard> moving arguments. But still, your general point is well
Richard> taken. This isn't the right flag.

Yes.

Richard> Yes, I agree. The right solution is to deal with this in the
Richard> layout file, though that will require some extensive changes
Richard> there. I think we need: ApplyAlignment [Inside|Outside]
Richard> ---defaults to "Inside" ApplySpacing [Inside|Outside]
Richard> ---defaults to "Inside" 

Or "LatexAlignmentInside [0/1]" "LatexSpacingInside [0/1]". Are there
real cases where the place where spacing is matters? It could be a
case of creating a spacing inset that can be placed inside or outside
of the pagragraph.

Richard> Disabling alignment is easy enough: AlignPossible [whatever
Richard> AlignDefault is] but it'd be better to be able to write:
Richard> AlignPossible None or AlignPossible Layout and have that be
Richard> understood (perhaps it already is, actually). 

The default for AlignPossible is Block, which corresponds to no
alignment. So this part is already done.

Richard> I'll go back through what I've done and separate out the
Richard> parts that were just cleanup, which I ought to have done
Richard> anyway (though it's a pain when it's all entangled with other
Richard> changes).  

OK.

Richard> I will also, if it's OK with you, make LyX's treatment of
Richard> spacing and alignment consistent: They will be output
Richard> together by a routine in ParagraphParameters.C that is
Richard> responsible for writing the paragraph's parameters. ;-) That
Richard> will make whatever eventually gets done here easier. 

OK

Richard> The cleanup will also resolve the issue with \items and take
Richard> care of at least part of bug 448, the use of raggedright
Richard> instead of flushleft, etc. The part of bug 448 that will not
Richard> be addressed concerns the use of "\par", which is also the
Richard> offender in other cases. I'll post a separate message about
Richard> that and see if anyone else wants to jump in.

OK, thanks.

JMarc

Reply via email to