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

RST reader: fix figclass and align annotations for figures #9744

Merged
merged 1 commit into from
May 10, 2024

Conversation

gok99
Copy link
Contributor

@gok99 gok99 commented May 10, 2024

Fixes #7473

This PR implements the following:

  1. It seems figclasses are currently not being extracted correctly since the wrong key-values are used - this PR extracts them from keyvals instead of the key-value output from imgAttr
  2. figclass and align annotations are implemented following the rst docs: these options apply to the figure while other options are passed onto the underlying image.

@jgm jgm merged commit 74add4b into jgm:main May 10, 2024
9 of 12 checks passed
@jgm
Copy link
Owner

jgm commented May 10, 2024

Thanks!

@gok99 gok99 deleted the 7473-fix branch May 12, 2024 12:50
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

Successfully merging this pull request may close these issues.

rst figure options are applied to image only
2 participants