Using XRefsyle and Olinks
Prev | Chapter 3. Using dblatex | Next

## Using XRefsyle and Olinks

Since version 0.2.7 you can use the `xrefstyle` attribute like you would do with the DocBook Project stylesheets for HTML output.

Furthermore, you can also use `olink`s. Note that Olinking is used in the PDF version of this manual, in the section called “Change History”.

Actually, the common DocBook Project stylesheets version 1.72 are now used by dblatex to handle all of these features.

These features are fully described in the DocBook XSL: The Complete Guide book by Bob Stayton. In particular, the following sections cover these topics:

- http://www.sagehill.net/docbookxsl/CustomXrefs.html explains how to use `xrefstyle`.

- http://www.sagehill.net/docbookxsl/Olinking.html explains how to use `olink`s.

### Specific xrefstyle for `ulink`

Dblatex defines a template that can be applied through the xrefstyle attribute to format an `ulink`. The template has the following general form: `url[.{show|hide}][.{after|infoot}]`

The principle is that the `show` and `hide` parts override locally for this ulink the `ulink.show` parameter, and the `after` and `infoot` parts override locally the `ulink.footnotes` parameter.

When only one part is defined, only one setup is overriden, and the other setup depends on the corresponding global parameter.

See ulink.show to have several examples of use of the ulink xrefstyle template.

Prev | Up | Next
Locale Support | Home | Chapter 4. Customization