Copy link to clipboard
Copied
I have a legacy document with style names such as - Heading [Level1], which is tripping up conversion. Is there anyway I can make FrameMaker see these as style name, and not try and interpret them as syntax?
Copy link to clipboard
Copied
What exactly is the conversion issue? You can always just globally rename these styles using the Paragraph Designer and click on the Update All button.
Also, I don't understand what you mean having FM see them as styles rather than trying to interpret them as syntax. FWIW, "Heading [Level1]" works perfectly well as paragrpah style within FM.
Copy link to clipboard
Copied
Arnis,
I think that techwriter may be referring to the conversion table syntax which uses brackets to denote context labels. I wouldn't have thought that this would be misinterpreted by the structure generator, but maybe so.
Techwriter, are you using the P: prefix in front of all your format names?
If the problem cannot be avoided, the renaming of formats seems like the best bet. You could do that very quickly and easily with ExtendScript.
Russ
Copy link to clipboard
Copied
Hello Russ. That's correct.
I considered renaming all the styles, and thought this might be a little time consuming. Instead, I put a back slash in front of each of the angled brackets that occurred in the conversion table. Worked a treat. The conversion tables now work without tripping up on them.
Cheers.
Copy link to clipboard
Copied
techwriter, brilliant deduction. I was about to sneer and say how nice it would be if the documentation said this, but alas, I looked in the Structure Developers Guide and there it is, plain as can be:
>>>>>>
The following characters are not allowed in an element tag, but can appear in a format or qualifier tag if you precede them with a
backslash (\) in the table:
( ) & | , * + ? % [ ] : \
>>>>>>
So, to whomever that third techwriter is, great work, but so sorry I ignored you!
Russ
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more