* Harnessing emacs syntax highlighting
@ 2006-05-15 23:50 Ken Schutte
0 siblings, 0 replies; 3+ messages in thread
From: Ken Schutte @ 2006-05-15 23:50 UTC (permalink / raw)
Hi,
I've looked at several syntax highlighters to produce color coded (etc)
HTML from code, but I don't like any as much as the various highlighting
modes built into emacs. I'd like to produce some html that looks just
like how I view code in emacs (that would work with any language mode
installed).
Is it possible for emacs to somehow output it's highlighting of a file?
Does something like what I'm looking for exist? If not, would it be
hard for a emacs-lisp newbie to try to hack this up?
thanks,
Ken
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Harnessing emacs syntax highlighting
[not found] <mailman.1856.1147737021.9609.help-gnu-emacs@gnu.org>
@ 2006-05-16 0:24 ` Tim Heaney
2006-05-16 1:28 ` Ken Schutte
0 siblings, 1 reply; 3+ messages in thread
From: Tim Heaney @ 2006-05-16 0:24 UTC (permalink / raw)
Ken Schutte <kschutte@csail.mit.edu> writes:
>
> Is it possible for emacs to somehow output it's highlighting of a
> file? Does something like what I'm looking for exist?
You can get a PostScript version with
M-x ps-spool-buffer-with-faces
(then save your *PostScript* buffer to a file).
Tim
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Harnessing emacs syntax highlighting
2006-05-16 0:24 ` Harnessing emacs syntax highlighting Tim Heaney
@ 2006-05-16 1:28 ` Ken Schutte
0 siblings, 0 replies; 3+ messages in thread
From: Ken Schutte @ 2006-05-16 1:28 UTC (permalink / raw)
Cc: help-gnu-emacs
Tim Heaney wrote:
> You can get a PostScript version with
>
> M-x ps-spool-buffer-with-faces
>
> (then save your *PostScript* buffer to a file).
Thanks for the reply, I didn't know about that...
But now that I know "faces" is what I'm asking about, I did a better
search and found something that I think is exactly what I was looking for,
http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el
Ken
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-16 1:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1856.1147737021.9609.help-gnu-emacs@gnu.org>
2006-05-16 0:24 ` Harnessing emacs syntax highlighting Tim Heaney
2006-05-16 1:28 ` Ken Schutte
2006-05-15 23:50 Ken Schutte
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).