Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2008, 02:43 PM   #1
ZenEngineer
Connoisseur
ZenEngineer has learned how to buy an e-book online
 
Posts: 65
Karma: 92
Join Date: Feb 2008
Location: California
Device: Sony PRS-505
Changing paragraphs in text files

I don't know if this has been posted before, but this was a useful trick for me.
A friend gave me a .txt file to read. I tried to change the type size before saving it as a .rtf file for my Sony Reader, but every line was a paragraph and therefore unwrapped text (in a larger type size) made it unreadable. Another friend, who is a Word guru, told me this trick:
  • Select All
  • Find/Replace ^p^p (two paragraph marks) with ~
  • Find/Replace ^p with [space]
  • Find/Replace ~ with ^p^p

It worked great, keeping actual paragraphs together as paragraphs instead of separate lines.

If anybody has an easier fix please let me know.
ZenEngineer is offline   Reply With Quote
Old 08-15-2008, 02:46 PM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,008
Karma: 43118253
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
Stingo's Word macro. Does that and a heck of a lot more. See the Wiki.
HarryT is offline   Reply With Quote
Old 08-15-2008, 03:45 PM   #3
ZenEngineer
Connoisseur
ZenEngineer has learned how to buy an e-book online
 
Posts: 65
Karma: 92
Join Date: Feb 2008
Location: California
Device: Sony PRS-505
Quote:
Originally Posted by HarryT View Post
Stingo's Word macro. Does that and a heck of a lot more. See the Wiki.
Very nice! Thanks for the pointer.
ZenEngineer is offline   Reply With Quote
Old 08-16-2008, 04:54 PM   #4
blak4dr
Zealot
blak4dr has a complete set of Star Wars action figures.blak4dr has a complete set of Star Wars action figures.blak4dr has a complete set of Star Wars action figures.blak4dr has a complete set of Star Wars action figures.
 
blak4dr's Avatar
 
Posts: 101
Karma: 396
Join Date: Jul 2008
Location: Meuse, France
Device: Cybook Opus, Acer A500, Galaxy S2, Pocketbook 623
I had made a macro using the same trick in Ultraedit until I discovered a javascript function doing the same thing only better

For those interested and using ultraedit, create a .js file and put that code in:

UltraEdit.activeDocument.selectAll();
UltraEdit.activeDocument.returnToWrap();

add it to your scripts and here you go.
blak4dr is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does OpenInkpot support changing text contrast? Sunspark OpenInkpot 11 06-16-2010 05:00 AM
Changing default text style? jyavenard Kindle Developer's Corner 5 09-29-2009 10:38 AM
Changing text size GBC Calibre 0 05-23-2009 08:10 PM
Changing text size and fonts with PRS 505 levi_john Sony Reader 1 01-20-2009 04:25 AM
Text tool for formatting Gutenberg text files bob_ninja Workshop 5 11-13-2007 01:28 PM


All times are GMT -4. The time now is 08:59 PM.


MobileRead.com is a privately owned, operated and funded community.