Table of Contents
The output rendering can be customized by:
setting some of the XSL parameters when calling
dbcontext (option -P),
using some customized stylesheets that define the XSL parameters and/or
overwrite some XSL templates (option -p),
using your own context layout file (not yet available).
Currently the following XSL parameters are available.
| Parameter | Role | Default Value |
|---|---|---|
| callout.markup.circled | Set to 1 the callouts references in a calloutlist
are white numbers in black circles, like the markups in the listing (or
graphic). Set to 0 the references are simple numbers. | 1 |
| callout.linkend.hot | The callouts referenced in a callout list are hot links if the parameter is set to 1. Then, the references are in red such like any other cross-reference link in the document. | 1 |
| doc.lot.show | Specifies which Lists of Titles should be printed after the Table of Content. The value is a comma separated list of the LoTs to show. The supported LoTs are "figure", "table", "equation", and "example". The list order represents the LoTs order in the output document. | "figure,table,example" |
| fo.setup | If set to 1, uses the bunch of FO parameters to customize the layout. | 0 |
| FO-like parameters | Group of layout parameters used in the DocBook Projet to render the document with an FO translator. See the section called “FO-like Layout Parameters” for more details. | NA |
| imagedata.boxed | If set to 1, put the images into a framed box. | 0 |
| imagedata.default.scale | Default scale to apply to every imagedata that does not contain any scaling attribute. By default this parameter is set to `pagebound` so that the included images keep their natural size up to the page boundaries. Except the special reserved 'pagebound' value, the expected value of the parameter must be some valid options passed to the \externalfigure command. | pagebound |
| literal.lines.showall | Set to 1, all the lines in a verbatim environment like programlisting or screen are printed, even if they are empty. Set to 0, the last empty lines are not printed. | 1 |
| set.book.num | When the document root element is a set this parameter can be used to select the book to print, because dbcontext can output only one book from the set. | 1 |
| table.default.colsep | Set to 1, print the column separators when no
colspec attribute is specified. | 1 |
| table.default.frame | Put the table in a frame according to the parameter value. | all |
| table.default.rowsep | Set to 1, print the row separators when no rowspec attribute is specified. | 1 |
| tex.layout | Defines the user context layout to use. The layout is included when the parameter is not empty. See the section called “Using your ConTeXt Layout” for more details. | empty |