Hello, Clément Pit--Claudel <clement....@gmail.com> writes:
> This org file: > > #+CAPTION: Some C code > #+NAME: fig:c > #+BEGIN_SRC c > int main() { return 0; } > #+END_SRC > > See figure [[fig:c]]. > > produces HTML similar to this: > > … > <label class="org-src-name">Some C code</label> > <pre class="src src-c" id="org632b2ee">…</pre> > </div> > > <p> > See figure <a href="#org632b2ee">1</a>. > </p> > > The link says "Figure (1)", but the figure label doesn't include the > figure number. It would be great to have an option to include it! (or > even to always include it as is done for images, since it can be > hidden from CSS). I agreed we can add it unconditionally, using (org-html--translate "Listing %d:" info). What class do you suggest for the listing number, "<span class=\"listing-number\">"? If so, should `org-html-style-default' be modified? Regards, -- Nicolas Goaziou