Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> writes:
> The following code works correctly to export into LaTeX, but the > caption function fails in html. But caption works in html when it is > above a table written in org-mode. > > #+OPTIONS: LaTeX:verbatim > #+LaTeX_CLASS: org-article > #+LaTeX_CLASS_OPTIONS: [koma,a4paper,11pt] > #+LaTeX_CLASS_OPTIONS: [times] > #+LANGUAGE: en > #+OPTIONS: ':t > #+OPTIONS: tex:t > #+LATEX_HEADER: \usepackage{tikz} > #+LaTeX_CLASS_OPTIONS: [captions=tableheading] > #+OPTIONS: tex:imagemagick > > #+CAPTION: Classical square of opposition > #+BEGIN_FIGURE > ... > #+END_FIGURE > BTW, the HTML also has the figure wrapped in <p>...</p> which I think is wrong. I wonder if it's an instance of the bug that Daniel Clemente pointed out in http://thread.gmane.org/gmane.emacs.orgmode/89413 although at first glance, it seems distant enough to be unrelated. -- Nick