Hello,
Emmanuel Charpentier writes:
> Dunno. Maybe \captionof{listing} ?
I don't know either, but the above raises an error:
LaTeX Error: No counter 'listing' defined.
It could work, but the complete solution is probably a bit more
involved. If you can write a setup that produces the desire
Dear John,
This does *not* work for me. See the attached files.
I begin to suspect a very recent bug : I'm following MELPA, which
updates about once a week. My org-version says: Org mode version 9.2.3
(9.2.3-11-g42abf5-elpaplus @ /home/charpent/.emacs.d/elpa/org-plus-
contrib-20190429/).
Cordially,
This works as expected in LaTeX for me with org-ref (you could probably use
raw latex if you wanted):
#+caption: The first source block. label:src-1
#+BEGIN_SRC ipython
print('Hello world')
#+END_SRC
Later we refer to the code in Listing ref:src-1 or ref:src-2. That is
different than Figure ref:
Hi, Nicolas !
Le mardi 30 avril 2019 à 19:05 +0200, Nicolas Goaziou a écrit :
> Hello,
>
> Emmanuel Charpentier writes:
>
> > Whereas the HTML exporter correctly recognize a source block as
> > such,
> > the LaTeX/PDF exporter does not.
> >
> > This can be demonstrated in a (minimal) org file
Hello,
Emmanuel Charpentier writes:
> Whereas the HTML exporter correctly recognize a source block as such,
> the LaTeX/PDF exporter does not.
>
> This can be demonstrated in a (minimal) org file using *only* the
> built-in tools (no external packages), where a source block is labelled
> as such
I shall report formally the problems mentioned in
http://lists.gnu.org/archive/html/emacs-orgmode/2019-04/msg00240.html,
trying to isolate them as much as possible. I'll start with the
simplest (and, IMHO, the most annoying).
Whereas the HTML exporter correctly recognize a source block as such,
t