0 Replies Latest reply on Aug 12, 2008 12:20 PM by yenelli

    syncing styles between Word and RH HTML 7

    yenelli Level 1
      Question about syncing styles between Word and RH HTML 7.The printed Word format has Hdr/Ftr, TOC, Title Page stuff.

      I understood that, when importing a Word .docx, RH creates books for Heading 1s and Topic headings are Heading 2. That is why both Word and RH templates use the same paragraph style names (though the format in Word/print differs from that in RH/online).

      I imported my Word file into a new RH HTML 7 project. The TOC has the expected books/topics/subtopics. I imported the .css and the .htt from the RH 5 template project. I selected all 160 topics in the Topic List pod and applied the corporate .htt template (Topic Properties > General) AND (to be certain), the corporate .css stylesheet (Topic Properties . Appearance).

      This project doesn't have the same characteristics as the base/master from RH 5 that uses those same format files. I even imported the same skin. I get the banner, but not the styles.

      All the topic headings in the RH 7 project (were transformed to) are Heading 1 styles, even though they were Heading 2s in Word. (this breaks with my tribal knowledge of how RH imports Books/Topics from a Word doc). The heading colors (navy blue, royal blue, etc.) have taken on their own definitions--dunno where from, tho.

      Since I'm OCD about creating and using one style for each type of paragraph (procedurehead, syntax, procnum, procnonum, note, bullist) in Word or in RH, Peter Grainger's suggestion to "clean up" styles before importing shouldn't apply.

      RH instructions omit any detail about what to specifiy in the Conversion Options and Split On Style. I took a couple of swipes at the SOS--OK, split on Heading 1, Heading 2, Heading 3. So I get Books for Heading 1, separate topics for Heading 2 and Heading 3, but the "topic titles" have become Heading 1 in name but not in format. In fact, the format doesn't match anything I've specified in Word or RH. I thought by "attaching" the .htt and the .css to each topic (select all topics, , I'd have the look and feel I specified in my corporate RH(5) template. The banner imported, the navigation pane and icons imported. What happened to the styles?

      Here's the missing link that someone may need to explain (explicitly in Help somewhere). When I open the .htt template (sample topic) that I imported from RH 5, the topic title shows as Document > Heading 2 > in the Design view. The HTML view labels this paragraph as h2:

      <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
      <meta http-equiv=content-type content="text/html; charset=utf-8">
      <meta name=generator content="Adobe RoboHelp - www.adobe.com">
      <meta name=generator-major-version content=0.1>
      <meta name=generator-minor-version content=1>
      <meta name=filetype content=RoboHelp>
      <meta name=filetype-version content=1>
      <meta name=page-count content=1>
      <meta name=layout-height content=1927>
      <meta name=layout-width content=732>

      <link rel=StyleSheet href=mytemplate.css>
      <h2>NameOfPackage: NameOfMethod</h2>