From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [odt] htmlfontify + Support for src blockfontification Date: Fri, 19 Aug 2011 18:01:45 +0530 Message-ID: <81ei0hk2fi.fsf@gmail.com> References: <81ty9i1kg5.fsf@gmail.com> <877h6cfk68.fsf@altern.org> <814o1elfkj.fsf@gmail.com> <87ei0hrgcz.fsf@altern.org> <81wre9yfmx.fsf@gmail.com> <87bovllmot.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuOFZ-00034f-B8 for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 08:32:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuOFY-0005gM-8j for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 08:32:37 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:56287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuOFY-0005g9-20 for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 08:32:36 -0400 Received: by pzk36 with SMTP id 36so5694572pzk.17 for ; Fri, 19 Aug 2011 05:32:35 -0700 (PDT) In-Reply-To: <87bovllmot.fsf@gnu.org> (Bastien's message of "Fri, 19 Aug 2011 12:28:50 +0200") 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: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > Hi Jambunathan, > > I see this addition in one of the latest commit: > > +(defcustom org-export-odt-use-htmlfontify t > + "Specify whether or not source blocks need to be fontified. > +Turn this option on if you want to colorize the source code > +blocks in the exported file. For colorization to work, you need > +to make available an enhanced version of `htmlfontify' library." > > For now, the correct default value is `nil', otherwise users will > encounter problems. No. There is an in-built deprecation as below: #+begin_src emacs-lisp (if (and org-export-odt-use-htmlfontify (or (featurep 'htmlfontify) (require 'htmlfontify)) (fboundp 'htmlfontify-string)) ...) #+end_src htmlfontify-string is a function that is available only in the enhanced version of htmlfontify. > Also, this change only make sense when the enhanced version of > htmlfontify.el is publicly available, so that we can point at a > URL. I guess this will be the case soon :) --