Bramblethorn
Sleep-deprived
- Joined
- Feb 16, 2012
- Posts
- 16,707
We've had some useful tips posted here on how to get the most out of your word-processor, but I thought it might be handy to have a single thread for them. Share your tricks here!
Mine are all for MS Word, but tips for other processors are also welcome, including tools like Google Docs.
Compare documents
(recycled from LC's commas thread)
If you're editing a document, especially for somebody else, Track Changes is a great way to see what's been changed. But sometimes you need to compare two versions of a document and you don't have the changes marked. Here is how you can compare and merge versions in Word.
HTML tagging via search-and-replace
I draft my stories in Word, using Ctrl-I for italics. If I want to post them here through the text submission window (as opposed to attaching a .docx file) I need to add HTML tags for those italics: italic text becomes <i>italic text</i>.
Instead of going through the document and doing this by hand, one passage at a time, you can do this automatically with search-and-replace:
Using styles to keep format flexible
Say you're working on a document but you haven't nailed down exactly how you want to format it. (Less relevant to Lit, which imposes its own standard formatting, but useful for publication elsewhere.) You might even be planning to publish it in multiple places with different formatting rules.
If you select each of your chapter headings individually and set them to 12-point Times New Roman, and then later decide that you want 48-point Wingdings, you're going to have to find and change each of those headings individually (or use fancy search-and-replace as discussed above). A better way to do this is to format with Styles, as discussed here.
If you've marked all your chapter headings as "Heading 1", then when you decide to change chapter heading style you just have to edit the definition for Heading 1 style, and all your chapters will change to match, keeping things consistent.
Changing spelling and grammar rules
Sometimes I write documents that might have a mix of languages or language variants - for instance, I might be writing in Australian English, but quoting passages written in US English or German. To change the spelling/grammar rules for a given passage I select the text, then click Tools > Language, and choose the one that applies.
Anybody else have tips?
Mine are all for MS Word, but tips for other processors are also welcome, including tools like Google Docs.
Compare documents
(recycled from LC's commas thread)
If you're editing a document, especially for somebody else, Track Changes is a great way to see what's been changed. But sometimes you need to compare two versions of a document and you don't have the changes marked. Here is how you can compare and merge versions in Word.
HTML tagging via search-and-replace
I draft my stories in Word, using Ctrl-I for italics. If I want to post them here through the text submission window (as opposed to attaching a .docx file) I need to add HTML tags for those italics: italic text becomes <i>italic text</i>.
Instead of going through the document and doing this by hand, one passage at a time, you can do this automatically with search-and-replace:
You don't have to retype the text in italics. In my version of Word, and I think this is standard...:
control-H to bring up the Replace dialog box. Click on More>> to get the rest of the options visible.
Click in Find What, but don't type anything. Then click on Format (at the bottom) and Font...
Then click on Italic so it's highlighted. Leave the rest alone and click OK. The Find What: box will get annotated to show it's going to select italic text.
Click in Replace with: and insert this text:
<i>^&</i>
Then click Replace All. The ^& gets replaced with whatever the search found, each time, so the right thing happens. If you don't want to remember ^&, you can get the same effect by clicking on Special and choosing "Find What text".
Unfortunately this keeps the text italic in Word. Keeping it italic isn't a problem unless you want to do this Replace All again after adding more text. The <i>'s start to stack up. So after you do the replace you want to remove Word's memory of italics. The simplest way I know around that is to select the whole document, select Font and take off the Italic attribute.
The same trick works for bold and <b>. People with real copies of Word can make these macros.
Other text editors will have similar tricks.
Edit: Oh, and replace paragraph breaks with two manual hard returns. ^p and ^|^| are the symbols for those.
Using styles to keep format flexible
Say you're working on a document but you haven't nailed down exactly how you want to format it. (Less relevant to Lit, which imposes its own standard formatting, but useful for publication elsewhere.) You might even be planning to publish it in multiple places with different formatting rules.
If you select each of your chapter headings individually and set them to 12-point Times New Roman, and then later decide that you want 48-point Wingdings, you're going to have to find and change each of those headings individually (or use fancy search-and-replace as discussed above). A better way to do this is to format with Styles, as discussed here.
If you've marked all your chapter headings as "Heading 1", then when you decide to change chapter heading style you just have to edit the definition for Heading 1 style, and all your chapters will change to match, keeping things consistent.
Changing spelling and grammar rules
Sometimes I write documents that might have a mix of languages or language variants - for instance, I might be writing in Australian English, but quoting passages written in US English or German. To change the spelling/grammar rules for a given passage I select the text, then click Tools > Language, and choose the one that applies.
Anybody else have tips?