By default LyX loads standard layouts and insets. Is there a way to extend them without overwriting the default .inc file and without using a module?

Let's say I want to extend the standard Note style.

I don't want to use a module since I want to make a non-optional change to the Note inset. For example, I want to use another font size for all LyX notes.

If I understood correctly, I can just put a copy of the stdinset.inc file from the library to the user directory. But this will have the unwelcome effect to overwrite whatever is in the stdinset.inc in the library directory. So, to avoid unwanted consequences, I will have to update my user stdinset.inc every time the library stdinset.inc changes, for example, in a new version of LyX.

So I would rather like to *extend* the current library file by just the font-size changes by

InsetLayout Note:Note
    CopyStyle Note
    Font
        Size                Small
    EndFont
End

So LyX should load the library's stdinset.inc first and then load the code that extends it next.

Is there currently a way to do this?

Daniel

Reply via email to