org-mode beamer/latex export requires "#+NAME:" attribute for proper captions/centering #2643
pmagwene
commented
tarleb
commented
I'd classify this as a bug in the Org reader: Pandoc doesn't have a figure type, so it marks images as a figures using special attributes. Even if NAME is missing, the reader correctly recognizes that this should be a figure, but fails to set the necessary attributes to signal this fact to the writer.
If somebody wants to make a pull request for this within the next 9 hours: this should be fixable with a simple change in line 631. Otherwise I'll fix it later or tomorrow.
pmagwene
closed this
pmagwene
reopened this
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pandoc version: 1.15.2
If the
#+NAME
attribute isn't specified for a figure, the corresponding figure does not get properly centered in LaTeX/beamer output.Here's a MWE:
Generates this:
but
generates