Skip to content

Commit d836da7

Browse files
committedFeb 13, 2024
LaTeX reader: treat \Cref like \cref (for now).
See #7463.
1 parent aa00714 commit d836da7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/Text/Pandoc/Readers/LaTeX/Inline.hs

+1
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ refCommands = M.fromList
338338
[ ("label", rawInlineOr "label" dolabel)
339339
, ("ref", rawInlineOr "ref" $ doref "ref")
340340
, ("cref", rawInlineOr "cref" $ doref "ref") -- from cleveref.sty
341+
, ("Cref", rawInlineOr "Cref" $ doref "ref") -- from cleveref.sty
341342
, ("vref", rawInlineOr "vref" $ doref "ref+page") -- from varioref.sty
342343
, ("eqref", rawInlineOr "eqref" $ doref "eqref") -- from amsmath.sty
343344
, ("autoref", rawInlineOr "autoref" $ doref "autoref") -- from hyperref.sty

0 commit comments

Comments
 (0)