On Thursday 06 September 2012 17:07:37 Rob Sargent wrote:
> On 09/06/2012 06:04 AM, Samuel Penn wrote:
> > On Tue, 04 Sep 2012 09:46:23 -0600, Rob Sargent
> > 
> > <rsarg...@xmission.com> wrote:
> >>  I have long suspected that what we're asking FOP to do is somewhat
> >> 
> >> "out there".  Man would I love a review of my xsl/fo
> >> transformation.  2700+ lines of xsl can't be a good thing!
> > 
> > That doesn't seem that bad. My own XSLT for FOP is pushing 7000 lines.
> > 
> > :-)
> 
> That's just wrong! :)  What on earth are you doing?

Documenting rules for a (pen and paper) roleplaying game. Most of it is
handling the maths and rules for displaying inline character sheets, or
building lists of skills, spells or equipment which do a lot of referencing
to each other and semi-complex mangling according to game rules.

I started off using Docbook, then decided it was too complex in areas I
wasn't interested in, and wasn't suited to handling the things I was
interested in.

The code is here:

http://yagsbook.svn.sourceforge.net/viewvc/yagsbook/trunk/xml/xslt/pdf/

The project is over 10 years old, so there's probably a lot of cruft
in there which doesn't help matters.

The general layout of the documents themselves isn't particulary
exciting. There's a lot I'd like to be able to do, especially around
image and table layout (auto-placement of images, and stretching them
across two text columns etc), which doesn't yet seem to be possible in
FOP. There's an example document here:

http://yags.glendale.org.uk/download/yags-character.pdf

Which is built from the source XML files here:

http://yagsbook.svn.sourceforge.net/viewvc/yagsbook/trunk/sources/yags/

-- 
Be seeing you,        Games: http://www.glendale.org.uk/
Sam.                  Posts: http://www.google.com/profiles/samuel.penn

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to