Hi all, I sometimes need to export an org document into both HTML and LaTeX. In such case, I want HTML exporter to create numbered captions for figures and tables. So, I've written a small patch to add figure/table numbers to HTML captions. (see 0001-Add-figure-table-numbers-to-HTML-captions.patch) I'll be very happy if this feature is merged into the master branch. This is my first post to this list. Please teach me if we have some better way to submit the patch. Thanks. -- Yoshinari Nomura https://github.com/yoshinari-nomura Example: ----------------------------------------- #+TITLE: Add figure/table numbers to HTML captions #+LATEX_CLASS: article #+LANGUAGE: en #+OPTIONS: toc:nil * Figure Test See Figure[[fig:screenshot]] for screenshot. See Figure[[fig:manual]] for printed version of Org's manual. #+CAPTION: Org mode screen shot #+name: fig:screenshot [[http://orgmode.org/img/main.jpg]] This is org-mode logo: [[http://orgmode.org/img/org-mode-unicorn-logo.png]] (no caption, excluded from ordinal list). #+CAPTION: Org mode manual #+name: fig:manual [[http://orgmode.org/img/org-mode-7-network-theory.jpg]] * Table Test Table[[tab:phone]] shows phone numbers. Table[[tab:age]] shows age list. #+caption: Phones #+name: tab:phone | Name | Phone | Age | |-------+-------+-----| | Peter | 1234 | 17 | | Anna | 4321 | 25 | This is a plain table (no caption, excluded from ordinal list): | No. | Letter | |-----+--------| | 1 | A | | 2 | B | #+caption: Ages #+name: tab:age | Name | Age | Phone | |-------+-----+-------| | Peter | 17 | 1234 | | Anna | 25 | 4321 | -----------------------------------------