From 4487af367ce3ccaa64a1192fac34150830fd246a Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 24 Nov 2020 15:19:56 +0100 Subject: [PATCH] Do not \cprotect \textcolor Fixes #12034 --- src/Font.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Font.cpp b/src/Font.cpp index b70c237db4..26218eeeac 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -399,10 +399,6 @@ int Font::latexWriteStartChanges(otexstream & os, BufferParams const & bparams, os << '}'; ++count; } else if (f.color() != Color_none) { - if (needs_cprotection) { - os << "\\cprotect"; - count += 9; - } os << "\\textcolor{" << from_ascii(lcolor.getLaTeXName(f.color())) << "}{";