X-Git-Url: http://git.projectaon.org/?a=blobdiff_plain;f=xml%2Fxhtml.xsl;h=c57e70e5a47f61e126bd7b5874e828c4827df6f3;hb=2b2cf205f2b6f4d655e16d23640c2154e6b1c8fe;hp=e05bbde42e273784b69ab58672ee68d4ded2239f;hpb=e3b12ddcf4e14f35c2f702b882bf3f27ef218375;p=project-aon.git diff --git a/xml/xhtml.xsl b/xml/xhtml.xsl index e05bbde..c57e70e 100644 --- a/xml/xhtml.xsl +++ b/xml/xhtml.xsl @@ -9,6 +9,21 @@ $Id$ $Log$ +Revision 1.12 2006/06/05 23:46:46 jonathan.blake +Fixing the handling of titles when elements are used. + +Revision 1.11 2006/04/04 18:48:52 angantyr +Fixed paragraphed list and illref template bug. + +Revision 1.10 2006/04/02 19:14:37 angantyr +Introduced automatic footnotes list generation and changed the illustrations +list generation so that links to numbered sections are titled "Section ...". +Backwards compatible with old XML files. + +Revision 1.9 2006/03/14 21:04:03 angantyr +Changed the illustration handling with the introduction of 'illref's. +Backwards compatible. + Revision 1.8 2006/03/13 18:38:49 jonathan.blake Fixed minor Spanish translation issue @@ -161,7 +176,7 @@ Todo: -

+

@@ -179,7 +194,7 @@ Todo: -

+

@@ -190,7 +205,7 @@ Todo: -
+
@@ -210,7 +225,7 @@ Todo: -

+

@@ -228,7 +243,7 @@ Todo: -

+

@@ -239,7 +254,7 @@ Todo: -
+
@@ -261,7 +276,7 @@ Todo: -

+

@@ -307,7 +322,7 @@ Todo: -

+

@@ -318,7 +333,7 @@ Todo: -

+

@@ -340,6 +355,27 @@ Todo:
+ + + + + + + + footnotz + + + + + + second-level-backmatter + + + + + + + @@ -353,17 +389,6 @@ Todo: - - - - ilustración - - - illustration - - - -

@@ -391,34 +416,33 @@ Todo:
+ -
- - - - - - - - - - - - - - - - -
[{$illustration-alt-text}]

+
+
+ + + + + +
+ + + + + + + [error: paragraphed list template] + error: paragraphed list template @@ -601,6 +625,82 @@ Todo: + + + + + + + + + + + + + + + @@ -609,43 +709,20 @@ Todo: - - - - ilustración - - - illustration - - - - -
- - - - - - - - - - - - - - - - -
- - ill.htm - [{$illustration-alt-text}] - -

+
+
+ + + + + + ill.htm + + +
@@ -657,28 +734,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
[{$illustration-alt-text}]

+
+
+ + + + + +
- @@ -740,6 +806,7 @@ Todo: [error: a template] + error: a template @@ -753,6 +820,7 @@ Todo: + @@ -763,6 +831,7 @@ Todo: + @@ -1023,7 +1092,7 @@ is included in all copies. - <xsl:value-of select="/gamebook/meta/title[1]" /> + <xsl:apply-templates select="/gamebook/meta/title[1]" /> <xsl:text>: </xsl:text> <xsl:choose> <xsl:when test="$document-type='illustration'"> @@ -1037,7 +1106,7 @@ is included in all copies. </xsl:choose> <xsl:number count="illustration[@class='float' and contains( $use-illustrators, concat( ':', meta/creator, ':' ) )]" from="/" level="any" format="I" /> </xsl:when> - <xsl:otherwise><xsl:value-of select="meta/title[1]" /></xsl:otherwise> + <xsl:otherwise><xsl:apply-templates select="meta/title[1]" /></xsl:otherwise> </xsl:choose> @@ -1075,7 +1144,7 @@ is included in all copies. -
+
@@ -1229,7 +1298,7 @@ is included in all copies.
  • .htm - + @@ -1257,7 +1326,7 @@ is included in all copies.
    -

    +

    @@ -1274,7 +1343,7 @@ is included in all copies.
    -

    +

    @@ -1290,7 +1359,7 @@ is included in all copies.
    -

    +

    @@ -1306,7 +1375,7 @@ is included in all copies.
    -

    +

    @@ -1322,7 +1391,7 @@ is included in all copies.
    -

    +

    @@ -1342,7 +1411,7 @@ is included in all copies.
    -

    +

    @@ -1367,7 +1436,7 @@ title of each section be a simple number. -->
    -

    +

    @@ -1391,7 +1460,7 @@ title of each section be a simple number. .htm - + @@ -1416,7 +1485,7 @@ title of each section be a simple number.
    -

    +

    @@ -1427,11 +1496,63 @@ title of each section be a simple number.
    + + + +
    + + +

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

    + [ + + .htm# + + + ] + + ( + + ) + + +

    +
    + + + + + +
    +
    + + + + + + + + +
    +
    +
    -

    +

    @@ -1449,7 +1570,7 @@ title of each section be a simple number.
    -

    +

    @@ -1466,6 +1587,7 @@ title of each section be a simple number. + @@ -1476,26 +1598,45 @@ title of each section be a simple number.
    - - - - - - - - - - - - - - - - -
    [{$map-illustration-alt-text}]
    + + + + + maplarge.htm + 31 + 33 + [{$map-illustration-alt-text}] +

    + + + + + + + + + + + +
    +
    + + + + + maplarge.htm + 31 + 33 + [{$map-illustration-alt-text}] + +

    +
    +
    +
    +
    @@ -1513,7 +1654,7 @@ title of each section be a simple number.
    -

    +

    @@ -1530,6 +1671,7 @@ title of each section be a simple number. + @@ -1537,25 +1679,42 @@ title of each section be a simple number.
    - - - - - - - - - - - - - - - - -
    [{$map-illustration-alt-text}]

    + + + + + map.htm + 31 + 33 + [{$map-illustration-alt-text}] + +
    + + + + + + + + +
    +
    + + + + + map.htm + 31 + 33 + [{$map-illustration-alt-text}] + +
    +
    +
    +
    +
    @@ -1576,17 +1735,6 @@ title of each section be a simple number. - - - - ilustración - - - illustration - - - -

    @@ -1600,23 +1748,14 @@ title of each section be a simple number.

    - - - - - - - - - - - - - - - - -
    [{$illustration-alt-text}]

    + + + + + 31 + 33 + +

    @@ -1649,7 +1788,7 @@ title of each section be a simple number. Project Aon - + @@ -1707,7 +1846,7 @@ title of each section be a simple number. - + .htm @@ -1769,4 +1908,84 @@ title of each section be a simple number. + + 32 + 32 + 32 + + + + ilustración + + + illustration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + {$illustration-alt-text} + + + + [{$illustration-alt-text}] + + +
    +
    + + + + + + + + + + Sección + + + Section + + + + + + +
    + .htm + + + +