Blob Blame History Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Using XRefsyle and Olinks</title><link rel="stylesheet" type="text/css" href="manual.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /><link rel="home" href="index.html" title="DocBook to LaTeX Publishing" /><link rel="up" href="ch03.html" title="Chapter 3. Using dblatex" /><link rel="prev" href="ch03s16.html" title="Locale Support" /><link rel="next" href="sec-footnote.html" title="Footnotes" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Using XRefsyle and Olinks</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s16.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Using dblatex</th><td width="20%" align="right"> <a accesskey="n" href="sec-footnote.html">Next</a></td></tr></table><hr /></div><div class="section" title="Using XRefsyle and Olinks"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="sec-xref"></a>Using XRefsyle and Olinks</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="sec-xref.html#sec-ulink-style">Specific xrefstyle for <code class="sgmltag-element">ulink</code></a></span></dt></dl></div><p>Since version 0.2.7 you can use the <code class="sgmltag-element">xrefstyle</code> attribute
like you would do with the DocBook Project stylesheets for HTML output.</p><p>Furthermore, you can also use <code class="sgmltag-element">olink</code>s. Note that
Olinking is used in the PDF version of this manual,
in <a class="xref" href="sec-changelog.html" title="Change History">the section called “Change History”</a>.</p><p>Actually, the common DocBook Project stylesheets version 1.72 are now
used by dblatex to handle all of these features.</p><p>These features are fully described in the <a class="ulink" href="http://www.sagehill.net/docbookxsl/index.html" target="_top">DocBook XSL: The Complete Guide</a> book by Bob Stayton. In particular, the following sections cover these topics:

</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="ulink" href="http://www.sagehill.net/docbookxsl/CustomXrefs.html" target="_top">http://www.sagehill.net/docbookxsl/CustomXrefs.html</a> explains how to use <code class="sgmltag-element">xrefstyle</code>.</p></li><li class="listitem"><p><a class="ulink" href="http://www.sagehill.net/docbookxsl/Olinking.html" target="_top">http://www.sagehill.net/docbookxsl/Olinking.html</a> explains how to use <code class="sgmltag-element">olink</code>s.</p></li></ul></div><p>
</p><div class="section" title="Specific xrefstyle for ulink"><div class="titlepage"><div><div><h3 class="title"><a id="sec-ulink-style"></a>Specific xrefstyle for <code class="sgmltag-element">ulink</code></h3></div></div></div><p>Dblatex defines a template that can be applied through
the xrefstyle attribute to format an <code class="sgmltag-element">ulink</code>. The template has
the following general form: 
<code class="literal">url[.{show|hide}][.{after|infoot}]</code></p><p>The principle is that the <code class="literal">show</code> and
<code class="literal">hide</code> parts override locally for this ulink the
<em class="parameter"><code>ulink.show</code></em> parameter,
and the <code class="literal">after</code> and
<code class="literal">infoot</code> parts override locally the
<em class="parameter"><code>ulink.footnotes</code></em> parameter.</p><p>When only one part is defined, only one setup is overriden, and the other setup depends on the corresponding global parameter.</p><p>See <a class="xref" href="ulink.show.html" title="ulink.show"><span class="refentrytitle">ulink.show</span></a> to have several examples of use of the ulink xrefstyle template.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s16.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sec-footnote.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Locale Support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Footnotes</td></tr></table></div></body></html>