DocBook xslTNG Reference

$persistent-toc-search

$persistent-toc-search — Generate a search box in the persistent ToC.

Parameter:
{}persistent-toc-search
Defined in:
param.xsl
Used in:
param.xsl, modules/chunk-output.xsl

Synopsis

  |$persistent-toc-search := 'true'

Description

If this value is true, then a search box is added to the top of the persistent Table of Contents (ToC). Any string typed into this search box will be used to filter the entries shown below it.

The filter is a case-insensitive regular expression match against the text of each line in the ToC where arbitrary characters may occur anywhere in the string. In other words, the text “cat” will generate the regular expression “c.*a.*t.*” for the purpose of searching.

This setting has no effect if $persistent-toc is false.

☀
$persistent-toc-search
Synopsis
Description
$persistent-toc-js
$personal-name-style
Copyright © 2020–2024 Norman Walsh.
Table of Contents

Loading…