Jean Hollis Weber wrote: > Wow, cool!! I should have know that, but I didn't. Thanks, Daniel! > I'll add that to one of the styles chapters I'm writing.
:-) I just thought of another one. This one may not be useful to you, but I have a friend who would love it. I have a friend who some times gets documents in all caps. I'm not sure why. I think it's because she uses a screen reader or something. In any event, imagine a 30 page document, all in caps (yes, really). And she wants to turn it into sentence-style case. Watch this ... ready? ... ;-) 1. Select the entire document. 2. Format > Case/Characters > Lowercase. ((at this point the document is entirely lowercase)) 3. Edit > Find & Replace. 4. Check 'Regular Expressions'. 5. Search for "\. +[a-z]" (without the quotes) 6. Click on 'Find All' ((at this point, the first letter of every sentence is highlighted)) 7. Format > Case/Characters > Uppercase ((now all sentences start with capitals)) 8. Uncheck 'Regular Expressions'. 9. Search for " i " (without the quotes, notice the spaces). 10. Replace with " I ". 11. Replace all. ((so we've fixed "i" to "I")) Now you can do a simple Find & Replace to fix the names (e.g. replace "daniel" by "Daniel"). Okay, this process is more elaborate than the "trick" I just posted. But it shows how a clever use of F&R can solve difficult, real-world problem. I feel so proud... ;-) Cheers, -- Daniel Carrera | I don't want it perfect, Join OOoAuthors today! | I want it Tuesday. http://oooauthors.org |
