@@ -673,7 +673,12 @@ blockToOpenXML opts (Plain lst) = withParaProp (pCustomStyle "Compact")
673-- title beginning with fig: indicates that the image is a figure
673-- title beginning with fig: indicates that the image is a figure
674blockToOpenXML opts (Para [Image alt (src,'f':'i':'g':':':tit)]) = do
674blockToOpenXML opts (Para [Image alt (src,'f':'i':'g':':':tit)]) = do
675 setFirstPara
675 setFirstPara
676+ pushParaProp $ pCustomStyle $
679+ else "FigureWithCaption"
676 paraProps <- getParaProps False
680 paraProps <- getParaProps False
677 contents <- inlinesToOpenXML opts [Image alt (src,tit)]
682 contents <- inlinesToOpenXML opts [Image alt (src,tit)]
678 captionNode <- withParaProp (pCustomStyle "ImageCaption")
683 captionNode <- withParaProp (pCustomStyle "ImageCaption")
679 $ blockToOpenXML opts (Para alt)
684 $ blockToOpenXML opts (Para alt)