From: Michael Smith Date: Mon, 25 Oct 2004 11:20:31 +0000 (+0000) Subject: Request #585543 (Quickref-style reference ToC) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9e1a4017726020e2cc327fc0094d891648ba7a5;p=docbook-dsssl Request #585543 (Quickref-style reference ToC) Wrapped ToC refentrytitle/refname and refpurpose in span with class values. This makes it possible to style them using a CSS stylesheet containing something like below. Implementing tablular look for FO output will have to wait... div.toc { padding-bottom: 20px; } div.toc dt, div.toc li { clear: both; } div.toc span.refentrytitle { float: left; text-align: left; } div.toc span.refpurpose { float: right; width: 65%; text-align: left; } hr { clear: both; } --- diff --git a/xsl/html/autotoc.xsl b/xsl/html/autotoc.xsl index b3cbb4729..1005ed1f8 100644 --- a/xsl/html/autotoc.xsl +++ b/xsl/html/autotoc.xsl @@ -448,16 +448,20 @@ - - - - - - - - - - - + + + + + + + + + + + - + + +