View Single Post
Old 08-23-2007, 08:36 AM   #6
ricdiogo
Gutenberger
ricdiogo will become famous soon enoughricdiogo will become famous soon enoughricdiogo will become famous soon enoughricdiogo will become famous soon enoughricdiogo will become famous soon enoughricdiogo will become famous soon enoughricdiogo will become famous soon enough
 
ricdiogo's Avatar
 
Posts: 142
Karma: 700
Join Date: Jul 2007
Location: Lisbon, Portugal
Device: Cybook Gen 3
Quote:
Originally Posted by edbro View Post
Can anybody think of a way in Word to convert the conventional "_ital_" in text files to be "ital"? I get lots of text files that use the underscore to annotate stop and start italics.
Use _(*)_ (wildchars enabled) in the "Find" field. Then place your cursor in the "Replace" field and hit the More/Format/Font and select "Italic". Don't type anything in that field. Then "Replace all".
Then, write _ in the "Find" field (wildchars disabled). Be sure you remove the formatting instructions from the "Replace" field and that you haven't hit space bar in the field. "Replace all".

(Edit: )
If something looks wrong after you did this properly, probably the problem is that one of the _italics was not closed in the *.txt. The number of underscores in the *.txt must be a pair. Please report it to PG using errata (at) pglaf (dot) org email address.

Last edited by ricdiogo; 08-23-2007 at 09:23 AM.
ricdiogo is offline   Reply With Quote