From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] org-export-htmlize-output-type docstring patch Date: Sat, 8 Jan 2011 19:01:15 +0100 Message-ID: <50CA9488-17EC-4506-9FC6-AFFD573ABD64@gmail.com> References: <87sjx8qp4a.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49603 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pbd6c-0007m9-Aq for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 13:01:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pbd6P-0002RF-0g for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 13:01:34 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:35900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pbd6O-0002R5-RB for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 13:01:20 -0500 Received: by ewy27 with SMTP id 27so8922241ewy.0 for ; Sat, 08 Jan 2011 10:01:20 -0800 (PST) In-Reply-To: <87sjx8qp4a.fsf@riotblast.dunsmor.com> 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: Jason Dunsmore Cc: emacs-orgmode@gnu.org Applied, thanks. - Carsten On Jan 4, 2011, at 11:29 PM, Jason Dunsmore wrote: > 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, > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode