Chapter 9. Customization

Table of Contents

XSL Parameters
Setting command line Parameters
Using an XSL Parameter Stylesheet
FO-like Layout Parameters
Using your ConTeXt Layout

The output rendering can be customized by:

XSL Parameters

Currently the following XSL parameters are available.

ParameterRoleDefault Value
callout.markup.circledSet 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.hotThe 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.showSpecifies 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.setupIf 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.boxedIf set to 1, put the images into a framed box.0
imagedata.default.scaleDefault 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.showallSet 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.numWhen 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.colsepSet to 1, print the column separators when no colspec attribute is specified.1
table.default.framePut the table in a frame according to the parameter value.all
table.default.rowsepSet to 1, print the row separators when no rowspec attribute is specified.1
tex.layoutDefines 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