Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > Bookeen

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2009, 09:38 PM   #1
roquet
Enthusiast
roquet began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Nov 2007
Device: iriver X20, Bookeen Cybook
txt files have lots of spaces

Viewing a txt file on my cybook lots of the lines don't go all the way across the page, giving a messy layout. It's not doing "wrap text" (if that's the right term) like it does in Notebook on my pc. Is there any way to make them display properly?
roquet is offline   Reply With Quote
Old 10-09-2009, 09:55 PM   #2
wayrad
Fanatic
wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
I use the free app Interparse to fix that problem. It seems very hard to find now, though.

P.S. Aha, link in this thread: https://www.mobileread.com/forums/showthread.php?t=27516

Last edited by wayrad; 10-09-2009 at 09:58 PM.
wayrad is offline   Reply With Quote
Advert
Old 10-09-2009, 09:58 PM   #3
roquet
Enthusiast
roquet began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Nov 2007
Device: iriver X20, Bookeen Cybook
it's a shame cybook can't display txt correctly. Reading txt was one of its main selling points for me.
roquet is offline   Reply With Quote
Old 10-09-2009, 10:01 PM   #4
wayrad
Fanatic
wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
Quote:
Originally Posted by roquet View Post
it's a shame cybook can't display txt correctly. Reading txt was one of its main selling points for me.
I probably shouldn't say anything because I know nothing about the Cybook, but the uneven line length thing is usually a problem in the source file. If that's it, it will also go funny when you change the window width in Notepad.
wayrad is offline   Reply With Quote
Old 10-09-2009, 10:08 PM   #5
roquet
Enthusiast
roquet began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Nov 2007
Device: iriver X20, Bookeen Cybook
you're right, it does!

Where can I get Interparse? Their website doesn't exist anymore.
roquet is offline   Reply With Quote
Advert
Old 10-09-2009, 11:12 PM   #6
Idoine
Which book will be next ?
Idoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it isIdoine knows what time it is
 
Idoine's Avatar
 
Posts: 661
Karma: 2172
Join Date: Jan 2009
Location: France
Device: Cybook Gen3 1.5, Sony PRS 600 RC, Samsung Omnia...
You could use Mobipocket Creator to make a prc from your txt...
Idoine is offline   Reply With Quote
Old 10-09-2009, 11:33 PM   #7
roquet
Enthusiast
roquet began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Nov 2007
Device: iriver X20, Bookeen Cybook
anyone know a linux program for cleaning up txt files? I tried Mobipocket Creator 4.2 in Wine and it installs ok but can't do anything with it.
roquet is offline   Reply With Quote
Old 10-10-2009, 10:01 AM   #8
wayrad
Fanatic
wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.wayrad ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
Quote:
Originally Posted by roquet View Post
you're right, it does!

Where can I get Interparse? Their website doesn't exist anymore.
I edited a link into my earlier post. Check the next-to-the-last post in the linked-to thread.

I think Extended Options/Remove CRLF Before Orphan Line is what usually works for me.

Last edited by wayrad; 10-10-2009 at 10:05 AM.
wayrad is offline   Reply With Quote
Old 10-14-2009, 02:52 AM   #9
savignien
Member
savignien began at the beginning.
 
savignien's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2009
Device: cybook gen3
Quote:
Originally Posted by roquet View Post
anyone know a linux program for cleaning up txt files? I tried Mobipocket Creator 4.2 in Wine and it installs ok but can't do anything with it.
Nearly all linux editors support "regular expressions" that are a powerful mean to clean up files. OpenOffice can also do it (there is a "regular expression" checkbox in the Find/Replace window).
The problem is to craft the right regular expression... fortunately the online help of openoffice contains a list of regular expressions that can help you. See also the manual of the grep command for a more complete reference (man grep in a console).

Other editors include vi (available on every linux box, but not graphical), gvim (graphical version of vi), sed (stream editor), and many others...

Examples in vi :
:%g/^$/d
to delete empty lines
:%s/ */ /
to replace one or more space by one space

Hope this helps,
savi.
savignien is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining lots of small epub files maxbookworm ePub 1 07-22-2010 12:16 PM
Txt files - Convert to Epub - Multiple files into one book - noob help Cernan Calibre 6 05-18-2010 10:12 AM
Uploading files from the web with spaces in their names Jellby Feedback 3 08-11-2009 01:43 PM
Anyway to remove paragraph spaces in pdb files? twister Other formats 3 03-12-2009 09:36 PM
Lots of files combined into one - most efficient way? Rasczak Amazon Kindle 7 01-04-2009 02:03 PM


All times are GMT -4. The time now is 02:30 AM.


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