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: pdf or ps from emacs syntax highlighted source code Date: Thu, 03 May 2007 01:48:31 +0200 Organization: a training zoo Message-ID: <4639234F.4090405@xs4all.nl> 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 1178149733 24174 80.91.229.12 (2 May 2007 23:48:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 May 2007 23:48:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 03 01:48:51 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 1HjOZ0-0006tB-H2 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 May 2007 01:48:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjOfS-000587-JN for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2007 19:55:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjOfE-00053V-Vr for help-gnu-emacs@gnu.org; Wed, 02 May 2007 19:55:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjOfC-00052P-Jf for help-gnu-emacs@gnu.org; Wed, 02 May 2007 19:55:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjOfC-00052M-EM for help-gnu-emacs@gnu.org; Wed, 02 May 2007 19:55:14 -0400 Original-Received: from smtp-vbr15.xs4all.nl ([194.109.24.35]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HjOYj-0002vP-Ag for help-gnu-emacs@gnu.org; Wed, 02 May 2007 19:48:33 -0400 Original-Received: from [192.168.1.240] (skyscraper.xs4all.nl [82.95.236.142]) (authenticated bits=0) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id l42NmWQG048043 for ; Thu, 3 May 2007 01:48:32 +0200 (CEST) (envelope-from bjdouma@xs4all.nl) User-Agent: Thunderbird 2.0.0.0 (X11/20070326) 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:43559 Archived-At: Does anyone know if and how I can create a pdf or postscript file from source code I'm editing in emacs, which I have syntax highlighted in emacs, and which syntax-highlighting (except for the background color, which in my case is almost black) I would like to preserve in the created pdf/ps file? Or is their any other tool that might be able to do something like this? The source code is C, but it would be nice to have it for php, (bourne) shell, etc. Thanks for any tips. bjd