Si prega di considerare il seguente .org
file MVE autonomo , che spero sia autoesplicativo:
#+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
-----
On org-latex-export-to-pdf
, produce il seguente output:
Sto usando le seguenti versioni del 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
Ho esaminato la documentazione ufficiale in modalità org, ma non sono riuscito a trovare informazioni relative a questo problema.