unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: help-gnu-emacs@gnu.org
Subject: colored fonts in batch mode
Date: Thu, 08 May 2008 11:15:54 +0200	[thread overview]
Message-ID: <m2skwtf96d.fsf@nb-dominik2.science.uva.nl> (raw)


Hi,

I am trying to use emacs in batch mode to convert org-mode files to
HTML.  In the process, I would like to use font-lock to fontify some
snippets, and then use htmlize.el to convert the fontification into
HTML.

This works great in interactive work, when I actually have a window
system running.  However, in batch mode, Emacs seems to think that it
is displaying on a black-and-white device, so the fontification is much
poorer in this case.

Is there a way to run Emacs in batch mode (i.e. without any display at
all) and still make it use the fonts/colors for a full color display?

Thanks.

- Carsten


             reply	other threads:[~2008-05-08  9:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-08  9:15 Carsten Dominik [this message]
2008-05-08 11:22 ` colored fonts in batch mode Jason Rumney
2008-05-08 12:23   ` Carsten Dominik
2008-05-08 14:18     ` Eli Zaretskii
     [not found]     ` <mailman.11327.1210256313.18990.help-gnu-emacs@gnu.org>
2008-05-08 15:42       ` Dan Espen
2008-05-09 13:45         ` Carsten Dominik
2008-05-08 15:45     ` Jason Rumney
2008-05-08 16:02 ` Johan Bockgård
2008-05-09 13:46   ` Carsten Dominik

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=m2skwtf96d.fsf@nb-dominik2.science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=help-gnu-emacs@gnu.org \
    /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).