]> git.lyx.org Git - lyx.git/commit
Introduce new InsetLayout tag InheritFont
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 16 Jul 2023 17:05:55 +0000 (19:05 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 22 Jul 2023 13:53:14 +0000 (15:53 +0200)
commitcfe094a380135f0e95ee859444f9c0b8e081c2e7
tree9ec3fb1740acd539d9822890dd4bfe6c91cb29a1
parentc8c589353ade8d8b82248e8adf79ea2feb43b454
Introduce new InsetLayout tag InheritFont

The font inside the inset is inherited from the parent for LaTeX
export if this parameter is true, as well as on screen. Otherwise
the document default font is used.

The default value is true.

Update tufte layouts to use this tag for sidenote and marginnote flex
insets.

Increase layout format to 101.

Fixes bug #12238.
lib/doc/Customization.lyx
lib/layouts/tufte-book.layout
lib/scripts/layout2layout.py
src/insets/Inset.h
src/insets/InsetLayout.cpp
src/insets/InsetLayout.h