]> git.lyx.org Git - lyx.git/commit
Add basic support for cprotect
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Apr 2018 15:46:37 +0000 (17:46 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Apr 2018 15:46:37 +0000 (17:46 +0200)
commit2ba584957cf11c80ecaf360bc8f7559c76e79a01
treeeaf32085402c85fac2f22b4d546036bc596fe293
parent6cffd468e0b6421643007dc9086bc499c6d7cdad
Add basic support for cprotect

This allows (some) verbatim contents in macros, such as \url's with
specific chars (#, % etc.) in section headings or footnotes (#449)
or comments in captions (#9313).

The mentioned two bugs are fixed by this commit.

Note that the implementation is still rather basic and might need
extension for other cases.
13 files changed:
lib/chkconfig.ltx
lib/doc/Customization.lyx
lib/doc/LaTeXConfig.lyx
lib/layouts/stdinsets.inc
src/LaTeXFeatures.cpp
src/Paragraph.cpp
src/Paragraph.h
src/insets/Inset.h
src/insets/InsetLayout.cpp
src/insets/InsetLayout.h
src/insets/InsetText.cpp
src/insets/InsetText.h
src/output_latex.cpp