Jump to content


Photo

Format Txt Files For Gp2x


10 replies to this topic

#1 Kensupen

Kensupen

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 106 posts

Posted 21 February 2006 - 02:39 PM

If you have M$ Word or another word processor that can mess with the margins/page size then this should work. I am writing this for use in M$ word, so adapt it to other programs.

1. Load up your document. (Make sure word wrap is on)
2. Select all the text and change it to 10pt font size.
3. Go to the page setup and change all margins to 0 and the page size to 4.25" wide by any height. I used 9".
4. Save the file as a plain TXT file and check the MSDOS encoding (optional) and turn on Insert Line Breaks option (CR/LF).

This makes it so no words are cut in half and uses most of the GP2X screen width. You can try to adjust the page size width to get it perfect, but I just wanted to get rid of the words being cut.

-Kensupen

#2 kknd_cf

kknd_cf

    La vieille dame et les pigeons

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3284 posts
  • Location:North Wales, UK

Posted 23 February 2006 - 12:12 AM

Thanking you.

#3 iveqy

iveqy

    Member

  • Members
  • PipPip
  • 7 posts

Posted 13 March 2006 - 09:17 PM

why should I choose 10 pt? That shouldn't matter to a plain text file? Right?

#4 Kensupen

Kensupen

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 106 posts

Posted 14 March 2006 - 04:09 AM

It won't matter when you save it, the 10pt font is for windows and the settings I used to make sure it wraps at the right place.

-Kensupen

#5 RiX0R

RiX0R

    Idler-Inside

  • GP32 Hardcore
  • PipPipPipPip
  • 294 posts

Posted 11 April 2006 - 11:56 PM

Alternatively, use a good text editor (none of that Notepad crap) and word wrap at 51 chars.

#6 dennis20014

dennis20014

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 196 posts
  • Location:USA

Posted 16 April 2006 - 04:02 PM

Finally, someone figured out a solution, thanks much

#7 NinjaFae

NinjaFae

    GP32 User

  • Members
  • PipPipPip
  • 48 posts

Posted 31 May 2006 - 10:00 PM

Finally, someone figured out a solution, thanks much

Yes, but is it really that much of a problem to have the reader do this by default? Either by an option, or permanently?

#8 nubie

nubie

    Recovering Jerk-A-Holic

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2747 posts
  • Location:USA California

Posted 03 June 2006 - 02:47 AM

Doesn't Qtopia have a TXT reader?

#9 saehn

saehn

    Graphician

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 579 posts
  • Location:Savannah, GA USA
  • Interests:drawing, camping, origami, ubuntu, commodore 64, painting, art, reading, making things, video games, GP2X, philosophy, politics, humanism, science, utopia...

Posted 30 October 2006 - 06:49 PM

Yes, but is it really that much of a problem to have the reader do this by default? Either by an option, or permanently?


Try schan's Xreader. Works great, handles word wrapping. Get it here:

http://www.gp2x.de/c...?0,0,0,0,8,1743

saehn

#10 gnyffel

gnyffel

    GP32 User

  • Members
  • PipPipPip
  • 98 posts
  • Location:Denmark

Posted 16 December 2006 - 03:39 PM


Finally, someone figured out a solution, thanks much

Yes, but is it really that much of a problem to have the reader do this by default? Either by an option, or permanently?


That's what xreader does, I think. Problem is, it does it each and every time you open the file, giving you horrible loading times - would be better, imo, if it edited the actual file accordingly.

I've found that the software Message Cleaner word wraps nicely (you can tell it to word wrap at 51 chars - win!). And it gives you a 30 day trial before starting to display 30s nags at startup, no functionality crippling, though.

http://www.roundhill...eaner/index.htm

#11 neilos

neilos

    Member

  • Members
  • PipPip
  • 9 posts

Posted 03 January 2007 - 11:26 PM

I'm using vtex to view text files here. It word wraps fine!
Try http://archive.gp2x....?0,0,0,0,8,1565



Reply to this topic