File: docidx.inc

package info (click to toggle)
tcllib 1.20%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 68,064 kB
  • sloc: tcl: 216,842; ansic: 14,250; sh: 2,846; xml: 1,766; yacc: 1,145; pascal: 881; makefile: 107; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (71 lines) | stat: -rw-r--r-- 2,116 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

[include ../../format/docidx.inc]

[section Configuration]

The docidx export plugin recognizes the following configuration
variables and changes its behaviour as they specify.

[list_begin arguments]

[arg_def string user]
This standard configuration variable contains the name of the user
running the process which invoked the export plugin.

The plugin puts this information into the provenance comment at the
beginning of the generated document.

[arg_def string file]

This standard configuration variable contains the name of the file the
index came from. This variable may not be set or contain the empty
string.

The plugin puts this information, if defined, i.e. set and not the
empty string, into the provenance comment at the beginning of the
generated document.


[arg_def boolean newlines]

If this flag is set the plugin will break the generated docidx code
across lines, with each markup command on a separate line.

[para]

If this flag is not set (the default), the whole document will be
written on a single line, with minimum spacing between all elements.


[arg_def boolean indented]

If this flag is set the plugin will indent the markup commands
according to the structure of indices. To make this work this also
implies that [var newlines] is set. This effect is independent of the
value for [var aligned] however.

[para]

If this flag is not set (the default), the output is formatted as per
the values of [var newlines] and [var aligned], and no indenting is
done.


[arg_def boolean aligned]

If this flag is set the generator ensures that the arguments for the
[cmd manpage] and [cmd url] commands in a keyword section are aligned
vertically for a nice table effect. To make this work this also
implies that [var newlines] is set. This effect is independent of the
value for [var indented] however.

[para]

If this flag is not set (the default), the output is formatted as per
the values of [var newlines] and [var indented], and no alignment is
done.

[list_end]

[emph Note] that this plugin ignores the standard configuration
variables [var format], and [var map], and their values.