X-Git-Url: http://git.projectaon.org/?a=blobdiff_plain;f=xml%2Fxhtml.xsl;h=c57e70e5a47f61e126bd7b5874e828c4827df6f3;hb=d5b44188b4a54534f3f2ac4902869e13ae792a59;hp=aa15c47c9fb57e2f113a0a0b3ef53131eb1d7278;hpb=5990fe9bc50dbd6cdd6f900597c13779fa5aa5b1;p=project-aon.git diff --git a/xml/xhtml.xsl b/xml/xhtml.xsl index aa15c47..c57e70e 100644 --- a/xml/xhtml.xsl +++ b/xml/xhtml.xsl @@ -1,6 +1,6 @@ + %xhtml.characters; ]> @@ -9,6 +9,30 @@ $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 + +Revision 1.7 2006/03/09 18:56:33 jonathan.blake +Added a language parameter and coding to switch between languages when the output is hard-coded into the transformation. + +Revision 1.5 2006/03/02 00:33:32 jonathan.blake +Removed the 'book-path' parameter to work with new gbtoxhtml.pl + Revision 1.4 2005/12/27 01:51:29 angantyr Added templates for the "bookref" and "footref" elements. @@ -94,9 +118,9 @@ Todo: -undefined-book - +en + #ff0000 @@ -152,7 +176,7 @@ Todo: -

+

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

+

@@ -181,7 +205,7 @@ Todo: -
+
@@ -201,7 +225,7 @@ Todo: -

+

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

+

@@ -230,7 +254,7 @@ Todo: -
+
@@ -252,7 +276,7 @@ Todo: -

+

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

+

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

+

@@ -331,6 +355,27 @@ Todo:
+ + + + + + + + footnotz + + + + + + second-level-backmatter + + + + + + + @@ -371,34 +416,33 @@ Todo: + -
- - - - - - - - - - - - - - - - -
[illustration]

+
+
+ + + + + +
+ + + + + + + [error: paragraphed list template] + error: paragraphed list template @@ -475,31 +519,70 @@ Todo: : - COMBAT SKILL -   + + + + DESTREZA EN EL COMBATE + + + COMBAT SKILL + + + +   - CLOSE COMBAT SKILL -   + + + + CLOSE COMBAT SKILL + + + CLOSE COMBAT SKILL + + + +   -    - ENDURANCE +    + + + + RESISTENCIA + + + ENDURANCE + + + - (TARGET points) -   + + + (o BLANCOS) + + + (TARGET points) + + +   - (RESISTANCE points) -   + + + + (RESISTANCE points) + + +   -   +   @@ -542,6 +625,82 @@ Todo: + + + + + + + + + + + + + + + @@ -553,29 +712,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
- - ill.htm - [illustration] - -

+
+
+ + + + + + ill.htm + + +
@@ -587,28 +734,17 @@ Todo: -
- - - - - - - - - - - - - - - - -
[illustration]

+
+
+ + + + + +
- @@ -670,6 +806,7 @@ Todo: [error: a template] + error: a template @@ -683,6 +820,7 @@ Todo: + @@ -693,6 +831,7 @@ Todo: + @@ -939,7 +1078,7 @@ is included in all copies. undefined - + xhtml-wrapper: Cannot write to filename: " @@ -953,14 +1092,21 @@ 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'"> - <xsl:text>Illustration </xsl:text> + <xsl:choose> + <xsl:when test="$language='es'"> + <xsl:text>Ilustración </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>Illustration </xsl:text> + </xsl:otherwise> + </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> @@ -974,7 +1120,14 @@ is included in all copies. - Published by + + + Publicado por + + + Published by + + . @@ -991,7 +1144,7 @@ is included in all copies. -
+
@@ -1009,45 +1162,88 @@ is included in all copies.

- Publication Date: + + + Fecha de Publicación: + + + Publication Date: + + - January + + de enero de + January + - February + + de febrero de + February + - March + + de marzo de + March + - April + + de abril de + April + - May + + de mayo de + May + - June + + de junio de + June + - July + + de julio de + July + - August + + de agosto de + August + - September + + de septiembre de + September + - October + + de octubre de + October + - November + + de noviembre de + November + - December + + de diciembre de + December + Invalid Month @@ -1072,17 +1268,37 @@ is included in all copies.

-

Table of Contents

+

+ + + Índice de Contenidos + + + Table of Contents + + +

    -
  • Title Page
  • + + + + Página Principal + + + Title Page + + + + +
  • .htm - + @@ -1110,7 +1326,7 @@ is included in all copies.
    -

    +

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

    +

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

    +

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

    +

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

    +

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

    +

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

    +

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

    +

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

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

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

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

    +

    @@ -1302,12 +1570,24 @@ title of each section be a simple number.
    -

    +

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

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

    +
    +
    +
    +
    @@ -1355,12 +1654,24 @@ title of each section be a simple number.
    -

    +

    + + + + mapa + + + map + + + + + @@ -1368,25 +1679,42 @@ title of each section be a simple number.
    - - - - - - - - - - - - - - - - -
    [map]

    + + + + + map.htm + 31 + 33 + [{$map-illustration-alt-text}] + +
    + + + + + + + + +
    +
    + + + + + map.htm + 31 + 33 + [{$map-illustration-alt-text}] + +
    +
    +
    +
    +
    @@ -1408,28 +1736,26 @@ title of each section be a simple number.

    - Illustration + + + Ilustración + + + Illustration + +

    - - - - - - - - - - - - - - - - -
    [illustration]

    + + + + + 31 + 33 + +

    @@ -1462,7 +1788,7 @@ title of each section be a simple number. Project Aon - + @@ -1502,6 +1828,16 @@ title of each section be a simple number. + + + + Índice de Contenidos + + + Table of Contents + + +