see later message.. apologies to you and anyone else who got the idea that i wrote or claimed to have written that tutorial. after pawing through other, otherwise excellent xslt references, it was that one that brought me out of the darkness regarding xsl:fo.

thanks again to the dave pawson and arved sandstrom. may their work bring them fame and fortune when it gets to print.

Stephen Clarke wrote:
Hi Bart,

Thanks much for going that extra step to confer the benefit of your superior
understanding upon this wayward rapscallion.

At last I've got it. Soon I'll be a world class online typographer, right?



----- Original Message -----
From: "Bart Locanthi" <[EMAIL PROTECTED]>
Sent: Saturday, February 16, 2002 5:11 AM
Subject: Re: A brain teaser

the xsl:fo way of doing what you want isn't pretty, but it's a very
standard wish in book formatting. after you figure it out, you will
wonder how else it could have been defined.

the tutorial chapter below pretty much explains how to do this:

in the code submitted already, i would have used page-position="rest"
rather than odd-or-even="any", but i don't think it would make a diff.

the hard part has to do with the so-called "static content" written to
the page masters, eg:

        <fo:page-sequence master-reference="book">
            <fo:static-content flow-name="first-before">
                <fo:block text-align="center">
                    first page header goo
            <fo:static-content flow-name="rest-before">
                <fo:block text-align="center">
                    other page header goo
where "first-before" and "rest-before" talk about areas on the two page
masters you define.

Perhaps i should have explained, the subsequent headers are different


the first header.

The first version, Magnus' version, produced two documents. The first


had the special headers and the second one had the ordinary ones.

The second version does the same. I don't see how the content of the


will change. Granted, the margin size will change. But I need what is
contained in the header on the subsequent pages to be different from

what is

at the top of the first page. Are we to conclude that it can't be done?

I'm concluding this can't be done. {:(


----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 15, 2002 2:59 PM Subject: Re: A brain teaser

        <fo:page-sequence-master master-name="standard">
                  <fo:conditional-page-master-reference page-position
="first" master-name="first"/>



Reply via email to