From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: FAQ or manual suggestion: customizing HTML export Date: Sun, 10 Nov 2013 11:04:58 +0100 Message-ID: <20131110100458.GC25022@kuru.dyndns-at-home.com> References: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D4991ED@srv060ex01.ssd.fsi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfRtH-0008El-RD for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 05:05:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfRtC-0007Gx-3j for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 05:05:11 -0500 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:63094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfRtB-0007EL-Sb for emacs-orgmode@gnu.org; Sun, 10 Nov 2013 05:05:06 -0500 Received: by mail-ea0-f170.google.com with SMTP id q10so1672294eaj.15 for ; Sun, 10 Nov 2013 02:05:03 -0800 (PST) Received: from kuru.dyndns-at-home.com (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id k7sm39080241eeg.13.2013.11.10.02.05.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Nov 2013 02:05:02 -0800 (PST) Content-Disposition: inline In-Reply-To: <3185EFAF9C8F7B4E9DBDF56829BF7C782A5D4991ED@srv060ex01.ssd.fsi.com> 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 Hello Harry, On Thu, Nov 07, 2013 at 12:00:32PM -0500, Rockefeller, Harry wrote: > NOTE: This is not an information request. > I searched google, orgmode.org FAQ, org manual, and ran a search on this mailing list but > could not find this useful information. Since it took me a few days > to figure it out, I thought it might be worth documenting somewhere. > > I wanted to customize HTML export. > 1) to reduce the amount of empty space in org tables, and to put lines around all cells since > white space was now minimal, I finally found adding this gets the job done: > #+ATTR_HTML: :options border="2" rules="all" frame="border" cellpadding="0" cellspacing="0" > > 2) to change the color of the title on a per-org-file basis I found this works: > #+HTML: > If I want to change the color of the title for all org files then adding this to > my ~/.emacs file worked: > (setq org-export-html-style-extra "") Something is off here. This variable should not be present unless you are using an older Org version. AFAICK, if this is true, your solution (1) should not work. Maybe it works by accident? It would be helpful if you could provide the org-version and how you install Org. That said, I do not think the HTML backend supports the :options property in an #+attr_html line. The manual lists it under "LaTeX specific attributes" (disclaimer: I use the HTML backend sparringly). > OK go ahead and flame me if stuff like this is 'hidden' in plain sight. We don't do that here. IMO, this community is one of the most accepting and friendly out there. ;) Hope this helps, -- Suvayu Open source is the future. It sets us free.