From 1bf17a7c876fe5070d3bec0cc307c4d3686f3a15 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 16 Nov 2019 19:01:53 -0800 Subject: Ms writer: boldface definition terms in DefinitionLists. Like LaTeX, ConTeXt. --- src/Text/Pandoc/Writers/Ms.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/Ms.hs b/src/Text/Pandoc/Writers/Ms.hs index 7e0a58134..b3f4fa1a0 100644 --- a/src/Text/Pandoc/Writers/Ms.hs +++ b/src/Text/Pandoc/Writers/Ms.hs @@ -308,7 +308,8 @@ definitionListItemToMs :: PandocMonad m -> ([Inline],[[Block]]) -> MS m (Doc Text) definitionListItemToMs opts (label, defs) = do - labelText <- inlineListToMs' opts $ map breakToSpace label + labelText <- withFontFeature 'B' $ + inlineListToMs' opts $ map breakToSpace label contents <- if null defs then return empty else liftM vcat $ forM defs $ \blocks -> do -- cgit v1.2.3