]> git.lyx.org Git - features.git/commit
Revert parts of 7e69ac220dd
authorGeorg Baum <baum@lyx.org>
Mon, 22 Dec 2014 20:32:45 +0000 (21:32 +0100)
committerGeorg Baum <baum@lyx.org>
Mon, 22 Dec 2014 20:32:45 +0000 (21:32 +0100)
commitbb87e0422a17f062c0b53071a7628419979b7a4b
tree7d8357346d94bccd2370e82f0c135d1dbee43e18
parente32a3e7f57fa0823a16caad64b4273c4a3c30cce
Revert parts of 7e69ac220dd

This fixes the tex2lyx test test-refstyle-theorems.tex. It seems that the
intent of the fix was to remove a \protect in front of a \caption,
\captionabove or \captionbelow, but the implementation did not really do that.
Furthermore, it is not clear in which cases a \protect in front of a caption
needs to removed, and in which cases it needs to be kept: After looking at the
LyX sources I could not see that caprions are always output with \protect.
src/tex2lyx/text.cpp