On 28.07.2021 4:33, Richard Kimberly Heck wrote:
On 7/27/21 4:19 PM, Yuriy Skalko wrote:
Hello all,

When I'm defining simple custom inset (in Local Layout):

InsetLayout Flex:BoxInset
     LyxType               custom
     LabelString           Box
     LatexType             Paragraph
     Decoration            Classic
End

I'm getting this error:

     insets/InsetLayout.cpp (283): Unknown LaTeXType `Paragraph'.

But according to Customization manual this is valid value for LaTeXType!

I think the manual must be wrong. The "none" case, which is valid,
probably does what you want Paragraph to do, i.e., it just outputs the
contents of the inset without any surrounding LaTeX stuff.

Riki

Thanks Riki,

Yes, the "None" works here. Really LatexType property for flex insets is also described in manual with correct allowable values (and Paragraph can be used only in paragraph styles), but unlike many other properties that can have same values for both paragraph styles and flex insets, this one has such subtle difference.


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

Reply via email to