docidx_fmt - Specification of simple tcl markup for an index
|
This manpage specifies a documentation format for indices. It is intended to complement both the doctools format for writing manpages and the doctoc format for writing tables of contents. See doctools_fmt and doctoc_fmt for the specification of these two formats.
This format is called docidx. It provides all the necessary commands to write an index for a group of manpages. Like for the doctools and doctoc formats a package is provided implementing a generic framework for the conversion of docidx to a number of different output formats, like HTML, TMML, nroff, LaTeX, etc. The package is called doctools::idx, its documentation can be found in docidx. People wishing to write a formatting engine for the conversion of docidx into a new output format have to read docidx_api. This manpage will explain the interface between the generic package and such engines.
docidx is similar to LaTex in that it consists primarily of text, with markup commands embedded into it. The format used to mark something as command is different from LaTeX however. All text between matching pairs of [ and ] is a command, possibly with arguments. Note that both brackets have to be on the same line for a command to be recognized.
In this format plain text is not allowed, except for whitespace, which can be used to separate the formatting commands described in the next section (FORMATTING COMMANDS).
First a number of generic commands useable anywhere in a docidx file.
As an example an index for all manpages belonging to this module (doctools) of package tcllib.
[index_begin tcllib/doctools {Documentation tools}] [key HTML] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtformatter] [manpage dtocengine] [manpage dtocformat] [manpage mpexpand] [key TMML] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtformatter] [manpage dtocengine] [manpage dtocformat] [manpage mpexpand] [key conversion] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtformatter] [manpage dtocengine] [manpage dtocformat] [manpage mpexpand] [key documentation] [manpage doctools] [manpage dtformatter] [key index] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtocformat] [key interface] [manpage didxengine] [manpage dtformatter] [manpage dtocengine] [key manpage] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtformatter] [manpage dtocengine] [manpage dtocformat] [manpage mpexpand] [key markup] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtformatter] [manpage dtocengine] [manpage dtocformat] [manpage mpexpand] [key nroff] [manpage didxengine] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtformatter] [manpage dtocengine] [manpage dtocformat] [manpage mpexpand] [key {table of contents}] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtocengine] [manpage dtocformat] [key toc] [manpage didxformat] [manpage doctools] [manpage dtformat] [manpage dtocengine] [manpage dtocformat] [index_end] |
docidx, docidx_api, doctoc_fmt, doctools_fmt
HTML, LaTeX, TMML, generic markup, index, keywords, markup, nroff
Copyright © 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net>