Skip to content

ICML output doesn't retain image caption information #2590

Closed
gitkrax opened this Issue · 1 comment

2 participants

@gitkrax

Converting markdown to ICML ignores all captions. I'm not familiar enough with ICML to know whether this is due to a lack in the ICML spec, but losing information on the way doesn't seem like the best way to implement the conversion.

If the ICML spec allows it, the perfect solution would be to retain the captions.

An acceptable solution would be to convert the text into a paragraph after the image, so it could be converted into a caption manually. Now all converted files have to be manually compared to their source to figure out whether the captions have been dropped or whether the images didn't have captions to begin with.

@mb21 mb21 added a commit to mb21/pandoc that referenced this issue
@mb21 mb21 ICML writer: added figure handling, closes #2590 e64a16b
@mb21

Right, most other writers print out the caption of figures (i.e. images that form their own paragraph). Implemented it like this as well.

@jgm jgm closed this in f3a9bda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.