PDA

View Full Version : "79 characters per line" in Notepad



Zeromus_X
08-07-2006, 12:08 AM
I wanted to submit my guide (now with even more information) to Gamefaqs, but apparently it needs to have 79 characters per line. How do I do this? On Notepad, of course. I copy/pasted it from WordPerfect, but I still need to make sure it's 79 characters per line. Any help, for the computer-illiterate?

Necronopticous
08-07-2006, 12:23 AM
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Copy and paste that line into your guide.

That's 79 characters across, if any of your lines are longer than this x line, you'll have to cut them down.

Zeromus_X
08-07-2006, 12:28 AM
Is there any other way to do that without manually going through over 100 pages of text? 0_o;

Necronopticous
08-07-2006, 12:30 AM
If I were you I would just open the document in notepad, paste that line in it, and resize the window according to that line...if you see a horizontal scroll bar appear before you're touching the x line with the right side of the window, you know some other line in the document has breached the 79 character limit. Do you understand?

Zeromus_X
08-07-2006, 12:33 AM
Yes, but how can I automatically make all the other text conform to that line of Xs? Is that even possible?

Necronopticous
08-07-2006, 12:37 AM
Not in Notepad. You might be able to accomplish that with another program, but Notepad is purposely minimal, you won't find any options like that.

I'm not familiar with many raw text editors, so I'm afraid I can't help you there. Sorry.

Zeromus_X
08-07-2006, 12:40 AM
Ah! I think I've figured it out. It says that browsers don't automatically word wrap lines (why it wasn't appearing too long in my Notepad document).


1. Standard ASCII Text: Unless you are writing a guide in or including information in a non-English language, you should limit your guide to standard ASCII text. For more information, see the sections on Foreign Language guides and ASCII text.
2. 79 Characters Per Line: 79 characters is a classic standard for text files. In today's browsers, it allows for the file to be read at almost any resolution in any standard browser. Remember, if you're using a Word Processor, make sure you're using a fixed-width font, not a proportional one.
3. With Line Breaks: Web browsers do not automatically word-wrap text files. Most of the files on GameFAQs use the standard windows CR/LF line break format. When saving your file from a word processor, please try to use this format if you can select it.

How can I save it like it asks in the third requirement?

Necronopticous
08-07-2006, 12:45 AM
It's already going to be like that if you're using Notepad, just make sure you have automatic word wrap turned off in your Notepad settings. (Format > uncheck Word Wrap) so you can make sure you're seeing the actual formatting.

Dr Unne
08-07-2006, 01:22 AM
If you use vim ( http://vim.org ) you can wrap the whole document to 79 characters at once, pretty easily. In Normal Mode, this would do it:


:set tw=79
:set fo=t
1GVGgq

tw = textwidth, which we set to 79 characters per line.
fo = formatoptions, which are options that the gq command will enact; we set it to "textwidth".
1G takes the cursor to the first line.
VG line-selects until the last line.
gq auto-formats the whole document using formatoptions, which now includes textwidth.

Zeromus_X
08-07-2006, 01:26 AM
The link isn't working for me; is all the info on that site? Because I have no clue what to do with that code otherwise.

rubah
08-07-2006, 01:40 AM
Add a www.

this seems to be it? ftp://ftp.vim.org/pub/vim/pc/gvim70.exe 7.8mb

Zeromus_X
08-07-2006, 01:57 AM
Okay, I've downloaded it and everything, but how exactly do I use that code to edit my document?

Roto13
08-07-2006, 02:42 AM
Christ, whenever I submit a guide with that problem, they resize it themselves! They just warn that it will take longer for them to post it.

-N-
08-07-2006, 06:00 AM
They never post my guides ;_;

Roto13
08-07-2006, 06:27 AM
Work hard

http://i68.photobucket.com/albums/i27/rotothirteen/aersgfvbsfgtrhbsrg.gif

Zeromus_X
08-07-2006, 07:38 AM
Yes, it's on a list of pending documents, but I thought it'd be less of a hassle if I just submitted it properly and then I wouldn't have to wait as long. But I suppose I'll just have to wait, if I can't figure out how to use this 'Vim'.

Dr Unne
08-07-2006, 03:02 PM
Once you install Vim you want to open the program called gVim in the start menu. Then you can File->Open the text file.

When you first open a file in gVim, it's ready to accept commands. i.e. typing things won't insert text into the file, rather vim will interpret any keys you press as a command to execute.

If you type a :, you should see text start to appear at the bottom of the vim window. That means it's interpreting what you type as a command to run. Type the first line I have above in its entirety exactly as it's written (be sure to include the : at the beginning), and press Enter. Nothing should really appear to happen, but stuff happens behind the scenes. Type the second line I have above and press Enter. Again nothing will really appear to happen.

The third line doesn't begin with a : . Still, type it exactly how I have it (capitalization matters). This time you should see stuff start to happen; when you type 1G the cursor may jump to a new location; when you press VG all the text should be highlighted, and when you press gq everything should be word-wrapped. Once you're done, File->Save like any other program.

If you press the wrong keys, you may throw vim into another mode and thigns may start getting screwy. If that happens I recommend closing vim and starting over (or else learning to use vim, but that may take a while).

Zeromus_X
08-08-2006, 02:21 AM
I've been doing it like you said, but it still doesn't seem like enough.


File checked: File is over margin, 116 characters wide

Your file is not ready for content review, meaning that it does not currently meet GameFAQs standards for posting. Your file will have to be manually reviewed and/or converted in order for it to be reviewed for content or posted. This will increase the amount of time it takes for your file to be posted. You may also wish to pull this file for now, fix what problems you can, then re-upload it.

The standard margin for files on GameFAQs is 80 characters; files over 80 characters in width are not automatically approved for content review, and if it is impossible to automatically format your file to bring it to an acceptable width, it cannot be posted. Here is a list of over-margin lines found in your file:

Line 410: 116 characters wide
Line 486: 116 characters wide
Line 640: 116 characters wide
Line 762: 114 characters wide
Line 862: 112 characters wide
Line 926: 116 characters wide
Line 1148: 113 characters wide
Line 1174: 114 characters wide
Line 1211: 113 characters wide
Line 1346: 115 characters wide
Line 1354: 115 characters wide
Line 1501: 114 characters wide
Line 1537: 111 characters wide
Line 1939: 112 characters wide
Line 1967: 112 characters wide
Line 2108: 114 characters wide
Line 2142: 113 characters wide
Line 2229: 113 characters wide
Line 2369: 114 characters wide
Line 2404: 113 characters wide
Line 2647: 114 characters wide
Line 2839: 113 characters wide
Line 2955: 113 characters wide
Line 2996: 114 characters wide
Line 3305: 114 characters wide
Line 3333: 114 characters wide
Line 3594: 113 characters wide
Line 3843: 115 characters wide
Line 4028: 113 characters wide
Line 4068: 113 characters wide
Line 4178: 113 characters wide
Line 4214: 112 characters wide
Line 4354: 112 characters wide
Line 4489: 114 characters wide
Line 4532: 115 characters wide
Line 4597: 114 characters wide
Line 4655: 115 characters wide
Line 4700: 114 characters wide
Line 4739: 115 characters wide
Line 4823: 114 characters wide

Dr Unne
08-08-2006, 07:34 PM
If you post the file, I will wrap it to 79 characters for you.