Resources  
  FAQ
Online Help File
Examples
External Links
 
  Online Help File  
  The Time2HELP help file is available online.  
  Order Time2HELP  
  Order Time2help and pay by credit card, check or bank transfer.  
  Order online from Kagi.  
  Download trial version  
 

Download the 30 day trial version of Time2HELP now.

 
 

 

From Vision to Code - Built by Delphi

 

 
Painless Documentation
for your Source Code
 
    Home   Features  Download   Support   News   Order   

Build a Contents (.CNT) file

If you used the New Library Help Project Wizard to create the project and selected the LibraryStandard.topics template in the wizard, a contents file is already created. If not, you must first create a topic file and Open the file.

In the right hand pane you may write something like:

<!DOCTYPE DLHelpSource>
<DLHelpSource>
<Topic Title="Introduction">
  <nsr>
    <b>Introduction</b>
  </Nsr>
  This is the first topic.
</topic>
<TopicBook Title="Units">
  <TopicLink Unit=MainUnit Title="Main Unit">
  <TopicLink Unit=Unit2>
</TopicBook>
</DLHelpSource>

Then select the file in the Master Topic File combo box on the Topic Files pane.

A Time2HELP project can contain many topic files, each of which is translated into a single rtf-, HTML- (or other format) file during T2H's building process. You can set one of these to be a "Contents Source", which means this file is used to generate a .CNT (contents) file (in addition to being translated into rtf (or HTML) as usual).

T2H builds a contents-file from a topic file (.topic) by translating <TopicBook> and <Topic> (and a few other) tags into the appropriate content in a .CNT file. (You designate which file (if any) to build a .CNT from by specifying a "Master Topic File"). There also are some special tags for adding things to the contents file, e.g. <TopicLink Class=TMyComponent> makes a "topic-link" to class TMyComponent, <TopicFileLink Name="contents2"/> links in the contents structure of the file "contents2.topics" into the table of contents.

NOTE: If you previously have generated a .CNT file and don't want to do that anymore, you must manually delete the .CNT (and likely also the .GID) file from your hard-disk in order to fully get rid of it.

This page was last updated 2005-08-21 .
Copyright © 1997-2005 by Digital Logikk AS.