1doctoc_intro(n) Documentation tools doctoc_intro(n)
2
3
4
5______________________________________________________________________________
6
8 doctoc_intro - doctoc introduction
9
11 doctoc (short for documentation tables of contents) stands for a set of
12 related, yet different, entities which are working together for the
13 easy creation and transformation of tables of contents for documenta‐
14 tion. These are
15
16 [1] A tcl based language for the semantic markup of a table of con‐
17 tents. Markup is represented by Tcl commands.
18
19 [2] A package providing the ability to read and transform texts
20 written in that markup language. It is important to note that
21 the actual transformation of the input text is delegated to
22 plugins.
23
24 [3] An API describing the interface between the package above and a
25 plugin.
26
27 Which of the more detailed documents are relevant to the reader of this
28 introduction depends on their role in the documentation process.
29
30 [1] A writer of documentation has to understand the markup language
31 itself. A beginner to doctoc should read the more informally
32 written doctoc language introduction first. Having digested this
33 the formal doctoc language syntax specification should become
34 understandable. A writer experienced with doctoc may only need
35 the doctoc language command reference from time to time to
36 refresh her memory.
37
38 While a document is written the dtp application can be used to
39 validate it, and after completion it also performs the conver‐
40 sion into the chosen system of visual markup, be it *roff, HTML,
41 plain text, wiki, etc. The simpler dtplite application makes
42 internal use of doctoc when handling directories of documenta‐
43 tion, automatically generating a proper table of contents for
44 them.
45
46 [2] A processor of documentation written in the doctoc markup lan‐
47 guage has to know which tools are available for use.
48
49 The main tool is the aforementioned dtp application provided by
50 Tcllib. The simpler dtplite does not expose doctoc to the user.
51 At the bottom level, common to both applications, however sits
52 the package doctoools::toc, providing the basic facilities to
53 read and process files containing text in the doctoc format.
54
55 [3] At last, but not least, plugin writers have to understand the
56 interaction between the doctools::toc package and its plugins,
57 as described in the doctoc plugin API reference.
58
60 doctoc does not stand alone, it has two companion formats. These are
61 called docidx and doctools, and they are for the markup of keyword
62 indices, and general documentation, respectively. They are described
63 in their own sets of documents, starting at the docidx introduction and
64 the doctools introduction, respectively.
65
67 This document, will undoubtedly contain bugs and other problems.
68 Please report such in the category doctools of the Tcllib SF Trackers
69 [http://sourceforge.net/tracker/?group_id=12883]. Please also report
70 any ideas for enhancements you may have.
71
73 docidx_intro, doctoc_lang_cmdref, doctoc_lang_faq, doctoc_lang_intro,
74 doctoc_lang_syntax, doctoc_plugin_apiref, doctools::toc, doctools_intro
75
77 markup, semantic markup, table of contents, toc
78
80 Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
81
82
83
84
85doctools 1.0 doctoc_intro(n)