[bksvol-discuss] Re: eliminating line breaks

  • From: "Jackie McBride" <abletec@xxxxxxxxx>
  • To: bksvol-discuss@xxxxxxxxxxxxx
  • Date: Sun, 5 Oct 2008 12:20:06 -0700

Mayrie:

My experience is that a paragraph is usually separated by 2 line
breaks. If not, then it's  usually indented via 5 spaces or a tab, &
these strings could be searched for & replaced as suggested in my
earlier examples so that true paragraphs would be spared & bogus line
breaks eliminated. Obbviously the order here would be important, e.g.
a single line return followed by x number of spaces &/or a tab should
be searched on & replaced prior to searching for single line breaks.
If in doubt, I also may search & replace on punctuation marks such as
period, quote, exclaim, & question mark & a line break. That should
also help differentiate true paragraphs from those bogus line breaks.
Probably there isn't a foolproof method cuz if there was a fool could
break it but this seems to work pretty well for me. I tend to examine
the book's structure before determining the method I'm gonna use.

HTh?

On 10/5/08, siss52 <siss52@xxxxxxxxxxx> wrote:
>
> Yes, thank you, Mayrie, you answered all of my questions in a way that I
> could understand them!  <smile>
>
> From one coffee lover to another,
>
> Sue S.
>
> ----- Original Message -----
> From: "Mayrie ReNae" <mayrierenae@xxxxxxxxx>
> To: <bksvol-discuss@xxxxxxxxxxxxx>
> Sent: Sunday, October 05, 2008 12:23 PM
> Subject: [bksvol-discuss] Re: eliminating line breaks
>
>
> Hi Sue,
>
> You are so right!  All coffeed up now!  At least for the moment.
> Now, to your questions!
>
> The reason that I go back into Word before submitting is primarily
> that sometimes the Bookshare tools don't recognize rtf files created or last
> worked on in Kurzweil as valid rtf files.  They are in some tiny way just
> different enough from rtf files created in Word that the tools get confused.
> So, to make sure that when uploading to Bookshare that the tools won't get
> confused, I open the rtf file in Word, hit the spacebar, back space to
> delete the space then save the file and close Word.  This tiny change allows
> Word to do whatever it does to convince the Bookshare tools that the file is
> indeed a valid rtf file.  Not all rtf files worked on in Kurzweil confuse
> the tools.  I just do this little thing so that I'll be able, always, to
> upload without hitches.  I don't like hitches if I can avoid them!
>
> Kurzweil only puts a kes file extension on the ends of file names when you
> create them in Kurzweil.  And you can always save as another file type just
> as you can do in Word by selecting the file type that you want in the "files
> of type" combo box in the "save as" dialogue when using Kurzweil.  Does that
> make sense?  The only files that will automatically be given a kes extension
> will be documents that you create in Kurzweil, books you scan and save, or
> documents that you type using Kurzweil as a word processor.
>
> Does that answer your questions sufficiently?
>
> If not, keep asking!
>
> Mayrie
>
>
>
> -----Original Message-----
> From: bksvol-discuss-bounce@xxxxxxxxxxxxx
> [mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of siss52
> Sent: Sunday, October 05, 2008 9:47 AM
> To: bksvol-discuss@xxxxxxxxxxxxx
> Subject: [bksvol-discuss] Re: eliminating line breaks
>
>
> Hi Mayrie,
>
> Well, I assume you are all coffeed up by now.  <smile>  Your explanation was
>
> fine, but I am wondering why you would go back to Word before submitting
> your file.
>
> I don't think I have a contect key.  I have a laptop, and there is nothing
> on the right between my alt and control keys.  So I may have to use your
> method if I can't do what E. suggested with a right click combo.  Does
> Kurzweil put a .kes extension on the file when you store it under Kurzweil
> Educational Systems?  I see where you mean.
>
> Thanks,
>
> Sue S.
>
> ----- Original Message -----
> From: "Mayrie ReNae" <mayrierenae@xxxxxxxxx>
> To: <bksvol-discuss@xxxxxxxxxxxxx>
> Sent: Sunday, October 05, 2008 11:11 AM
> Subject: [bksvol-discuss] Re: eliminating line breaks
>
>
> Hi Sue,
>
> You can save your file wherever you want to save it.  Its location
> doesn't matter.  You just have Kurzweil open, and use its open feature in
> the file menu to find and open your rtf file.  Kurzweil can open rtf
> documents just by finding them in Kurzweil's "open" dialogue, tabbing to the
> "ok" button and hitting enter on that button.
>
> I personally like to save books that I'm validating in a folder that
> I call validations that I created in the Kurzweil Educational Systems folder
> that you will find in you're my Documents folder.  But you can put them in
> the books folder in that Kurzweil Educational Systems folder or anywhere
> else on your hard drive that you want to put them.  You just need to start
> Kurzweil before trying to open a file with it.  You can associate particular
> file types to be opened by particular programs, if you want to, but I can't
> remember how to do that, and I like not to have Kurzweil open rtf documents
> automatically when I hit enter on them.  I do work with my rtf files in
> Microsoft Word before submitting, so I prefer going the long way round to
> open rtf files in Kurzweil.
>
> Sorry that was kind of rattly on.  I shouldn't have tried to appear
> intelligent, or even verbal before I'd had coffee.  I have a bad habit of
> not drinking my coffee soon enough.
>
> Please ask if I have just confused you more.  As soon as I send this I'll go
> coffee up.  Promise!
>
> Mayrie
>
>
>
> -----Original Message-----
> From: bksvol-discuss-bounce@xxxxxxxxxxxxx
> [mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of siss52
> Sent: Sunday, October 05, 2008 1:19 AM
> To: bksvol-discuss@xxxxxxxxxxxxx
> Subject: [bksvol-discuss] Re: eliminating line breaks
>
>
> Well, what I don't get is, how do you get it into Kurzweil without changing
> it to .kes?  I mean, where do you tell your computer to save the file?
>
> Sue S.
>
> ----- Original Message -----
> From: "Jill O'Connell" <jillocon@xxxxxxxxxx>
> To: <bksvol-discuss@xxxxxxxxxxxxx>
> Sent: Saturday, October 04, 2008 11:06 PM
> Subject: [bksvol-discuss] Re: eliminating line breaks
>
>
> Sue, I validate RTF books with Kurzweil all the time; I don't change them to
> KES and I have not had any problems that I am aware of. Jill
> ----- Original Message -----
> From: "siss52" <siss52@xxxxxxxxxxx>
> To: <bksvol-discuss@xxxxxxxxxxxxx>
> Sent: Saturday, October 04, 2008 7:45 PM
> Subject: [bksvol-discuss] Re: eliminating line breaks
>
>
>>
>> <smiling>  Well, yeah, Word sure is slow.  Sometimes when I press enter to
>> open a file in Word, it is soooo slow!!!!!
>>
>> So how does one go about valiidating a RTF file in Kurzweil?  I mean, do
>> you
>> have to change the file to a .kes extension and then change it back?  I am
>> speaking of validating, where you download a RTF file.  I'd love to get
>> out
>> of using Word if possible.  Not only is it slow, but it pulls boners on
>> you!!!  <lol>
>>
>> Sue S.
>>
>> ----- Original Message -----
>> From: "Mayrie ReNae" <mayrierenae@xxxxxxxxx>
>> To: <bksvol-discuss@xxxxxxxxxxxxx>
>> Sent: Saturday, October 04, 2008 8:19 PM
>> Subject: [bksvol-discuss] Re: eliminating line breaks
>>
>>
>> Hi Robert,
>>
>> You're right.  Unfortunately, I do my work in Kurzweil 1000 because
>> it is much less resource intensive on my computer.  I think my computer is
>> allergic to Word. Laugh.  If there is a word more ponderous than sluggish,
>> perhaps glacier-like, it would describe how well I can do things in Word.
>> I
>> use it as little as possible!  But you are right.  A macro would be
>> faster.
>> I just avoid Word like the plague, probably more than the plague as I
>> think
>> about avoiding Word actively and never think about the plague. Laugh.
>>
>> Shutting up.
>>
>> Mayrie
>>
>>
>>
>> -----Original Message-----
>> From: bksvol-discuss-bounce@xxxxxxxxxxxxx
>> [mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of Robert Riddle
>> Sent: Saturday, October 04, 2008 5:49 PM
>> To: bksvol-discuss@xxxxxxxxxxxxx
>> Subject: [bksvol-discuss] Re: eliminating line breaks
>>
>> You should make a macro to do that. It'd make your life easier.
>> ----- Original Message -----
>> From: "Mayrie ReNae" <mayrierenae@xxxxxxxxx>
>> To: <bksvol-discuss@xxxxxxxxxxxxx>
>> Sent: Saturday, October 04, 2008 7:30 PM
>> Subject: [bksvol-discuss] Re: eliminating line breaks
>>
>>
>>> Hi Cindy,
>>>
>>> I guess since this is coming up twice now, I'll tell you how I deal
>>> with those pesky line breaks where they don't belong, in the middle of
>>> paragraphs. But first, to answer your direct question, yes, the bookshare
>>> tools will get rid of the extra space between words if there are two
>>> spaces
>>> instead of one.  That's one thing the stripper is good for!
>>>
>>> I know that you, like I, prefer to read your books in order to
>>> validate them.  However, I will admit to being a bit lazy.  Not that I
>>> don't
>>> want to do work, but if I can sit back and read without removing those
>>> pesky
>>> paragraph marks in the middle of paragraphs, I will and do.  I use the
>>> find
>>> and replace dialogue to do this, which takes at most five minutes, then
>>> the
>>> grand majority of inappropriate paragraph marks are gone before I ever
>>> start
>>> reading.  Here is what I do.  Since I know that you personally use Word,
>>> I'll tell you how I'd do it using word.
>>>
>>> I know I'm stating the obvious here, but paragraphs generally begin
>>> with a capital letter or a quotation mark.  I have never seen a paragraph
>>> begin with a lower case letter, so, what I look for are paragraphs
>>> beginning
>>> with lower case letters and join them to the word before them with a
>>> space.
>>> Does that make sense?
>>>
>>> In the find box I would type ^pa
>>> In the replace box I would type  a (that is hit the spacebar followed by
>>> the
>>> lower case letter a)
>>> Then I replace all.
>>> I do this with every lower case letter of the alphabet.
>>> And yippee!  Most of the extraneous line breaks are gone!
>>> Now I can sit back and read without fixing each of those occurrences by
>>> hand
>>> as they appear in my reading! Much smoother reading!
>>>
>>> For those using Kurzweil 1000 the paragraph mark is represented in the
>>> find
>>> box by typing \n (that is backslash followed by the letter n) then you
>>> type
>>> the lower case letter you want to find.
>>>
>>> Have I made sense, or just confused the masses?  I love making
>>> things easier on myself and allowing myself, however I can to sit back
>>> and
>>> read with as few corrections during the reading process as possible.
>>>
>>> Okay, I'm stopping now.
>>>
>>> Mayrie
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: bksvol-discuss-bounce@xxxxxxxxxxxxx
>>> [mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of Cindy
>>> Sent: Saturday, October 04, 2008 4:44 PM
>>> To: bksvol-discuss@xxxxxxxxxxxxx
>>> Subject: [bksvol-discuss] eliminating line breaks
>>>
>>> It is what either submitter or validator needs to do. Depending on my
>>> mood,
>>> since I read while I validate I either delete each line break manually or
>>> blacken the paragraph, being careful to leave the break at the end of the
>>> paragraph, and replace with a space, so two words don't run together.
>>> Sometimes this leaves two spaces between words instead of one, but then
>>> generally, at the end, replace two spaces with one; does the bookshare
>>> conversion do that automatically, perhaps?
>>>
>>> I've discovered, however, that with the first paragraph (each time one
>>> comes
>>> back to the file) one has to eliminate the lines spaces by using just
>>> "replace," not "replace all," or it makes the whole document one
>>> paragraph--and unfortunately a couple of times I validated books where
>>> that
>>> apparently had been done. After the first paragraph is done, "replace
>>> all"
>>> will work with each new paragraph and you're safe as long as you don't
>>> hit
>>> continue or whatever.
>>>
>>> Cindy
>>>
>>>
>>> --- On Sat, 10/4/08, Mayrie ReNae <mayrierenae@xxxxxxxxx> wrote:
>>>
>>>> From: Mayrie ReNae <mayrierenae@xxxxxxxxx>
>>>> Subject: [bksvol-discuss] Re: Lord of the Rose
>>>> To: bksvol-discuss@xxxxxxxxxxxxx
>>>> Date: Saturday, October 4, 2008, 4:15 PM
>>>> Hi E.
>>>>
>>>> Guess what, I have a solution for this one too!  I get rid
>>>> of
>>>> exactly what you're talking about in every book that I
>>>> submit or validate
>>>> because I find the extraneous line breaks annoying too! Do
>>>> you want to hear
>>>> it, or should I leave you alone?
>>>>
>>>> Mayrie
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: bksvol-discuss-bounce@xxxxxxxxxxxxx
>>>> [mailto:bksvol-discuss-bounce@xxxxxxxxxxxxx] On Behalf Of
>>>> E.
>>>> Sent: Saturday, October 04, 2008 2:30 PM
>>>> To: bksvol-discuss@xxxxxxxxxxxxx
>>>> Subject: [bksvol-discuss] Re: Lord of the Rose
>>>>
>>>> The situation with Lord of the Rose does not involve
>>>> multiple line
>>>> breaks. it involves single line breaks as in
>>>>
>>>> He
>>>> walked across
>>>> the room.
>>>> In the above sentence the only line break which ought to be
>>>> there
>>>> comes after the period.
>>>> These linebreaks are obnoxious on a braille display.
>>>>
>>>> E.
>>>>
>>>>  To unsubscribe from this list send a blank Email to
>>>> bksvol-discuss-request@xxxxxxxxxxxxx
>>>> put the word 'unsubscribe' by itself in the subject
>>>> line.  To get a list of
>>>> available commands, put the word 'help' by itself
>>>> in the subject line.
>>>>
>>>>  To unsubscribe from this list send a blank Email to
>>>> bksvol-discuss-request@xxxxxxxxxxxxx
>>>> put the word 'unsubscribe' by itself in the subject
>>>> line.  To get a list of available commands, put the word
>>>> 'help' by itself in the subject line.
>>>
>>>
>>>
>>> To unsubscribe from this list send a blank Email to
>>> bksvol-discuss-request@xxxxxxxxxxxxx
>>> put the word 'unsubscribe' by itself in the subject line.  To get a list
>>> of
>>> available commands, put the word 'help' by itself in the subject line.
>>>
>>> To unsubscribe from this list send a blank Email to
>>> bksvol-discuss-request@xxxxxxxxxxxxx
>>> put the word 'unsubscribe' by itself in the subject line.  To get a list
>>> of available commands, put the word 'help' by itself in the subject line.
>>>
>>
>> To unsubscribe from this list send a blank Email to
>> bksvol-discuss-request@xxxxxxxxxxxxx
>> put the word 'unsubscribe' by itself in the subject line.  To get a list
>> of
>> available commands, put the word 'help' by itself in the subject line.
>>
>> To unsubscribe from this list send a blank Email to
>> bksvol-discuss-request@xxxxxxxxxxxxx
>> put the word 'unsubscribe' by itself in the subject line.  To get a list
>> of
>> available commands, put the word 'help' by itself in the subject line.
>>
>>
>>
>>
> ----------------------------------------------------------------------------
> ----
>>
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com
>> Version: 8.0.173 / Virus Database: 270.7.5/1708 - Release Date: 10/4/2008
>> 11:35 AM
>>
>>
>> To unsubscribe from this list send a blank Email to
>> bksvol-discuss-request@xxxxxxxxxxxxx
>> put the word 'unsubscribe' by itself in the subject line.  To get a list
>> of available commands, put the word 'help' by itself in the subject line.
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG.
>> Version: 7.5.523 / Virus Database: 270.7.5/1708 - Release Date: 10/4/2008
>> 11:35 AM
>>
>
>  To unsubscribe from this list send a blank Email to
> bksvol-discuss-request@xxxxxxxxxxxxx
> put the word 'unsubscribe' by itself in the subject line.  To get a list of
> available commands, put the word 'help' by itself in the subject line.
>
>
>
> ----------------------------------------------------------------------------
> ----
>
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.173 / Virus Database: 270.7.5/1708 - Release Date: 10/4/2008
> 11:35 AM
>
>
>  To unsubscribe from this list send a blank Email to
> bksvol-discuss-request@xxxxxxxxxxxxx
> put the word 'unsubscribe' by itself in the subject line.  To get a list of
> available commands, put the word 'help' by itself in the subject line.
>
>  To unsubscribe from this list send a blank Email to
> bksvol-discuss-request@xxxxxxxxxxxxx
> put the word 'unsubscribe' by itself in the subject line.  To get a list of
> available commands, put the word 'help' by itself in the subject line.
>
>
>
> ----------------------------------------------------------------------------
> ----
>
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.173 / Virus Database: 270.7.5/1708 - Release Date: 10/4/2008
> 11:35 AM
>
>
>  To unsubscribe from this list send a blank Email to
> bksvol-discuss-request@xxxxxxxxxxxxx
> put the word 'unsubscribe' by itself in the subject line.  To get a list of
> available commands, put the word 'help' by itself in the subject line.
>
>  To unsubscribe from this list send a blank Email to
> bksvol-discuss-request@xxxxxxxxxxxxx
> put the word 'unsubscribe' by itself in the subject line.  To get a list of
> available commands, put the word 'help' by itself in the subject line.
>
>
>
> --------------------------------------------------------------------------------
>
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.173 / Virus Database: 270.7.5/1708 - Release Date: 10/4/2008
> 11:35 AM
>
>
>  To unsubscribe from this list send a blank Email to
> bksvol-discuss-request@xxxxxxxxxxxxx
> put the word 'unsubscribe' by itself in the subject line.  To get a list of
> available commands, put the word 'help' by itself in the subject line.
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
Check out my homepage at:
www.abletec.serverheaven.net
& please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
 To unsubscribe from this list send a blank Email to
bksvol-discuss-request@xxxxxxxxxxxxx
put the word 'unsubscribe' by itself in the subject line.  To get a list of 
available commands, put the word 'help' by itself in the subject line.

Other related posts: