emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yoshinari Nomura <nom@quickhack.net>
To: emacs-orgmode@gnu.org
Subject: Re: Add figure/table numbers to HTML captions
Date: Fri, 28 Jun 2013 08:37:29 +0900 (JST)	[thread overview]
Message-ID: <20130628.083729.1476800947386726109.nom@quickhack.net> (raw)
In-Reply-To: <87mwqbpz1v.fsf@pank.eu>

Hi Rasmus,

Thanks your good suggestion.

> I'm not an expert on html, but how easy it is to enable/disable/alter
> your solution locally compared to a html5/css solution?  E.g. as here:
> 
>   http://tympanus.net/codrops/2013/05/02/automatic-figure-numbering-with-css-counters/
> 
> Note, I don't know if this can be used for tables, or only figures,
> but being able to change the style in css seems nice.

I'm also not an expert on HTML, but I think we can add some HTML
annotations such as id, class... That will help the HTML5 staffs to
manipulate the ordinal-number part in captions.

Besides the HTML matter, I might have to add some control variables to
on/off the numbering feature.

As for the ``automatic numbering with css'' concept, it might be
difficult to work with ox-html. Because ox-html has to control all the
ordinal numbers by itself to use the numbers in the anchor texts
conforming with the numbers in captions. Also, TOC scheme might be suffered.

>        http://orgmode.org/worg/org-contribute.html
> 
> You could use git format-patch and make sure that the commit message
> is a change-log entry as described on Worg (C-x 4 a on your change in
> the diff file should bring up the correct changelog mode).

Thanks a lot! I've forgot the word RTFM :)
--
Yoshinari Nomura
https://github.com/yoshinari-nomura

  reply	other threads:[~2013-06-27 23:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 10:52 Add figure/table numbers to HTML captions Yoshinari Nomura
2013-06-27 11:34 ` Rasmus
2013-06-27 23:37   ` Yoshinari Nomura [this message]
2013-06-27 14:46 ` Nicolas Goaziou
2013-06-28  1:15   ` Yoshinari Nomura
2013-06-28  9:23     ` Nicolas Goaziou
2013-06-28 11:51       ` Yoshinari Nomura
2013-06-29  7:01       ` Yoshinari Nomura
2013-06-29  8:02         ` Nicolas Goaziou
2013-06-29 10:00           ` Yoshinari Nomura
2013-06-29 12:09             ` Nicolas Goaziou
2013-06-29 13:48               ` Yoshinari Nomura
     [not found]                 ` <rt-3.4.5-3864-1375881898-1936.839264-5-0@rt.gnu.org>
2013-08-08  0:43                   ` Yoshinari Nomura
2013-08-08 12:22                     ` Nicolas Goaziou

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=20130628.083729.1476800947386726109.nom@quickhack.net \
    --to=nom@quickhack.net \
    --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).