From 305e23ea11d0bf29aedbb5d67e44128e66b225f3 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Mon, 15 Dec 2008 19:29:02 +0000 Subject: - More dir attributes * xslt/docbook/html/db2html-title.xsl: * xslt/docbook/html/db2html-list.xsl: * xslt/docbook/html/db2html-cmdsynopsis.xsl: * xslt/docbook/html/db2html-division.xsl: * xslt/docbook/html/db2html-qanda.xsl: * xslt/docbook/html/db2html-table.xsl: * xslt/docbook/html/db2html-css.xsl: * xslt/docbook/html/db2html-block.xsl: * xslt/docbook/html/db2html-classsynopsis.xsl: - More dir attributes svn path=/trunk/; revision=1134 --- ChangeLog | 13 +++ xslt/docbook/html/db2html-block.xsl | 6 +- xslt/docbook/html/db2html-classsynopsis.xsl | 14 +++ xslt/docbook/html/db2html-cmdsynopsis.xsl | 27 +++--- xslt/docbook/html/db2html-css.xsl | 5 +- xslt/docbook/html/db2html-division.xsl | 18 ++++ xslt/docbook/html/db2html-list.xsl | 144 ++++++++++++++++++++++++++++ xslt/docbook/html/db2html-qanda.xsl | 34 ++++++- xslt/docbook/html/db2html-table.xsl | 37 +++++++ xslt/docbook/html/db2html-title.xsl | 18 ++++ 10 files changed, 296 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index fbc6002..b4a4c79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2008-12-15 Shaun McCance + + * xslt/docbook/html/db2html-title.xsl: + * xslt/docbook/html/db2html-list.xsl: + * xslt/docbook/html/db2html-cmdsynopsis.xsl: + * xslt/docbook/html/db2html-division.xsl: + * xslt/docbook/html/db2html-qanda.xsl: + * xslt/docbook/html/db2html-table.xsl: + * xslt/docbook/html/db2html-css.xsl: + * xslt/docbook/html/db2html-block.xsl: + * xslt/docbook/html/db2html-classsynopsis.xsl: + - More dir attributes + 2008-12-08 Shaun McCance * xslt/docbook/html/db2html-inline.xsl: diff --git a/xslt/docbook/html/db2html-block.xsl b/xslt/docbook/html/db2html-block.xsl index c60e8c2..c8ad957 100644 --- a/xslt/docbook/html/db2html-block.xsl +++ b/xslt/docbook/html/db2html-block.xsl @@ -197,7 +197,7 @@ element. select="not($node/preceding-sibling::* [not(self::blockinfo) and not(self::title) and not(self::titleabbrev) and not(self::attribution) ])"/> - + @@ -257,7 +257,7 @@ This template creates an HTML #{p} element for the given DocBook element. select="not($node/preceding-sibling::* [not(self::blockinfo) and not(self::title) and not(self::titleabbrev) and not(self::attribution) ])"/> - + @@ -325,7 +325,7 @@ template. not(self::titleabbrev) and not(self::attribution) ])"/> - + diff --git a/xslt/docbook/html/db2html-classsynopsis.xsl b/xslt/docbook/html/db2html-classsynopsis.xsl index fd3e4f9..88eb506 100644 --- a/xslt/docbook/html/db2html-classsynopsis.xsl +++ b/xslt/docbook/html/db2html-classsynopsis.xsl @@ -74,6 +74,20 @@ REMARK: Describe this param not(self::titleabbrev) and not(self::attribution) ])"/>
+ + + + + + + + + + + ltr + + + block synopsis diff --git a/xslt/docbook/html/db2html-cmdsynopsis.xsl b/xslt/docbook/html/db2html-cmdsynopsis.xsl index 723bd30..2688e4e 100644 --- a/xslt/docbook/html/db2html-cmdsynopsis.xsl +++ b/xslt/docbook/html/db2html-cmdsynopsis.xsl @@ -68,19 +68,6 @@ REMARK: Describe this param - - - -div.cmdsynopsis { font-family: monospace; } - - - - @@ -173,6 +160,20 @@ div.cmdsynopsis { font-family: monospace; }
+ + + + + + + + + + + ltr + + + synopsis cmdsynopsis block - diff --git a/xslt/docbook/html/db2html-division.xsl b/xslt/docbook/html/db2html-division.xsl index 5e4f031..68c7e9a 100644 --- a/xslt/docbook/html/db2html-division.xsl +++ b/xslt/docbook/html/db2html-division.xsl @@ -263,6 +263,8 @@ $depth_of_chunk: The depth of the containing chunk in the document $chunk_divisions: Whether to create new documents for ${divisions} $chunk_info: Whether to create a new document for a title page $autotoc_depth: How deep to create contents listings of ${divisions} +$lang: The locale of the text in ${node} +$dir: The text direction, either #{ltr} or #{rtl} REMARK: Talk about some of the parameters --> @@ -296,8 +298,24 @@ REMARK: Talk about some of the parameters select="($depth_of_chunk = 0) and ($depth_in_chunk = 0 and $info)"/> + +
+ + + + + + + + + + + + + + diff --git a/xslt/docbook/html/db2html-list.xsl b/xslt/docbook/html/db2html-list.xsl index ac0217a..fdd9eae 100644 --- a/xslt/docbook/html/db2html-list.xsl +++ b/xslt/docbook/html/db2html-list.xsl @@ -33,6 +33,13 @@ REMARK: Describe this module
+ + + + + + +
@@ -44,6 +51,13 @@ REMARK: Describe this module
+ + + + + + +
    @@ -73,6 +87,13 @@ REMARK: Describe this module select="not(preceding-sibling::* [not(self::blockinfo) and not(self::title) and not(self::titleabbrev)])"/>
  • + + + + + + + li-first @@ -111,6 +132,13 @@ REMARK: Describe this module
    + + + + + + +
      @@ -148,6 +176,13 @@ REMARK: Describe this module select="not(preceding-sibling::* [not(self::blockinfo) and not(self::title) and not(self::titleabbrev)])"/>
    1. + + + + + + + li-first @@ -166,6 +201,13 @@ REMARK: Describe this module
      + + + + + + + @@ -187,6 +229,13 @@ REMARK: Describe this module

      + + + + + + + segfirst @@ -201,6 +250,13 @@ REMARK: Describe this module

      + + + + + + +
      @@ -221,6 +277,13 @@ REMARK: Describe this module
      + + + + + + + @@ -231,6 +294,13 @@ REMARK: Describe this module + + + + + + + : @@ -252,6 +322,13 @@ REMARK: Describe this module + + + + + + + @@ -265,6 +342,13 @@ REMARK: Describe this module
      + + + + + + + @@ -289,6 +373,13 @@ REMARK: Describe this module
      + + + + + + +
      @@ -325,6 +416,13 @@ REMARK: Describe this module select="not(preceding-sibling::* [not(self::blockinfo) and not(self::title) and not(self::titleabbrev)])"/>
    2. + + + + + + + li-first @@ -339,6 +437,13 @@ REMARK: Describe this module
      + + + + + + +
        @@ -356,6 +461,22 @@ REMARK: Describe this module
        + + + + + + + + + + + + + + + + term @@ -374,6 +495,13 @@ REMARK: Describe this module
        + + + + + + +
        @@ -391,6 +519,22 @@ REMARK: Describe this module
        + + + + + + + + + + + + + + + +
        diff --git a/xslt/docbook/html/db2html-qanda.xsl b/xslt/docbook/html/db2html-qanda.xsl index aab3b67..3060d0c 100644 --- a/xslt/docbook/html/db2html-qanda.xsl +++ b/xslt/docbook/html/db2html-qanda.xsl @@ -54,6 +54,22 @@ dd.answer div.label { float: left; }
        + + + + + + + + + + + + + + + +
        @@ -83,7 +99,7 @@ dd.answer div.label { float: left; } - + @@ -112,6 +128,22 @@ dd.answer div.label { float: left; }
        + + + + + + + + + + + + + + + +
        diff --git a/xslt/docbook/html/db2html-table.xsl b/xslt/docbook/html/db2html-table.xsl index 08b05ce..5f2adba 100644 --- a/xslt/docbook/html/db2html-table.xsl +++ b/xslt/docbook/html/db2html-table.xsl @@ -413,6 +413,22 @@ element to output the next #{td}. + + + + + + + + + + + + + + + + @@ -929,6 +945,13 @@ REMARK: This template needs to be explained in detail, but I forgot how it works
        + + + + + + + @@ -1000,6 +1023,13 @@ REMARK: This template needs to be explained in detail, but I forgot how it works
    3. + + + + + + + @@ -1043,6 +1073,13 @@ REMARK: This template needs to be explained in detail, but I forgot how it works + + + + + + + diff --git a/xslt/docbook/html/db2html-title.xsl b/xslt/docbook/html/db2html-title.xsl index f33c186..47621ae 100644 --- a/xslt/docbook/html/db2html-title.xsl +++ b/xslt/docbook/html/db2html-title.xsl @@ -33,18 +33,36 @@ db2html.title.block Generates a labeled block title $node: The element to generate a title for $referent: The element that ${node} is a title for +$lang: The locale of the text in ${node} +$dir: The text direction, either #{ltr} or #{rtl} REMARK: Talk about the different kinds of title blocks --> + +
      + + + + + + + + + + + + + + -- cgit v1.2.1