>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> LyX needs a standard layout in all text classes for things like
Georg> ERT. g-brief does not have one
Georg> (http://bugzilla.lyx.org/show_bug.cgi?id=2026).

Georg> The attached patch is one solution (which I would prefer),
Georg> others are described in bugzilla. Which solution should we
Georg> choose?

As I wrote in the bug, I am not sure we need to enforce Standard
paragraphs. Note that g-brief will probably use Letter (the default
layout) in ERT anyway. This is very bad, but it happens because we
have no notion of a 'naked style' (not defaultLayout, but some layout
that would have all characteristics set to default). Implementing such
a style in textclass would not be difficult (it does not need to be
declared in layout files actually), and code relying on
forceDefaultParagraph should rely on this new nakedLayout() instead of
defaultLayout(). This is not difficult to do, but more work that just
adding a Standard entry to g-brief-en.

JMarc

Reply via email to