emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] ox-html: Allow "Figure %d:", etc. to be styled


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] ox-html: Allow "Figure %d:", etc. to be styled
Date: Tue, 09 Jul 2013 21:53:26 +0200

Hello,

Kodi Arfer <address@hidden> writes:

> From a873d204b2c4f3facf2d8658f69764acbd063246 Mon Sep 17 00:00:00 2001
> From: Kodi Arfer <address@hidden>
> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]