From: Bob Stayton Date: Mon, 15 Dec 2008 22:21:16 +0000 (+0000) Subject: Add support for writing.mode to set text direction and alignment X-Git-Tag: release/1.79.1~6^2~1218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd850e5269f98482142f80905652927cc7d1b6d2;p=docbook-dsssl Add support for writing.mode to set text direction and alignment based on document locale. --- diff --git a/xsl/html/docbook.xsl b/xsl/html/docbook.xsl index d5f548657..55ab47d7c 100644 --- a/xsl/html/docbook.xsl +++ b/xsl/html/docbook.xsl @@ -120,6 +120,9 @@ #0000FF #840084 #0000FF + + rtl + diff --git a/xsl/html/html.xsl b/xsl/html/html.xsl index 132edac41..441b2ab08 100644 --- a/xsl/html/html.xsl +++ b/xsl/html/html.xsl @@ -12,6 +12,33 @@ ******************************************************************** --> + + + + + left + right + left + + + + + + right + left + right + + + + + + ltr + rtl + ltr + + + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 49c4125ff..8aece97cb 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -308,3 +308,4 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 315d9cc7a..1035a8844 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -132,6 +132,7 @@ $Id$ &draft.watermark.image; &generate.id.attributes; &generate.meta.abstract; +&writing.mode; XSLT Processing &rootid; @@ -726,6 +727,7 @@ around all these parameters. +