in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

mapping Word styles to CSS for NetHelp

Last post 04-25-2008 2:46 AM by S.Kamprowski. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-24-2008 2:42 PM

    mapping Word styles to CSS for NetHelp

    Hi. I am using a custom template in Word 2003 with custom styles. I selected this as my Target Template. Most of my styles are in the TNR font (which is fine for the PDF), but I want to change them to Arial for NetHelp. My target template is C1H_HTML_full.css. I tried changing the font in the CSS to Arial for the .BodyText and the .C1HOnline styles, but this didn't change anything in my output. In the Project Styles dialog box, I tried adding paragraph styles corresponding to my styles in Word, and mapping these to .BodyText. What am I doing wrong? I am generally happy with the text output except for the font.

     Thanks,

     Jennifer

  • 04-25-2008 2:46 AM In reply to

    Re: mapping Word styles to CSS for NetHelp

    Hi Jennifer,

    If want to modify styles for text which is maintained in Word documents you may either
    modify the target template assigned to your target (usually c1h_html.dot for html based targets) and leave it to DocToHelp to generate a css out of this
    or
    you modify c1h_html.css directly. c1h_html.css is in the target folder, subfolder LinksExt. You must take caution that D2H does not overwrite your modification with the next build.

    The C1H_HTML_full.css is only be used for HTML sources.

    BTW, Dan Beall has written a very informative article about these styles stuff, please see

    http://helpcentral.componentone.com/Article.aspx?ID=1807

    Regards,

    Sabine Kamprowski

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.