From 8703a0d42c3c1da47d764c41c74a72ef4f14dbef Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 31 Aug 2009 16:42:18 +0200 Subject: stylesheets, and better ReST conformance - layout with two columns and fixed footer - imported docutils official stylesheet - changed the XSLT code to produce XHTML more in line with rst2html.py --- templates/du2html.xsl | 106 ++++++++++++++++------- templates/reST.xsl | 234 ++++++++++++++++++++++++++++++++++---------------- 2 files changed, 234 insertions(+), 106 deletions(-) (limited to 'templates') diff --git a/templates/du2html.xsl b/templates/du2html.xsl index 07521a6..6d30510 100644 --- a/templates/du2html.xsl +++ b/templates/du2html.xsl @@ -60,6 +60,15 @@ Documenti correlati Related documents Alcuni tag Some tags Tutti i tag All tags +Attenzione! Attention! +Cautela! Caution! +!PERICOLO! !DANGER! +Errore Error +Suggerimento Hint +Importante Important +Nota Note +Trucco Tip +Avvertenza Warning @@ -95,7 +104,7 @@ - + @@ -105,15 +114,30 @@ - + + + - - - + + + + + + + + + + + + + + + + @@ -122,6 +146,7 @@ <x:value-of select="title"/> + @@ -134,30 +159,45 @@ -
-

- -

- - - -
-
- -
- - +
+ + +
+ +
+ +
+ +
+ + @@ -166,7 +206,7 @@ - + @@ -216,7 +256,7 @@
- +
@@ -229,7 +269,7 @@
  • - + ()
  • @@ -265,7 +305,7 @@
  • - +
  • @@ -298,7 +338,7 @@ diff --git a/templates/reST.xsl b/templates/reST.xsl index ecf3bd5..db6e93b 100644 --- a/templates/reST.xsl +++ b/templates/reST.xsl @@ -1,6 +1,8 @@ - - - + +

    + + +

    +
    - - footnoteref - - footnote-backref- - - - - #footnote- - - - - [ - - ] - + + [ + + ] + - - footnote - - footnote- - - - - - footnotereturn - - #footnote-backref- - - - - return to content - - - # - - : - - - - + + +
    + + + [] + + + [] + ( + + + + + , + + ) + + + + +
    + + + + + + + -
    +
      + + +
    -
    +
      + + + + + +
    @@ -260,24 +283,29 @@
    + + + + -
    +
    + + : + + + - - - - - - - +
    OptionDescription
    + +
    @@ -286,19 +314,21 @@
    - + -
    + + ,
    - + - + + @@ -326,6 +356,62 @@ + +

    + +

    +
    + + +

    + +

    +
    + + + + +
    +

    + +
    +
    + + + + + + +
    + +
    +
    + + +

    +
    + + + + + + + + +

    + +

    +
    + + +

    +
    - - +
    @@ -407,5 +492,8 @@
    + +
    +
    -- cgit v1.2.3