Quote:
Originally Posted by Patricia
One oddity is that the macro for changing uppercase to italics seems to work brilliantly for text files, but won't work (for me) at all for doc or html.
The underscores to italics works on all types of file, as far as I can see.
|
Hi Patricia,
This is by design, what is happening is that the marco looks for styles that are of type "1 Text" and are uppercase. The reason for this condition is most titles are upper case and running the script would italicize them.
The reason this works with text documents and not words/html files is most likely you ran the "Word Wrap Fix" macro for the text file, which turns all the text to the "1 Text" style. And did not run it with the macro with a doc/html so the text maintains it's original style. It is worth noting that running "Word Wrap Fix" on a doc/html file will not give you a desirable result as it will turn paragraphs to one huge block.
I typically convert the text in a doc/html to "1 Text" so all the macro's work properly. There are two ways. One is to run the "Tag Italics" this puts a "_"(underscore) before and after an italicized word. The reason will become apparent soon. Then I select the whole document and Click "Clear Formatting" on the "Styles and Formatting" pane. At this point all formatting are lost. (Italics, bolds, etc...). Followed by selecting the "1 Text" style, this then turns all the text to "1 Text". Then I run the "Italicize the Text" macro to retrieve italicizes text. This works when the document is a simple document like a novel. Note Patricia. If you are going to run the "Italicize UPPERCASE" here I would suggest you run "Auto Chapter" first so that you don't italicize the Chapter titles.
The latter approach is a bit more tedious but preserves the format where needed.
You can click on the body of the text. On the "Styles and Formatting" the style associated to the text is highlighted. Right click on the style and select the "Select All" menu option. This selects all the text of that style. Then I click on "Clear Formatting" and select "1 Text".
Do this for each style you wish to convert to "1 Text".
Quote:
Originally Posted by Patricia
It's worth noting that the uppercase to italics always renders the italics in lowercase, so one has to check the text in case of italicization at the beginning of a sentence.
|
Yes this is a bug. I'll have it fixed for the next release.
=X=