help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert C code to HTML (how to change the default css)


From: Toto
Subject: Re: convert C code to HTML (how to change the default css)
Date: 24 Mar 2005 11:24:41 +0100

In article <mailman.37.1111604701.28103.help-gnu-emacs@gnu.org>, Angelina 
Carlton <brat@magma.ca> writes:
> Hello 
> 
> I have recently switched to emacs as my editor and so far have 
> had a pretty smooth transition from vim. 
> I cannot find in the wiki or with google a way to change 
> the default colors when I do:
> 
> M-x htmlize-file 
> 
> My terminal is always black background with white text and as such
> yellow font-locked keywords appear bright and easy to read.
> 
> This is the html produced after htmlize-file
> 
>  <head>
>     <title>p12.1.c</title>
>     <style type="text/css">
>     <!--
>       body {
>         color: #000000;
>         background-color: #ffffff;
>       }
> As you can see white is the background which makes yellow keywords
> almost unreadable to me. 
> 
> If someone knows a way for me to fix this I would love to know!

Put
(set-background-color "black")
in your .emacs
 
> Thank you
> -- 
> Angelina Carlton
> brat@magma.ca
> 
> 
-- 
                                [ Toto ]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]