Error compiling current master

Yuriy Skalko yuriy.skalko at gmail.com
Sun Dec 6 18:27:44 UTC 2020


> I get the following:
> 
> 
> /home/scott/lyxbuilds/master/repo/src/tex2lyx/tex2lyx.cpp: In function ‘const 
> lyx::InsetLayout* lyx::findInsetLayoutWithoutModule(const lyx::TextClass&, 
> const string&, bool, const string&)’:
> /home/scott/lyxbuilds/master/repo/src/tex2lyx/tex2lyx.cpp:198:60: error: 
> ‘COMMAND’ is not a member of ‘lyx::InsetLayout’
>   198 |       ((command && ilay.second.latextype() == InsetLayout::COMMAND) ||
>       |                                                            ^~~~~~~
> /home/scott/lyxbuilds/master/repo/src/tex2lyx/tex2lyx.cpp:199:61: error: 
> ‘ENVIRONMENT’ is not a member of ‘lyx::InsetLayout’
>   199 |        (!command && ilay.second.latextype() == 
> InsetLayout::ENVIRONMENT)))
>       |                                                             ^~~~~~~~~~~
> 
> Scott


Sorry, I haven't checked tex2lyx. Thanks Pavel for the fix.

Yuriy


More information about the lyx-devel mailing list