Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #616

Re: How2 wrap 8 text-lines in *.ps?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail
NNTP-Posting-Date Sun, 19 Feb 2012 07:46:53 -0600
Date Sun, 19 Feb 2012 13:46:50 +0000
From RedGrittyBrick <RedGrittyBrick@SpamWeary.invalid>
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version 1.0
Newsgroups comp.lang.postscript, adobe.postscript.programming
Subject Re: How2 wrap 8 text-lines in *.ps?
References <j5ifr2$m3c$2@dont-email.me>
In-Reply-To <j5ifr2$m3c$2@dont-email.me>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <TfmdnTQTi4rQYN3SnZ2dnUVZ8iCdnZ2d@bt.com> (permalink)
Lines 41
X-Usenet-Provider http://www.giganews.com
X-AuthenticatedUsername NoAuthUser
X-Trace sv3-TChu+/MNY3bY8YyESh2eq+/9sVAFzF8ai4djjLr2tChvO78ksK9uWMGTg1CAtfXmOHdd26kvRx5LdW8!NIO1vsLPWA5zD7eXDn9NbNa+8yxZzbDiorpHwwymvqaiT8RoranUw7wZv1U6rDtVZzvZvlUu2zA=
X-Complaints-To abuse@btinternet.com
X-DMCA-Complaints-To abuse@btinternet.com
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2679
Xref x330-a1.tempe.blueboxinc.net comp.lang.postscript:616

Cross-posted to 2 groups.

Show key headers only | View raw


On 23/09/2011 14:11, NoHtmlMailsPlease wrote:
> My final aim is to have adobe's pdf to speech not
> make unnatural breaks, because of page-breaks which
> don't correspond to paragraph-breaks;
> which is what I get when I use openOffice for text to pdf.

There is almost certainly no existing program that creates PDF files 
suitably optimised for a specific PDF-to-speech application.


> The "hello world" ps-tut

Perhaps you mean 
http://en.wikipedia.org/wiki/PostScript#.22Hello_world.22 or something 
very like it.

> doesn't deal with stepping the
> y-coordinates down to the next line.
>
> How should I do this, without getting married to ANOTHER
> programming language?

You can't do this in Postscript without learning the Postscript 
programming language to an elementary level of competence.

You could try 
http://terpconnect.umd.edu/~zben/PostScript/asciiprint.html but I've no 
idea whether it produces PS from which GS can produce PDF from which 
your PDF-to-speech application can produce intelligible speech.


If your goal is to convert some existing text to something that is very 
well suited to a text-to-speech application, I believe it would be best 
to avoid PS or PDF as initial or intermediate formats.

I would evaluate using either plain-text or one of the more common 
book-reader formats (e.g. mobi). I believe some models of Kindle can 
read books aloud, perhaps their PC "kindle" software also can.

-- 
RGB

Back to comp.lang.postscript | Previous | NextPrevious in thread | Find similar


Thread

How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-23 15:11 +0200
  Re: How2 wrap 8 text-lines in *.ps? rodd@panix.com (Rod Dorman) - 2011-09-23 19:07 +0000
    Re: How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-27 13:10 +0200
      Re: How2 wrap 8 text-lines in *.ps? tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2011-09-27 12:35 -0400
      Re: How2 wrap 8 text-lines in *.ps? rodd@panix.com (Rod Dorman) - 2011-09-27 18:44 +0000
        Re (2): How2 wrap 8 text-lines in *.ps? no.top.post@gmail.com - 2011-09-29 09:58 +0000
          Re: Re (2): How2 wrap 8 text-lines in *.ps? bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-09-29 07:35 -0500
  Re: How2 wrap 8 text-lines in *.ps? Ross Presser <rpresser@gmail.com> - 2011-09-24 00:58 -0700
    Re: How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-27 17:29 +0200
  Re: How2 wrap 8 text-lines in *.ps? luser- -droog <mijoryx@yahoo.com> - 2011-09-24 01:03 -0700
    Re: How2 wrap 8 text-lines in *.ps? "NoHtmlMailsPlease" <UsePlainText@dog.edu> - 2011-09-27 13:28 +0200
  Re: How2 wrap 8 text-lines in *.ps? RedGrittyBrick <RedGrittyBrick@SpamWeary.invalid> - 2012-02-19 13:46 +0000

csiph-web