Article View: comp.lang.postscript
Article #6690Re: How2 wrap 8 text-lines in *.ps?
From: NoHtmlMailsPlease
Date: Tue, 27 Sep 2011 11:28
Date: Tue, 27 Sep 2011 11:28
65 lines
4234 bytes
4234 bytes
"luser- -droog" <mijoryx@yahoo.com> wrote in message news:63fea13a-e003-48c6-ac27-e355eb83ffe0@g33g2000yqc.googlegroups.com... > On Sep 23, 8:11 am, "NoHtmlMailsPlease" <UsePlainT...@dog.edu> 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. >> >> The "hello world" ps-tut 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? >> >> ==TIA > > Well, you need to download (or buy) the Adobe books. The Blue > Book is a better tutorial than anything else (and free online), > and the cookbook section has good ideas to get you started. > For the kind of stuff you're describing you certainly will > need to "get married" to postscript, as you say. > > The book for what you're trying to do is the Green Book. It > explains how to design the postscript programs that produce > documents. But you won't understand it without having done > the prep work. > > While the Red Book (Postscript Language Reference Manual or > PLRM) is available online, the third edition is quite > overwhelming. I strongly recommend to anyone learning > postscript that they buy a first edition manual. It's less > than 1 inch thick! It has the stuff you need. The operator > summary tells you what page to find the details on. > It really is a nice, concise manual. > > If any of this fires your imagination, I recommend > Postscript By Example. I'm too sleepy to praise this book > adequately. Some times I say "I want to speak to the injun-year & not the sales-clerk ", but let me rather admit how I failed to see-the-wood-for-the-trees. Since my final aim is only to NOT have page-breaks in the middle of sentences, all I needed to do was, use an editor/word-proc, which can output ps/pdf, and manually <adjust each end of page>. But the first one which I did this on, & moved it from linux to Win7 via a stik; the Adobe-dolly said dot dot dot ....why. That's "why" as in Y. Which is strange, since the *.pdf looked perfect under Win7 & linux. Oh crap!! I've just realised: it's not how the *.pdf LOOKs, it's whether it can be `pdftoascii -ed`. Since the failed-to-talk *.pdf was derived from ascii, I'd expect that to NOT be the problem. And I'd like to discuss OCR for pdf/ps which won't autoconvert to ascii, with people who can think-out-of-the-box.
Technical Details
Message-ID:
<j5scc8$pak$2@dont-email.me>Path:
arc1-ca.pugleaf.net!lh7ni5930pbb.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mailReferences:
<j5ifr2$m3c$2@dont-email.me> <63fea13a-e003-48c6-ac27-e355eb83ffe0@g33g2000yqc.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f62f2,50f6ec7dd07cdf25
X-Google-NewGroupId: yes
X-Google-Thread: 10c61a,50f6ec7dd07cdf25
X-Google-NewGroupId: yes
X-Google-Attributes: gid6e8da05f58,gidf3b2fcbfdb,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.68.8.229 with SMTP id u5mr28064999pba.0.1317123274671;
Tue, 27 Sep 2011 04:34:34 -0700 (PDT)
Path: arc1-ca.pugleaf.net!lh7ni5930pbb.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: "NoHtmlMailsPlease" <UsePlainText@dog.edu>
Newsgroups: comp.lang.postscript,adobe.postscript.programming
Subject: Re: How2 wrap 8 text-lines in *.ps?
Date: Tue, 27 Sep 2011 13:28:43 +0200
Organization: A noiseless patient Spider
Lines: 1
Message-ID: <j5scc8$pak$2@dont-email.me>
References: <j5ifr2$m3c$2@dont-email.me> <63fea13a-e003-48c6-ac27-e355eb83ffe0@g33g2000yqc.googlegroups.com>
Mime-Version: 1.0
Injection-Date: Tue, 27 Sep 2011 11:34:33 +0000 (UTC)
Injection-Info: mx04.eternal-september.org; posting-host="w5VfUWuoerBi+4jNtpI4Kw";
logging-data="25940"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19g8cPjgtyoSHy2GD8137iMszUkrQDGGUE="
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
In-Reply-To: <63fea13a-e003-48c6-ac27-e355eb83ffe0@g33g2000yqc.googlegroups.com>
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
Importance: Normal
Cancel-Lock: sha1:rsvEdCotCZLRrJzx5prIRfw+enw=
X-Priority: 3
X-MSMail-Priority: Normal
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit