On 03/01/23 18:50, Richard Kimberly Heck wrote:
On 1/3/23 11:49, Lorenzo Bertini wrote:
Hi,

I hope you all had wonderful holidays. I'm doing some tests with local layouts, and I was wondering what is the modality with which a local layout overrides the default: does it completely erase the latter and uses your edits, or does it override only the attributes you've modified?

The latter. Layouts are loaded successively: First, the document class layout; then the modules; then the local layout. Each one can either add to or over-write previous settings. This technique is used in many of the document class layouts themselves: They import 'standard' settings, then modify what needs modifying.


Also, suppose I want to "unset" a layout attribute that is set to something in the default layout, for example "DocbookWrapperTag" because I don't want wrapping: I can obtain what I want doing
> DocbookWrapperTag ""
but is there a better way?

That's the way to do it.

Riki



Many thanks!

--
Lorenzo
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to