diff options
| author | James P. Ascher <[email protected]> | 2024-04-08 19:15:36 -0400 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-04-08 20:35:22 -0700 |
| commit | a062ebbc4a8ce877a4d97f91d9a6d02b7ac91dec (patch) | |
| tree | b6f858124b416543eead056e26a33232bd7fb1a9 | |
| parent | 91e758590d4952651a02be2d3aa7c1b975a9594d (diff) | |
ConTeXt writer: replace depreciated `\sc` with `\setsmallcaps`
ConTeXt now depreciates `\sc` in favor of `\setsmallcaps`, see #9618
| -rw-r--r-- | src/Text/Pandoc/Writers/ConTeXt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs index b3112a429..09c0ff7e5 100644 --- a/src/Text/Pandoc/Writers/ConTeXt.hs +++ b/src/Text/Pandoc/Writers/ConTeXt.hs @@ -587,7 +587,7 @@ inlineToConTeXt :: PandocMonad m -> WM m (Doc Text) inlineToConTeXt (Emph lst) = highlightInlines "emph" "\\em" lst inlineToConTeXt (Strong lst) = highlightInlines "strong" "\\bf" lst -inlineToConTeXt (SmallCaps lst) = highlightInlines "smallcaps" "\\sc" lst +inlineToConTeXt (SmallCaps lst) = highlightInlines "smallcaps" "\\setsmallcaps" lst inlineToConTeXt (Underline lst) = do contents <- inlineListToConTeXt lst return $ "\\underbar" <> braces contents |
