emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: numbering figure in html ?
Date: Tue, 05 Aug 2014 08:50:33 -0400	[thread overview]
Message-ID: <87egwv5cdi.fsf@gmail.com> (raw)
In-Reply-To: CAD-VTcF7Oq3dpAvczSX44Lbk7TMUy1neZQu6d6NK45fPQr+2Rg@mail.gmail.com

Joseph Vidal-Rosset <joseph.vidal.rosset@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

      parent reply	other threads:[~2014-08-05 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 10:19 numbering figure in html ? Joseph Vidal-Rosset
2014-08-04 19:30 ` Nick Dokos
2014-08-05  6:42   ` Joseph Vidal-Rosset
2014-08-05 12:43     ` Nick Dokos
2014-08-05 16:54       ` Joseph Vidal-Rosset
2014-08-05 12:50     ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egwv5cdi.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).