@@ -369,6 +369,7 @@ inlineToOpenDocument o ils
369369 | Strikeout l <- ils = withTextStyle Strike $ inlinesToOpenDocument o l
370370 | Superscript l <- ils = withTextStyle Sup $ inlinesToOpenDocument o l
371371 | Subscript l <- ils = withTextStyle Sub $ inlinesToOpenDocument o l
372+ | SmallCaps l <- ils = withTextStyle SmallC $ inlinesToOpenDocument o l
372373 | Quoted t l <- ils = inQuotes t <$> inlinesToOpenDocument o l
373374 | Code s <- ils = preformatted s
374375 | Math s <- ils = inlinesToOpenDocument o (readTeXMath s)
@@ -508,19 +509,20 @@ paraTableStyles t s (a:xs)
508509 [ ("fo:text-align", x)
509510 , ("style:justify-single-word", "false")]
510511
511−data TextStyle = Italic | Bold | Strike | Sub | Sup deriving ( Eq )
512+data TextStyle = Italic | Bold | Strike | Sub | Sup | SmallC deriving ( Eq )
512513
513514textStyleAttr :: TextStyle -> [(String,String)]
514515textStyleAttr s
515− | Italic <- s = [("fo:font-style" ,"italic" )
516− ,("style:font-style-asian" ,"italic" )
517− ,("style:font-style-complex" ,"italic" )]
518− | Bold <- s = [("fo:font-weight" ,"bold" )
519− ,("style:font-weight-asian" ,"bold" )
520− ,("style:font-weight-complex" ,"bold" )]
521− | Strike <- s = [("style:text-line-through-style", "solid" )]
522− | Sub <- s = [("style:text-position" ,"sub 58%" )]
523− | Sup <- s = [("style:text-position" ,"super 58%")]
516+ | Italic <- s = [("fo:font-style" ,"italic" )
517+ ,("style:font-style-asian" ,"italic" )
518+ ,("style:font-style-complex" ,"italic" )]
519+ | Bold <- s = [("fo:font-weight" ,"bold" )
520+ ,("style:font-weight-asian" ,"bold" )
521+ ,("style:font-weight-complex" ,"bold" )]
522+ | Strike <- s = [("style:text-line-through-style", "solid" )]
523+ | Sub <- s = [("style:text-position" ,"sub 58%" )]
524+ | Sup <- s = [("style:text-position" ,"super 58%" )]
525+ | SmallC <- s = [("fo:font-variant" ,"small-caps")]
524526 | otherwise = []
525527
526528openDocumentNameSpaces :: [(String, String)]