mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 15:05:47 +00:00
ConTeXt writer: replace depreciated \sc with \setsmallcaps
ConTeXt now depreciates `\sc` in favor of `\setsmallcaps`, see #9618
This commit is contained in:
committed by
John MacFarlane
parent
91e758590d
commit
a062ebbc4a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user