emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Kodi Arfer <kodi@arfer.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ox-html: Allow "Figure %d:", etc. to be styled
Date: Tue, 09 Jul 2013 21:53:26 +0200	[thread overview]
Message-ID: <87bo6b1pe1.fsf@gmail.com> (raw)
In-Reply-To: <51D4A375.9050904@arfer.net> (Kodi Arfer's message of "Wed, 03 Jul 2013 18:19:33 -0400")

Hello,

Kodi Arfer <kodi@arfer.net> writes:

> From a873d204b2c4f3facf2d8658f69764acbd063246 Mon Sep 17 00:00:00 2001
> From: Kodi Arfer <git@arfer.net>
> Date: Wed, 3 Jul 2013 17:51:56 -0400
> Subject: [PATCH] ox-html: Allow "Figure %d:", etc. to be styled
>
> * lisp/ox-html.el (org-html-paragraph): Wrap "Figure %d:" in
>   <span class="figure-number">.
>   (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
>    <span class="table-number">.
>   (org-html-list-of-listings): Wrap "Listing %d:" in
>   <span class="listing-number">.
> * doc/org.text (CSS support): Mention .figure-number,
>   .listing-number, and .table-number.

Thank you for the patch.

Wouldn't it be more future-proof to wrap them within the same CSS entry?
Otherwise, if we ever introduce other caption types, we'll need to
remember to add another entry for it.

Obviously, my question assume it is very unlikely that someone would
want different styles for captions. But I may be wrong.

BTW, do you have any news about your FSF papers?


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-07-09 19:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 22:19 [PATCH] ox-html: Allow "Figure %d:", etc. to be styled Kodi Arfer
2013-07-09 19:53 ` Nicolas Goaziou [this message]
2013-07-09 20:19   ` Kodi Arfer
2013-07-09 20:31     ` Nicolas Goaziou
2013-07-09 21:24     ` Bastien

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=87bo6b1pe1.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kodi@arfer.net \
    /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).