From owner-freebsd-questions Tue Jul 29 01:22:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA23801 for questions-outgoing; Tue, 29 Jul 1997 01:22:54 -0700 (PDT) Received: from foo.primenet.com (ip193.sjc.primenet.com [206.165.96.193]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA23793 for ; Tue, 29 Jul 1997 01:22:51 -0700 (PDT) Received: (from bkogawa@localhost) by foo.primenet.com (8.8.5/8.6.12) id BAA18318; Tue, 29 Jul 1997 01:27:22 -0700 (PDT) Date: Tue, 29 Jul 1997 01:27:22 -0700 (PDT) Message-Id: <199707290827.BAA18318@foo.primenet.com> To: andrsn@andrsn.stanford.edu Subject: Re: Postscript to text conversion ?? Newsgroups: localhost.freebsd.questions References: <> From: "Bryan K. Ogawa" Cc: freebsd-questions@FreeBSD.ORG, Simon N Atkin X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In localhost.freebsd.questions you write: >On Mon, 28 Jul 1997, Simon N Atkin wrote: >> Hi, >> >> does anyone know how to convert a standard postscript >> document in to ascii text, i.e files with the .ps extension, >> as some documents that come with some ports only have >> documentation in .ps format. 1. First, if you're running X, I'd take a look at ghostview. It'll give you generally better visual results than using any type of converter. 2. If you're not, or if you want greppable text, etc., I'd recommend pstotext from DEC's research arm. In my testing a while ago, it produced _markedly_ better output than any other filter I'd seen. http://www.research.digital.com/SRC/virtualpaper/pstotext.html and, just for fun, the ghostscript page (which has a lot of other useful ps stuff): http://www.cs.wisc.edu/~ghost/ You'll need ghostscript for both (1) and (2) above. -- bryan k ogawa http://www.primenet.com/~bkogawa/