We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8765edf commit e074bafCopy full SHA for e074baf
src/Text/Pandoc/Writers/Texinfo.hs
@@ -123,8 +123,7 @@ blockToTexinfo (Plain lst) =
123
inlineListToTexinfo lst
124
125
-- title beginning with fig: indicates that the image is a figure
126
-blockToTexinfo (Para [Image attr txt (src,tgt)])
127
- | Just tit <- T.stripPrefix "fig:" tgt = do
+blockToTexinfo (SimpleFigure attr txt (src, tit)) = do
128
capt <- if null txt
129
then return empty
130
else (\c -> text "@caption" <> braces c) `fmap`
0 commit comments