Skip to content

Commit

Permalink
OMML: Don't force everything into Roman font by default.
Browse files Browse the repository at this point in the history
This change ensures that variables etc. will be italic by default
in Word.  See jgm/pandoc#2075.
  • Loading branch information
jgm committed Apr 13, 2015
1 parent e0c4247 commit ebc6625
Show file tree
Hide file tree
Showing 569 changed files with 31,291 additions and 82,617 deletions.
2 changes: 1 addition & 1 deletion src/Text/TeXMath/Writers/OMML.hs
Expand Up @@ -28,7 +28,7 @@ import Data.Generics (everywhere, mkT)

-- | Transforms an expression tree to an OMML XML Tree
writeOMML :: DisplayType -> [Exp] -> Element
writeOMML dt = container . concatMap (showExp (setProps TextNormal))
writeOMML dt = container . concatMap (showExp [])
. everywhere (mkT $ handleDownup dt)
where container = case dt of
DisplayBlock -> \x -> mnode "oMathPara"
Expand Down

0 comments on commit ebc6625

Please sign in to comment.