]> git.lyx.org Git - lyx.git/commit
Introduce NeedCProtect -1 layout option
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 12 May 2024 05:52:16 +0000 (07:52 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 12 May 2024 17:02:59 +0000 (19:02 +0200)
commitf05fd787548e8b3082051b7d45bb4119f97a55dc
treeed73b814320b68074053a5c110b0466728baeb8c
parent544cf0794eddcd44bc872e5a28c1a97ada109b1b
Introduce NeedCProtect -1 layout option

It turns out beamer frame does not allow \cprotect and errors if it is
used. Hence we need to prevent it in this context entirely.

(cherry picked from commit 207eaeee9071cb828a2ab7f4680f8ff92e379af8)
lib/layouts/beamer.layout
src/Layout.cpp
src/Layout.h
src/OutputParams.h
src/Paragraph.cpp
src/insets/InsetText.cpp
src/output_latex.cpp