1docidx_lang_cmdref(n) Documentation tools docidx_lang_cmdref(n)
2
3
4
5______________________________________________________________________________
6
8 docidx_lang_cmdref - docidx language command reference
9
11 comment plaintext
12
13 include filename
14
15 index_begin text title
16
17 index_end
18
19 key text
20
21 lb
22
23 manpage file text
24
25 rb
26
27 url url label
28
29 vset varname value
30
31 vset varname
32
33_________________________________________________________________
34
36 This document specifies both names and syntax of all the commands which
37 together are the docidx markup language, version 1. As this document
38 is intended to be a reference the commands are listed in alphabetical
39 order, and the descriptions are relatively short. A beginner should
40 read the much more informally written docidx language introduction
41 first.
42
44 comment plaintext
45 Index markup. The argument text is marked up as a comment stand‐
46 ing outside of the actual text of the document. Main use is in
47 free-form text.
48
49 include filename
50 Templating. The contents of the named file are interpreted as
51 text written in the docidx markup and processed in the place of
52 the include command. The markup in the file has to be self-con‐
53 tained. It is not possible for a markup command to cross the
54 file boundaries.
55
56 index_begin text title
57 Document structure. The command to start an index. The arguments
58 are a label for the whole group of documents the index refers to
59 (text) and the overall title text for the index (title), without
60 markup.
61
62 The label often is the name of the package (or extension) the
63 documents belong to.
64
65 index_end
66 Document structure. Command to end an index. Anything in the
67 document coming after this command is in error.
68
69 key text
70 Index structure. This command adds the keyword text to the
71 index.
72
73 lb Text. The command is replaced with a left bracket. Use in free-
74 form text. Required to avoid interpretation of a left bracket as
75 the start of a markup command. Its usage is restricted to the
76 arguments of other markup commands.
77
78 manpage file text
79 Index structure. This command adds an element to the index which
80 refers to a document. The document is specified through the sym‐
81 bolic name file. The text argument is used to label the refer‐
82 ence.
83
84 Symbolic names are used to preserve the convertibility of this
85 format to any output format. The actual name of the file will be
86 inserted by the chosen formatting engine when converting the
87 input. This will be based on a mapping from symbolic to actual
88 names given to the engine.
89
90 rb Text. The command is replaced with a right bracket. Use in free-
91 form text. Required to avoid interpretation of a right bracket
92 as the end of a markup command. Its usage is restricted to the
93 arguments of other commands.
94
95 url url label
96 Index structure. This is the second command to add an element to
97 the index. To refer to a document it is not using a symbolic
98 name however, but a (possibly format-specific) url describing
99 the exact location of the document indexed here.
100
101 vset varname value
102 Templating. In this form the command sets the named document
103 variable to the specified value. It does not generate output.
104 I.e. the command is replaced by the empty string.
105
106 vset varname
107 Templating. In this form the command is replaced by the value of
108 the named document variable
109
111 This document, and the package it describes, will undoubtedly contain
112 bugs and other problems. Please report such in the category doctools
113 of the Tcllib SF Trackers [http://source‐
114 forge.net/tracker/?group_id=12883]. Please also report any ideas for
115 enhancements you may have for either package and/or documentation.
116
118 docidx_intro, docidx_lang_faq, docidx_lang_intro, docidx_lang_syntax
119
121 docidx commands, docidx language, docidx markup, markup, semantic
122 markup
123
125 Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
126
127
128
129
130doctools 1.0 docidx_lang_cmdref(n)