From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: numbering figure in html ? Date: Tue, 05 Aug 2014 08:50:33 -0400 Message-ID: <87egwv5cdi.fsf@gmail.com> References: <87wqao2gti.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEeCc-00013q-EH for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 08:51:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEeCW-00042k-0f for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 08:50:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:51792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEeCV-00042Y-Pw for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 08:50:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XEeCS-0000kr-29 for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 14:50:44 +0200 Received: from pool-173-48-174-104.bstnma.fios.verizon.net ([173.48.174.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 14:50:44 +0200 Received: from ndokos by pool-173-48-174-104.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 14:50:44 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Joseph Vidal-Rosset 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

...

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