A
Alisa Limvere
This isn't a question - I was able to figure a fix for
it. But I thought it was interesting enough to report.
I am converting existing Word documents into a different
format that predefined styles. One of my styles is Code,
a paragraph style.
It turned out that the previous text, which I was copying
and pasting, had a paragraph style named Code Char. When
I pasted it into my quarantine doc that was created from
my template, I now had the styles Code, Code Char, and
Code Char Char. Code Char was shown as a paragraph style.
Code Char Char was shown as the character style for Code
Char.
Unfortunately, Code Char is also supposed to be the built-
in character style name for the character formatting for
my paragraph style Code (see the conflict?). When I
deleted the undesired paragraph style Code Char in the
Format-Style dialog, my paragraph style Code was deleted
and the old (incorrect) Code Char paragraph style
remained. Code Char Char was not touched.
It didn't matter if I created a new document, deleted
Code Char Char, or whatever. I tried going through the
Organizer screen. I also tried searching and replacing
the Code Char paragraph style in the old text before I
copied, but it would "magically" reappear as a new
paragraph style in my quarantine doc. I tried to search
and replace the Code Char paragraph style with my Code
paragraph style, but that didn't work.
The fix - *before* I pasted the old content, I renamed
the Code Char paragraph style (specifically,
to "Stupid"). I pasted the content into my quarantine
doc. Stupid and Stupid Char appeared in my style list.
Then, I could search and replace the Stupid style with my
Code paragraph style. Afterwards, I deleted the Stupid
and Stupid Char styles without affecting any other styles.
Basically, the end result - Don't use "Char" as the last
part of a paragraph style name. This helps prevent
potential conflict with automatic character styles that
have "Char" appended to the paragraph style names.
I hope this is interesting to someone out there.
Keep up the good work!
Alisa
it. But I thought it was interesting enough to report.
I am converting existing Word documents into a different
format that predefined styles. One of my styles is Code,
a paragraph style.
It turned out that the previous text, which I was copying
and pasting, had a paragraph style named Code Char. When
I pasted it into my quarantine doc that was created from
my template, I now had the styles Code, Code Char, and
Code Char Char. Code Char was shown as a paragraph style.
Code Char Char was shown as the character style for Code
Char.
Unfortunately, Code Char is also supposed to be the built-
in character style name for the character formatting for
my paragraph style Code (see the conflict?). When I
deleted the undesired paragraph style Code Char in the
Format-Style dialog, my paragraph style Code was deleted
and the old (incorrect) Code Char paragraph style
remained. Code Char Char was not touched.
It didn't matter if I created a new document, deleted
Code Char Char, or whatever. I tried going through the
Organizer screen. I also tried searching and replacing
the Code Char paragraph style in the old text before I
copied, but it would "magically" reappear as a new
paragraph style in my quarantine doc. I tried to search
and replace the Code Char paragraph style with my Code
paragraph style, but that didn't work.
The fix - *before* I pasted the old content, I renamed
the Code Char paragraph style (specifically,
to "Stupid"). I pasted the content into my quarantine
doc. Stupid and Stupid Char appeared in my style list.
Then, I could search and replace the Stupid style with my
Code paragraph style. Afterwards, I deleted the Stupid
and Stupid Char styles without affecting any other styles.
Basically, the end result - Don't use "Char" as the last
part of a paragraph style name. This helps prevent
potential conflict with automatic character styles that
have "Char" appended to the paragraph style names.
I hope this is interesting to someone out there.
Keep up the good work!
Alisa