From 33e2d46dbea6ca216b44d2f5d6cf3b74899caef6 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 5 May 2019 14:48:37 +0200 Subject: Org reader: prefer plain symbols over math symbols Symbols like `\alpha` are output plain and unemphasized, not as math. Fixes: #5483 --- test/Tests/Readers/Org/Inline.hs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/Tests/Readers/Org/Inline.hs b/test/Tests/Readers/Org/Inline.hs index 856f01063..962e050f0 100644 --- a/test/Tests/Readers/Org/Inline.hs +++ b/test/Tests/Readers/Org/Inline.hs @@ -328,9 +328,13 @@ tests = "\\emph{Emphasis mine}" =?> para (emph "Emphasis mine") - , "Inline LaTeX math symbol" =: - "\\tau" =?> - para (emph "τ") + , "Inline math symbols" =: + "\\tau \\oplus \\alpha" =?> + para "τ ⊕ α" + + , "Inline LaTeX math command" =: + "\\crarr" =?> + para "↵" , "Unknown inline LaTeX command" =: "\\notacommand{foo}" =?> -- cgit v1.2.3