unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bago@ludens.elte.hu (Toto)
Subject: Re: convert C code to HTML (how to change the default css)
Date: 24 Mar 2005 11:24:41 +0100	[thread overview]
Message-ID: <HNbFKd2MJHlG@ludens> (raw)
In-Reply-To: mailman.37.1111604701.28103.help-gnu-emacs@gnu.org

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	other threads:[~2005-03-24 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.37.1111604701.28103.help-gnu-emacs@gnu.org>
2005-03-24 10:24 ` Toto [this message]
2005-03-24 15:06   ` convert C code to HTML (how to change the default css) Angelina Carlton
2005-03-23 18:46 Angelina Carlton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=HNbFKd2MJHlG@ludens \
    --to=bago@ludens.elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).