@@ -369,6 +369,7 @@ inlineToOpenDocument o ils
369 | Strikeout l <- ils = withTextStyle Strike $ inlinesToOpenDocument o l
369 | Strikeout l <- ils = withTextStyle Strike $ inlinesToOpenDocument o l
370 | Superscript l <- ils = withTextStyle Sup $ inlinesToOpenDocument o l
370 | Superscript l <- ils = withTextStyle Sup $ inlinesToOpenDocument o l
371 | Subscript l <- ils = withTextStyle Sub $ inlinesToOpenDocument o l
371 | Subscript l <- ils = withTextStyle Sub $ inlinesToOpenDocument o l
372+ | SmallCaps l <- ils = withTextStyle SmallC $ inlinesToOpenDocument o l
372 | Quoted t l <- ils = inQuotes t <$> inlinesToOpenDocument o l
373 | Quoted t l <- ils = inQuotes t <$> inlinesToOpenDocument o l
373 | Code s <- ils = preformatted s
374 | Code s <- ils = preformatted s
374 | Math s <- ils = inlinesToOpenDocument o (readTeXMath s)
375 | Math s <- ils = inlinesToOpenDocument o (readTeXMath s)
@@ -508,19 +509,20 @@ paraTableStyles t s (a:xs)
508 [ ("fo:text-align", x)
509 [ ("fo:text-align", x)
509 , ("style:justify-single-word", "false")]
510 , ("style:justify-single-word", "false")]
511−data TextStyle = Italic | Bold | Strike | Sub | Sup deriving ( Eq )
512+data TextStyle = Italic | Bold | Strike | Sub | Sup | SmallC deriving ( Eq )
513textStyleAttr :: TextStyle -> [(String,String)]
514textStyleAttr :: TextStyle -> [(String,String)]
514textStyleAttr s
515textStyleAttr s
515− | Italic <- s = [("fo:font-style" ,"italic" )
516+ | Italic <- s = [("fo:font-style" ,"italic" )
516− ,("style:font-style-asian" ,"italic" )
517+ ,("style:font-style-asian" ,"italic" )
517− ,("style:font-style-complex" ,"italic" )]
518+ ,("style:font-style-complex" ,"italic" )]
518− | Bold <- s = [("fo:font-weight" ,"bold" )
519+ | Bold <- s = [("fo:font-weight" ,"bold" )
519− ,("style:font-weight-asian" ,"bold" )
520+ ,("style:font-weight-asian" ,"bold" )
520− ,("style:font-weight-complex" ,"bold" )]
521+ ,("style:font-weight-complex" ,"bold" )]
521− | Strike <- s = [("style:text-line-through-style", "solid" )]
522+ | Strike <- s = [("style:text-line-through-style", "solid" )]
522− | Sub <- s = [("style:text-position" ,"sub 58%" )]
523+ | Sub <- s = [("style:text-position" ,"sub 58%" )]
523− | Sup <- s = [("style:text-position" ,"super 58%")]
524+ | Sup <- s = [("style:text-position" ,"super 58%" )]
525+ | SmallC <- s = [("fo:font-variant" ,"small-caps")]
524 | otherwise = []
526 | otherwise = []
526openDocumentNameSpaces :: [(String, String)]
528openDocumentNameSpaces :: [(String, String)]