From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: [PATCH] org-export-htmlize-output-type docstring patch Date: Tue, 04 Jan 2011 16:29:41 -0600 Message-ID: <87sjx8qp4a.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48267 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaFNx-0000Hy-SN for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 17:29:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaFNw-0003nP-Q1 for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 17:29:45 -0500 Received: from deathroller.dunsmor.com ([98.129.169.48]:54098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaFNw-0003mv-Ma for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 17:29:44 -0500 Received: from riotblast.dunsmor.com (67-198-71-121.dyn.grandenetworks.net [67.198.71.121]) by deathroller.dunsmor.com (Postfix) with ESMTP id 9E1DE8C308 for ; Tue, 4 Jan 2011 16:29:30 -0600 (CST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. I noticed the choices for org-export-htmlize-output-type aren't listed in its docstring. I had to load up the customize interface to see what the choices were. Here's a patch: diff --git a/lisp/org-html.el b/lisp/org-html.el index 03a5975..8981708 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -499,8 +499,10 @@ a file." (defcustom org-export-htmlize-output-type 'inline-css "Output type to be used by htmlize when formatting code snippets. -We use as default `inline-css', in order to make the resulting -HTML self-containing. +Choices are `css', to export the CSS selectors only, or `inline-css', to +export the CSS attribute values inline in the HTML. We use as default +`inline-css', in order to make the resulting HTML self-containing. + However, this will fail when using Emacs in batch mode for export, because then no rich font definitions are in place. It will also not be good if people with different Emacs setup contribute HTML files to a website,