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

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

Re: htmlize: Command line interface to http://fly.srk.fer.hr/~hniksic/em


From: Vivek Dasmohapatra
Subject: Re: htmlize: Command line interface to http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el
Date: 09 Jul 2004 18:10:15 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

Simon Josefsson <address@hidden> writes:

> Not really Lisp code, but I found htmlize.el so useful that I wanted
> to make it into a standalone tool, and thought I'd share my script
> with you.  If someone knows how to use htmlize (really font locking)
> without starting a X11 Emacs window, please let me know.  (If I use
> --batch, the output just become black because the display engine
> presumably optimize away all font locking.)

htmlfontify will run without an X11 window (in batch mode even, so without 
any kind of frame at all): You have to jump through a couple of hoops
to trick emacs into using the right display type for fontification, and 
at least cperl mode needs to be tricked into believing it has a display
to work around various optimisations, but on GNU Emacs, it can be done.

I'm not sure about XEmacs, but I haven't ported htmlfontify to work
there yet anyway: It might be possible, I'm not sure.

Have a look at:

   http://rtfm.etla.org/emacs/htmlfontify/

Also, I think the latest htmlize came with a bunch of new features - 
the ability to run in batch mode or use a different display style than 
the one emacs has detected to get the fontification settings might
be included.


reply via email to

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