Le 23/01/2018 à 18:50, Klaus-Dieter Bauer a écrit :
It seems that DependsOn works only for styles depending on styles; It
cannot have a style depend on an inset, or an inset on a style apparently.
Hello,
You are unfortunately right. This is a missing feature.
I realize from you message that
On 01/23/2018 12:27 PM, Klaus-Dieter Bauer wrote:
Hello!
Is there some way to specify layouts, that depend on the preamble of
another?
Consider e.g. the following LyX file:
#LyX 2.3 created this file.
\lyxformat 544
\begin_document
\begin_header
\begin_local_layout
It seems that DependsOn works only for styles depending on styles; It
cannot have a style depend on an inset, or an inset on a style apparently.
Which means, that definitions needed by multiple InsetLayout's always have
to go to the global Preamble block.
Is there maybe some alternative to
I figured it out myself: The DependsOn property apparently doesn't actually
work for insets (only for styles).
2018-01-23 18:27 GMT+01:00 Klaus-Dieter Bauer
:
> Hello!
>
> Is there some way to specify layouts, that depend on the preamble of
> another?
>
> Consider
Hello!
Is there some way to specify layouts, that depend on the preamble of
another?
Consider e.g. the following LyX file:
#LyX 2.3 created this file.
\lyxformat 544
\begin_document
\begin_header
\begin_local_layout
InsetLayout Flex:AAA
LyxType custom
LabelString AAA
LatexName AAA
LatexType