Considere o seguinte .org
arquivo MVE independente , que espero seja auto-explicativo:
#+OPTIONS: toc:nil
Figure [[captions-work-for-src-blocks]] shows that captions are correctly exported
for SRC blocks. The second figure, in an EXAMPLE block, does not receive an
exported caption. Furthermore, cross references to figure
[[captions-dont-work-for-example-blocks]] incorrectly resolve to figure
[[captions-work-for-src-blocks]].
-----
#+NAME: captions-work-for-src-blocks
#+CAPTION: Captions work for SRC blocks
#+BEGIN_SRC
foo(bar) == baz(qux);
#+END_SRC
-----
-----
#+NAME: captions-dont-work-for-example-blocks
#+CAPTION: Captions don't work for EXAMPLE blocks
#+BEGIN_EXAMPLE
foo(bar) == baz(qux);
#+END_EXAMPLE
-----
Em org-latex-export-to-pdf
, produz a seguinte saída:
Estou usando as seguintes versões do software:
: Emacs version: GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911))
: of 2016-09-17
: org version: 9.0.7
Examinei a documentação oficial do modo organizacional, mas não consegui encontrar informações relacionadas a esse problema.