| Welcome to Nintendo 64 Forever. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Help with a text editing/conversion problem? | |
|---|---|
| Tweet Topic Started: Mar 30 2008, 10:04 AM (303 Views) | |
| Kerr Avon | Mar 30 2008, 10:04 AM Post #1 |
|
Senior Member
|
I'm using the PSP as an e-book reader, as it has a good text viewer (built into iRSHell), but it has the fault that it's not much good at word wrapping, i.e. the text: "IN the year 1878 I took my degree of Doctor of Medicine of the University of London, and proceeded to Netley to go through the course prescribed for surgeons in the army. Having completed my studies there, I was duly attached to the Fifth Northumberland Fusiliers..." would come out something like: "IN the year 1878 I took my degree of Doctor of Medicine of the University of London, and proceeded to Netley to go through the course prescribed for surgeons in the army. Having completed my studies there, I was duly attached to the Fifth Northumberland Fusiliers..." etc What I want is a program that will read in the .txt file of the e-book (just a normal .txt file format) and reformat the text so that each line is a maximum of x characters long (where I specify the number x), and if that line would then terminate in the middle of a word, then the whole word is added to the begining of next line instead, and the current line is shortened by removing that (half a) word and it's preceeding space. You know what I mean (anyone who's manipulated text files for viewing knows what I want). So that, for example, the above text would be: "IN the year 1878 I took my degree of Doctor of Medicine of the University of London, and proceeded to Netley to go through the course prescribed for surgeons in the army. Having completed my studies there, I was duly attached to the Fifth Northumberland Fusiliers..."" Is there a Windows (or DOS) program that will do this, preferably being able to batch function (i.e. work on more than one file if I want it to)? Thanks for any answers. [Incidentally, the above text is the beginning of The Sign of Four, the first Sherlock Holmes story, if anyone's curious] |
![]() |
|
| dagoss | Mar 30 2008, 06:22 PM Post #2 |
![]()
Smarty Pants
|
(Actually, it's the beginning of A Study in Scarlet
)I think Metapad does what you want. All you have to do is resize the window so that the text is how you want it. Then select EDIT | COMMIT WORD WRAP. Now the text will wrap the way it appears in the editor when you open the file elsewhere. Tada! |
![]() |
|
| Kerr Avon | Apr 1 2008, 06:18 AM Post #3 |
|
Senior Member
|
>(Actually, it's the beginning of A Study in Scarlet
)Damn, I knew that! Not only am I a big SH fan, but I also had the online version of ASIS open (from where I copied and pasted the quoted text), so I have NO excuse for this mistake. [Thinks quickly] Er, I was fighting off a load of heavily armed ninjas whilst typing the original post, so I wasn't concentrating 100% on what I was typing. That's my story, and I'm stuck with it. >I think Metapad does what you want. All you have to do is resize the window so that the text is how you want it. Then select EDIT | COMMIT WORD WRAP. Now the text will wrap the way it appears in the editor when you open the file elsewhere. Tada! That's great, thanks mate. Tata! |
![]() |
|
| « Previous Topic · Social Board · Next Topic » |
| Track Topic · E-mail Topic |
6:31 PM Jul 13
|
Hosted for free by ZetaBoards · Privacy Policy







)
6:31 PM Jul 13