]> git.lyx.org Git - features.git/commit
Add NeedMBoxProtect [inset]layout option
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 12 Mar 2019 13:08:05 +0000 (14:08 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:16 +0000 (15:48 +0200)
commit56dd0183190ed5605ab359ed6f1f2f3a6586bb39
treeb62633b0cacd2a0d6303b070df83b6f507846069
parent54582f6b5958c5f5c28a738253837ccb03956285
Add NeedMBoxProtect [inset]layout option

This accesses the inulemcmd output param which protects specific commands
(\cite, \ref) in an \mbox.

This is needed in ulem and soul commands, since their complex
detokenization makes such commands (who produce multiple words via local
assignment) fail.

So now it is possible to properly support ulem and soul via
[inset]layout

Fixes a case reported in #9404
12 files changed:
lib/doc/Customization.lyx
lib/layouts/pdfcomment.module
lib/scripts/layout2layout.py
src/Layout.cpp
src/Layout.h
src/OutputParams.h
src/TextClass.cpp
src/insets/InsetCaption.cpp
src/insets/InsetLayout.cpp
src/insets/InsetLayout.h
src/insets/InsetText.cpp
src/output_latex.cpp