From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: how to control exported src color Date: Thu, 16 Jun 2011 10:01:28 -0700 Message-ID: <87ips5d5yz.fsf@gmail.com> References: <81mxhj6uh1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXGeZ-0003sC-VP for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 13:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXGeY-0001pu-BH for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 13:46:51 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:49056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXGeX-0001pq-Te for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 13:46:50 -0400 Received: by pwi12 with SMTP id 12so985559pwi.0 for ; Thu, 16 Jun 2011 10:46:49 -0700 (PDT) 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: silent Cc: emacs-orgmode@gnu.org, Jambunathan K silent writes: > yes, I just checked my emacs, the buffer is much like the exported code, > emacs buffer not looks that bad because it using a dark blue background, > > I changed to another color-theme, and the exported code looks much better, > > I will try to customize org-export-htmlize later. > Another option is to set the background of code segments to a dark blue. I often do that with the inclusion of a line like the following in my Org-mode file. #+style: Note, if you are using a color-theme, then the file defining the color theme probably holds the html code of your background color, which could then be copied directly as the
 element background.

Cheers -- Eric

>
> thanks!
>
> 2011/6/15 Jambunathan K :
>> silent  writes:
>>
>>> hi,
>>>
>>> I met a problem:
>>>
>>> I use #+BEGIN_SRC html #+END_SRC in org, and export to html
>>> but the source code's highlight color is not good,
>>
>> Does your Emacs buffers look that way?
>>
>>> could you please tell me how can I change the color ?
>>
>> M-x customize-group RET org-export-htmlize
>>
>> is a good starting point. But you have to do some homework.
>>
>> Jambunathan K.
>>
>> --
>>
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/