DB2LyX Parameters and Variables

Benoit Guillon


Introduction

The LyX parameters/variables are defined to customize the DocBook to LyX translation process.

Some of the parameters are not specific to LyX (e.g. TOC depth) but others are very specific to LyX (e.g. separation choice).


toc.section.depth

Name

toc.section.depth — Table Of Content Section depth.

Synopsis

<xsl:variable name="toc.section.depth">4</xsl:variable>

This parameter defines the output LyX Format->Document->Extra section depth value. It can go from 1 to 5.


num.section.depth

Name

num.section.depth — Table Of Content Numerotation depth.

Synopsis

<xsl:variable name="num.section.depth">4</xsl:variable>

This parameter defines the output LyX Format->Document->Extra section numerotation value. It can go from 1 to 5.


lyx.admonition.path

Name

lyx.admonition.path — DB2LyX graphics admonitions

Synopsis

<xsl:variable name="lyx.admonition.path">figures</xsl:variable>


lyx.doc.separation

Name

lyx.doc.separation — Output LyX Format parameter.

Synopsis

<xsl:variable name="lyx.doc.separation">skip</xsl:variable>

This parameter defines the output LyX Format->Document->Document->Separation parameter. The possible values are skip and indent.


lyx.lang.lang

Name

lyx.lang.lang — Output LyX Format parameter.

Synopsis

<xsl:variable name="lyx.lang.lang">english</xsl:variable>

This parameter defines the output LyX Format->Document->Lang->Lang parameter. The possible values are the available languages supported by LyX.


lyx.lang.encoding

Name

lyx.lang.encoding — Output LyX Format parameter.

Synopsis

<xsl:variable name="lyx.lang.encoding">auto</xsl:variable>

This parameter defines the output LyX Format->Document->Lang->Encoding parameter. The possible values are the encoding supported by LyX.


lyx.book.begindocument

Name

lyx.book.begindocument — Begin document command, and default graphics extension declaration.

Synopsis

<xsl:variable name="lyx.book.begindocument">
<xsl:text/>
</xsl:variable>

lyx.book.afterauthor

Name

lyx.book.afterauthor — LyX code that is output after the author (e.g. \makeindex, \makeglossary).

Synopsis

<xsl:variable name="lyx.book.afterauthor">
<xsl:text>
</xsl:text>
</xsl:variable>

lyx.book.end

Name

lyx.book.end — LyX code that is output at the end of the document.

Synopsis

<xsl:variable name="lyx.book.end">
<xsl:text>
\the_end
</xsl:text>
</xsl:variable>
Some user text can be added at the end of the document, but in any case it should end by \the_end. This is the default value of the parameter.

lyx.doc.font

Name

lyx.doc.font — Document Font.

Synopsis

<xsl:param name="lyx.doc.font">default</xsl:param>

This parameter defines the output LyX Format->Document->Document->Font used. The possible values are those supported by LyX.

Default value: default.