From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Displaying Pretty fontification of source code blocks Date: Mon, 10 Dec 2012 09:03:21 +0530 Message-ID: <877goqmvi6.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thu4R-000079-2Q for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 22:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thu4P-00061C-Rb for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 22:30:19 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:42475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thu4P-000612-LI for emacs-orgmode@gnu.org; Sun, 09 Dec 2012 22:30:17 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so1646398pad.0 for ; Sun, 09 Dec 2012 19:30:16 -0800 (PST) In-Reply-To: (Rodolfo Aramayo's message of "Sun, 9 Dec 2012 15:59:49 -0600") 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: Rodolfo Aramayo Cc: emacs-orgmode@gnu.org Rodolfo Aramayo writes: > Hi, > I have downloaded the org-source file corresponding to: > http://orgmode.org/worg/org-contrib/babel/examples/fontify-src-code-blocks. > html > Installed color-theme-leuven.el > Opened the file in emacs and exported as html > Despite my best efforts I cannot make the file display the pretty > color I see in the web site for the emacs-lisp code block > The emacs-lisp code blocks seems to be properly displayed in emacs (I > can see blus and green fonts) but never in the html file Screenshot of your Emacs frame and HTML file please. I suspect that the problem is with css. Also tell if you are using your own CSS for code blocks or the one generated by htmlize.el itself. There is a bug whereby Emacs default fg/bg (one or both) don't get passed on to exported HTML file. This has been around for a long time. But nobody has complained yet and I am surprised. > Ideas? > > Thanks > > --