Every day, and in every way, it gets better and better. (With apologies to Inspector Dreyfus, not to mention Emile Coue.)

rh

Martin Vermeer wrote:
On Wed, Oct 24, 2007 at 12:38:54PM +0200, Jean-Marc Lasgouttes wrote:
Martin Vermeer <[EMAIL PROTECTED]> writes:

Ah. But doesn't verbatim imply free spacing? And what about allowEmpty()?

I see what's happening with the Verbatim layout and with the
FreeSpacing parameter, but what is the logic behind it (if any)?
Should we have a separate FreeSpacing parm for insets also? Doable.
There are some things in Layout objects that would be useful in
InsetLayout, namely:

        ///
        bool free_spacing;
        ///
        bool pass_thru;
        /** true when the fragile commands in the paragraph need to be
            \protect'ed. */
        bool needprotect;
        /// true when empty paragraphs should be kept.
        bool keepempty;

It would make sense to have the same concepts in both kind of layouts.
I think your verbatim is what is called pass_thru in Layout. I do not
care about particular names, but uniformity is good (meaning that if
you prefer you can rename PassThru to Verbatim for normal paragraphs).

JMarc

Done, see attached.

- Martin


Reply via email to