Doc-O-Matic
 
Doc-O-Matic 6
PreviousUpNext
Formatting Code
See Also
Related Settings

Code Options, Sections, Syntax Highlight, Output Options HTML

Formatting Elements

Syntax Source Code, Syntax Section Heading, Code, <C> Font, Body Source, Text, Body Source Header, Body Source Link List

An important part of your documentation is source code that is included in your topics. You can manually add code in the Editor or automatically include source code parts in the Syntax and the Body Source sections.

  1. On the Views Bar, click Settings.
  2. Click the corresponding Configuration tab.
  3. Select AutoDocSyntax Highlight.
  4. Do one of the following:
  5. Select the Syntax highlight CODE blocks check box.
  6. Select the programming language that you want to use to syntax highlight code blocks in generic topics.
  7. Select AutoDocSyntax HighlightFormats.
  8. Select the syntax element you want to format and click Edit.
  9. Change the character formatting for syntax elements.
  10. Select Files & FormatLayoutFormatting.
  11. Use the Code and the <C> Font (only HTML and PDF) Formatting Element, to format code paragraphs and code characters.
  12. Click a HTML configuration tabs.
  13. Select Files & FormatOutput Options.
  14. Select the Create Copy Source links for code blocks check box.
  1. On the Views Bar, click Settings.
  2. Click the corresponding Configuration tab.
  3. Select AutoDocCode Options.
  4. Select the corresponding check boxes.
  5. Select Files & FormatLayoutFormatting.
  6. Use the Syntax Source Code, and the Syntax Section Heading Formatting Element or create your own section and heading element to format syntax sections.
  7. Change the heading of one of the syntax sections, by changing the name of the Syntax sections in the corresponding section definition on the Sections page.
  1. On the Views Bar, click Settings.
  2. Click the corresponding Configuration tab.
  3. Select Files & FormatLayoutFormatting.
  4. Use the Body Source Header, Body Source Link List and Code Formatting Element.
  5. You can format the description of the body source by doing the following:
    • Use the Text Formatting Element.
    • Create a user-defined section element named body source for the description text.
Copyright (c) 2000-2008 toolsfactory software inc. All rights reserved.