Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICML output doesn't retain image caption information #2590

Closed
jaranta opened this issue Dec 16, 2015 · 1 comment
Closed

ICML output doesn't retain image caption information #2590

jaranta opened this issue Dec 16, 2015 · 1 comment

Comments

@jaranta
Copy link

jaranta commented Dec 16, 2015

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 added a commit to mb21/pandoc that referenced this issue Dec 16, 2015
@mb21
Copy link
Collaborator

mb21 commented Dec 16, 2015

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 as completed in f3a9bda Dec 16, 2015
jgm added a commit that referenced this issue Dec 16, 2015
ICML writer: added figure handling, closes #2590
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants