From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [odt] htmlfontify + Support for src blockfontification Date: Wed, 17 Aug 2011 11:59:03 +0200 Message-ID: <877h6cfk68.fsf@altern.org> References: <81ty9i1kg5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtctF-0001nL-J6 for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 05:58:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtctE-0003Tv-M4 for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 05:58:25 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:49624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtctE-0003Tp-Gp for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 05:58:24 -0400 Received: by wyi11 with SMTP id 11so630318wyi.0 for ; Wed, 17 Aug 2011 02:58:23 -0700 (PDT) In-Reply-To: <81ty9i1kg5.fsf@gmail.com> (Jambunathan K.'s message of "Tue, 16 Aug 2011 02:06:10 +0530") 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: Jambunathan K Cc: emacs-orgmode@gnu.org Hi Jambunathan, Jambunathan K writes: > I have patched up htmlfontify[1] to support fontification of odt > source blocks. The examples you sent look great! > I am planning to submit the patch to emacs-devel. The discussion will be more effective on emacs-orgmode mailing list, because most users of the ODT exporters are reading it. And since your patch relates to a feature that is not (yet) part of Emacs, Emacs maintainers will not have good incentives to discuss and test it. > Till such time as this patch is integrated in to official Emacs, I > would like to check-in a copy of htmlfontify.el into the contrib > dir. Will there any objection to this? Yes. We must avoid duplicate code as much as possible, especially when the code lives in Elisp libraries that have the same name. There is already some duplicate code that we need to take care of: org-html.el vs. org-xhtml.el. I would like to make progress on merging these two files. Can you help me here? Once we achieve this, we will be able to move the ODT exporter into Org's core, and your patched version of htmlfontify will easily make its way into Emacs core. > I am attaching sample before and after files to tickle the curiosity. Tickling worked fine :) -- Bastien