From 7fe1016f5e9e8d890768a464676aabd5f4966674 Mon Sep 17 00:00:00 2001 From: jfbu Date: Thu, 27 Dec 2018 17:35:11 +0100 Subject: [PATCH] LaTeX: escape Unicode HEAVY CHECK MARK into latex macros Closes: #3707 --- CHANGES | 1 + sphinx/util/texescape.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index d3f8b0a0e..0c990f698 100644 --- a/CHANGES +++ b/CHANGES @@ -15,6 +15,7 @@ Features added Bugs fixed ---------- +* #3707: latex: no bold checkmark (✔) available. * #5605 If the documentation language is set to Chinese, English words could not be searched. diff --git a/sphinx/util/texescape.py b/sphinx/util/texescape.py index 8d37e0f60..e9b94bf01 100644 --- a/sphinx/util/texescape.py +++ b/sphinx/util/texescape.py @@ -37,6 +37,7 @@ tex_replacements = [ ('→', r'\(\rightarrow\)'), ('‣', r'\(\rightarrow\)'), ('✓', r'\(\checkmark\)'), + ('✔', r'\(\pmb{\checkmark}\)'), # used to separate -- in options ('', r'{}'), # map some special Unicode characters to similar ASCII ones