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?

Date 2012-02-19 13:46 +0000
From RedGrittyBrick <RedGrittyBrick@SpamWeary.invalid>
Newsgroups comp.lang.postscript, adobe.postscript.programming
Subject Re: How2 wrap 8 text-lines in *.ps?
References <j5ifr2$m3c$2@dont-email.me>
Message-ID <TfmdnTQTi4rQYN3SnZ2dnUVZ8iCdnZ2d@bt.com> (permalink)

Cross-posted to 2 groups.

Show all headers | 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