From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bauke Jan Douma Newsgroups: gmane.emacs.help Subject: Re: pdf or ps from emacs syntax highlighted source code Date: Sat, 05 May 2007 01:19:59 +0200 Organization: a training zoo Message-ID: <463BBF9F.4090205@xs4all.nl> References: <463A48E0.5030605@xs4all.nl> <87lkg4n5pe.fsf@gmail.com> <463B2E5D.2050501@gmail.com> Reply-To: bjdouma@xs4all.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178320822 25125 80.91.229.12 (4 May 2007 23:20:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 May 2007 23:20:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Hadron To: "Lennart Borgman (gmail)" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 05 01:20:21 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hk74X-0005jz-4e for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 01:20:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hk7BD-0004sg-4z for geh-help-gnu-emacs@m.gmane.org; Fri, 04 May 2007 19:27:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hk7B0-0004pq-1e for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:27:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hk7Ax-0004oT-If for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:27:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hk7Ax-0004oQ-CU for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:26:59 -0400 Original-Received: from smtp-vbr4.xs4all.nl ([194.109.24.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hk74G-000399-CM for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:20:04 -0400 Original-Received: from [192.168.1.240] (skyscraper.xs4all.nl [82.95.236.142]) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id l44NK05w008268; Sat, 5 May 2007 01:20:00 +0200 (CEST) (envelope-from bjdouma@xs4all.nl) User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: <463B2E5D.2050501@gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: FreeBSD 4.6-4.9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43706 Archived-At: Lennart Borgman (gmail) wrote on 04-05-07 15:00: > Hadron wrote: >> Kai Grossjohann writes: >> >>> Bauke Jan Douma writes: >>> >>>> Actually -- as soon as I had posted the question here, I came >>>> up with another preferable requisite: a html version of the >>>> syntax highligted code. >>> See htmlize.el. Given a buffer, it creates an HTML file that looks >>> like the buffer, if I understand it correctly. >> >> Damn. That's twice in one thread where Emacs has blown me away. Just >> tried this and it works brilliantly with color-themes. > Hey all you guys -- thanks for the tips. It's been great, I tried htmlfontify and htmlize and both produce excellent output. I couldn't have imagined this was so easy (though to my surprise googling for this doesn't bring the emacs solution that readily). Finding out new features like this on an application that's been under your fingertips for years makes emacs and its extensionability (phew) a gem. > There is one problem with it though. It has happened to me several times > that I have tried to edit the html page, thinking that it is Emacs I see > on the screen. Know what you mean ;-) Thanks again y'all! Bauke Jan Douma