Hello! Is there some way to tell LyX, that some layout definitions (in *Document → Local Layout* or in a layout/module file) depend on the preamble defined by others?
E.g. consider the following: InsetLayout Flex:Test Decoration classic LyxType custom LatexType command LatexName testit LabelString Test Preamble \newcommand\testit[1]{testit(#1)} EndPreamble End InsetLayout Flex:TestInherit CopyStyle Flex:Test LatexName testitb LabelString TestInherit Preamble \newcommand\testitb[1]{((\testit{#1}))} EndPreamble End IfI am searching for a way to tell LyX about this dependency, i.e. *“If Flex:TestInherit is used, also add the preamble defined by Flex:Test, even if it isn't used separately.”* Full exaple file: https://drive.google.com/open?id=1barXTBvo7HvozHCPc2bJ8kSBB0HkokOB - Klaus