From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: How can I store myfile as pdf type using emacs? Date: 02 Sep 2005 17:08:20 +1000 Message-ID: <87irxkkkuz.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125645448 24686 80.91.229.2 (2 Sep 2005 07:17:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2005 07:17:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 02 09:17:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EB5mU-0007tI-8X for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Sep 2005 09:16:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EB5ql-00054R-BT for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Sep 2005 03:20:35 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp11-179.lns1.syd7.internode.on.net Original-X-Trace: duster.adelaide.on.net 1125644901 59.167.11.179 (2 Sep 2005 16:38:21 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:133629 Original-To: help-gnu-emacs@gnu.org 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:29169 Archived-At: Qiang writes: > I want to store my file edited by emacs as pdf type. I wonder if there is one .el file able to execute this function. > Can you tell me? > More information required. If you want to produce PDF files from within emacs, there are a number of solutions - all of them need additional utilities, so a lot depends on your platform. Some possible solutions are 1. Use LaTeX and emacs AucTex mode (needs the tetex package) 2. Use docBook and emacs nxml mode (needs a docbook2pdf utility) 3. Use emacs muse mode (also needs external utilities) There are other solutions. There is no elisp package I know of which can create a pdf file from an ascii/utf-8/whatever text file on its own and without support from other external packages.A PDF file is essentialy compressed postscript and translating plain text to PDF is a complex task which would reuire considerable elisp coding and I expect would be a bit slow (though the postscript printing of buffers might provide some guidence). Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!