generate.title.markup (in insert.title.markup mode)

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: title (in insert.title.markup mode)
Previous: title (in insert.label.markup mode) Up: Cross References xref.mod.xsl

Reference Section

## Name

generate.title.markup (in insert.title.markup mode) — Format titles in xref text

## Synopsis

    <xsl:template match="*" mode="insert.title.markup" name="generate.title.markup">
    <xsl:param name="title"/>
    <xsl:param name="is.component">
    			<xsl:call-template name="is.component"/>
    		</xsl:param>
      ...
    </xsl:template>

## C. Template Parameters

title
  The text. This is expected to be received from gentext.xsl, in which case it will contain no deliberate LaTeX commands and must be escaped.
is.component
  Whether the node is considered to be a “component” in the sense of DocBook. If so, the formatting of the title may be different. By default, the determination of component elements is performed by the `is.component` template in `common.xsl`.

## A. Description

Calls normalize-scape. If the node is a component type (e.g. appendix, article, chapter, preface, bibliography, glossary or index) then gentext.startquote and gentext.endquote are placed around the title.

Prev | Up | Next
title (in insert.label.markup mode) | Home | title (in insert.title.markup mode)