From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ox-html: Allow "Figure %d:", etc. to be styled Date: Tue, 09 Jul 2013 22:31:39 +0200 Message-ID: <87siznzd90.fsf@gmail.com> References: <51D4A375.9050904@arfer.net> <87bo6b1pe1.fsf@gmail.com> <51DC7052.9070607@arfer.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UweZM-0007cX-EH for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 16:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UweZL-0007GH-5w for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 16:31:28 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:55626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UweZL-0007GD-10 for emacs-orgmode@gnu.org; Tue, 09 Jul 2013 16:31:27 -0400 Received: by mail-wi0-f172.google.com with SMTP id c10so10642572wiw.5 for ; Tue, 09 Jul 2013 13:31:26 -0700 (PDT) In-Reply-To: <51DC7052.9070607@arfer.net> (Kodi Arfer's message of "Tue, 09 Jul 2013 16:19:30 -0400") 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: Kodi Arfer Cc: emacs-orgmode@gnu.org Kodi Arfer writes: > One case I know of is APA style. Here are some examples from the APA > publication manual. "Figure 1" is supposed to be italicized and inline > with the caption ( http://i.imgur.com/u6jsfJx.png ), whereas "Table 1" > is supposed to be upright and on its own line > ( http://i.imgur.com/3gvxEdd.png ). Admittedly, APA style is crazy, > and you have to be additionally crazy to want APA style in HTML. > > We could still use the same class and then expect people to use > selectors to be as specific as they want (e.g., if the generic class > is ~.caption-number~, one could use the selector ~caption > .caption-number~ for tables and ~figcaption .caption-number~ for > figures, at least in HTML5). I think using different classes is > actually simpler, though, because then we don't have to keep track of > how selectable the different caption types are. Understood. Patch applied. Thank you again. Regards, -- Nicolas Goaziou