This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Problems with nested lists


I am continuing to have problems with nested lists:
specifically, that the numbering notation seems to
be somewhat random in its selection of different
notation at different points in the list.  

Attached is a source XML file, the XSL used to transform
it (just a wrapper for the DocBook xsl - you will need to 
modify it to point to your own location) and the HTML 
that is generated.

I have been using Michael Kay's "Instant Saxon" on a
Windows XP machine.

Any help appreciated...

Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

Attachment: test-list.xml
Description: Text document

Attachment: pp-html-docbook.xsl
Description: Text document

Title: Colonization

Colonization

A game for the piecepack

Ken Leyhe


          <>
        

Copyright © 2002 Kenneth Leyhe Sr.

2002-05

Revision History
Revision 2.22002-05-01kl

Equipment

1 piecepack (http://www.piecepack.org).

Objective

As an interstellar explorer your mission is to colonize more planets then the other species before you run out of time.

Setup

  1. Each player takes a pawn and a set of coins from the same suit. These represent a player's ship and power reserves respectively.

  2. Remove the four null tiles and place them, face-up, in four separate locations on the table. These represent the suns in each of the four solar systems.

  3. Each player places his pawn on one of the four suns.

  4. The remaining tiles are shuffled and placed facedown to the side. These represent planets.

  5. On tiles and coins an Ace has a value of 1 and a Null has a value of 0.

Play

On a players turn he may do one of the following five actions:

  1. Draw and place a planet.

  2. Colonize a planet.

  3. Roll die and move ship.

  4. Play a coin and move ship.

  5. Restore power reserves.

  1. Draw and place a planet.

    1. A planet's suit determines the solar system it will be played to.

    2. The value of the planet determines where in the solar system it will be placed.

      1. If the planet is the first to be added to a solar system it is placed to the right of the sun.

      2. If the value is higher then the last planet to be played in that system it is added to the current string of planets.

      3. If the value is lower then the last planet to be played in that system it is added to the sun.

  2. Colonize a planet.

    1. The player must be on the planet he wishes to colonize.

    2. Only planets can be colonized, a sun cannot.

    3. A player must have coins left in his stash to colonize.

    4. If the planet is not colonized the player can attempt to colonize it.

      1. The player determines if any coins will be used for colonization.

      2. The player rolls the die and adds the value of any coins used.

      3. With the exception of an Ace planet, if the modified roll is higher then the planet's value the player has colonized it.

        1. The player discards any coins used for the roll.

        2. The player places a coin on the planet to show the colony.

      4. An Ace planet can only be colonized by using a Null or Ace coin or rolling a Null or Ace on the die. If the player uses a Null or Ace coin or rolls a Null or Ace then the player has colonized the planet. The same rules for success still apply.

      5. If the modified roll is unsuccessful the player discards any coins used and ends his turn.

    5. If the planet is colonized by another player you must first destroy the existing colony.

      1. The player rolls the die.

        1. If the roll is equal to or higher then the value of the colony it is destroyed, unless it is a value 0 colony.

        2. If the value of the colony is 0 only a roll of a Null or Ace can destroy it.

        3. If the roll is less then the value of the colony the attempt is failed.

        4. If the colony is destroyed it is removed from play.

      2. Once a colony has been destroyed, the player may, on his next turn attempt to colonize the planet.

  3. Roll die and move ship.

    1. Two ships may never be on the same planet, but they may pass each other.

    2. Several factors determine what moves a player can make when he rolls the die.

      1. If a player rolls a Null he may warp to another systems sun as long as it is unoccupied.

      2. If a player is on a planet on which he owns a colony and he rolls an Ace he may warp to any planet of the same value that is unoccupied.

      3. If the player rolls an Ace through five he may move a number of planets up to his roll with two exceptions.

        1. He may not leave the system he is in (except where noted above).

        2. To move onto or through a planet with an opponent's colony counts as two moves.

  4. Play a coin and move ship.

    1. You may discard your Null coin and move to any unoccupied sun.

    2. If you are on a planet you have a colony on and you have a coin that has the same value you may warp to an unoccupied planet with the same value in another system.

  5. Restore power reserves.

    1. The game ends when a player has no more coins left. At this point all other players are allowed one last move.

    2. Scores are tallied and the highest scoring player wins.

      ColoniesScore Awarded
      Each planet colonized.Points equal to the value of the planet.
      Each colony on an Ace planet. 
      Each colony where the value of the colony equals the value of the planet.+ 2 points
      Player has five colonies at the end of the game.+ 3 points
      Player has six colonies at the end of the game.+ 5 points

Licensing

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html.

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]