From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [ox-html] classes and list Date: Tue, 09 Dec 2014 01:18:14 +0100 Message-ID: <87h9x54qwp.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy8Vi-0007GY-T8 for emacs-orgmode@gnu.org; Mon, 08 Dec 2014 19:18:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy8Vb-0004a9-93 for emacs-orgmode@gnu.org; Mon, 08 Dec 2014 19:18:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:56584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy8Vb-0004Zw-2E for emacs-orgmode@gnu.org; Mon, 08 Dec 2014 19:18:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xy8Va-0008QB-0u for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 01:18:30 +0100 Received: from 109.201.154.151 ([109.201.154.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2014 01:18:30 +0100 Received: from rasmus by 109.201.154.151 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2014 01:18:30 +0100 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: emacs-orgmode@gnu.org Hi, Q: Is it possible to give an optional class or something similar to an (unordered) list when exporting to html? I'm "porting" my CV to Org since I want to export to both html and LaTeX from the same file. At one point I have something like: - 2011--2012 :: #+ATTR_LATEX: :environment iand #+ATTR_HTML: :class iand - item1 - item2 Which is to be printed as: 2011–2012 item1 ∘ item2 I.e. an "inline list". >From org-html-begin-plain-list it seems it's impossible to add an extra class. Is there a technical HTMLish limitation? Or only an ox-html limitation? If the latter I could try to add it. Thanks, Rasmus -- Hooray!