Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Conversion errors due to style names

New Here ,
Mar 12, 2013 Mar 12, 2013

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?

TOPICS
Structured
579
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 12, 2013 Mar 12, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Mar 13, 2013 Mar 13, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2013 Mar 13, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Mar 14, 2013 Mar 14, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines