Loading ...
Sorry, an error occurred while loading the content.

RE: [NTB] correcting my ebook, paraagraph beginning word

Expand Messages
  • John Shotsky
    The following should do it. (Copied to the clip group too.) ;This clip upper cases the first letter after a CR ^!Jump Doc_Start ... ^!Find R ? K( p{Ll})
    Message 1 of 1 , Feb 5, 2011
    • 0 Attachment
      The following should do it. (Copied to the clip group too.)
      ;This clip upper cases the first letter after a CR
      ^!Jump Doc_Start
      :ParaCap
      ^!Find "\R\"?\K(\p{Ll})" IRS
      ^!IfError Done
      ^!InsertText ^$StrUpper("^$GetSelection$")$
      ^!GoTo ParaCap
      :Done

      Regards,
      John
      From: notetab@yahoogroups.com [mailto:notetab@yahoogroups.com] On Behalf Of texhenge
      Sent: Friday, February 04, 2011 10:01 PM
      To: notetab@yahoogroups.com
      Subject: [NTB] correcting my ebook, paraagraph beginning word


      In my case, an ebook of hundreds of paragraphs, each separated by a blank line, the first word of each new paragraph
      should begin with a capital letter (or a simple quotation mark).

      I've tried dozens of "Search" terms trying to find paragraphs beginning with a non-capital letter, but have failed.

      Please help! Thanks. For testing purposes, here are two examples:

      in my case, an ebook of hundreds of paragraphs, each separated by a blank line, the first word of each new paragraph
      should begin with a capital letter (or a simple quotation mark).

      i've tried dozens of "Search" terms trying to find paragraphs beginning with a non-capital letter, but have failed.



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.