[xep-support] Re: fo:page-position="only" does not work

From: Dave Pawson <dave.pawson@gmail.com>
Date: Tue Nov 30 2010 - 07:00:36 PST

On 30 November 2010 14:31, Stefan Unterhofer <Stefan.Unterhofer@tpt.com> wrote:> The output is correct on documents with more than one page ("erste-seite" on pages 1-x, "letzte-seite" on the last page). When processing a document with only one page it uses the "erste-seite" master even though it should use the one having page-position="only".

The rec (6.4.12) doesn't cover this so I guess it is down to thevendor ("Implementation dependent")
Another case of "I want layout dependent formatting", which I thinkwe'll get eventually.

regards DaveP
>> On Nov 30, 2010, at 3:23 PM, Dave Pawson wrote:>>> On 30 November 2010 14:15, Stefan Unterhofer <Stefan.Unterhofer@tpt.com> wrote:>>> Hi,>>>>>> I have a stylesheet with two page masters, one for all pages and one for the last page, and am trying to apply the page master for the last page if the document has only one page. According to the xsl:fo documentation this should be possible by using the page-position="only" attribute in a fo:conditional-page-master-reference next to those with "first","last" and "rest" as page-position. However, when I process the document, the page master for page-position="first" is applied.>>>>>> This is my page sequence master:>>>>>>        <fo:page-sequence-master master-name="bestaetigung">>>>          <fo:repeatable-page-master-alternatives>>>>            <fo:conditional-page-master-reference master-reference="letzte-seite" page-position="only"/>>>>            <fo:conditional-page-master-reference master-reference="erste-seite" page-position="first"/>>
>>            <fo:conditional-page-master-reference master-reference="erste-seite" page-position="rest"/>>>>            <fo:conditional-page-master-reference master-reference="letzte-seite" page-position="last"/>>>>          </fo:repeatable-page-master-alternatives>>>>        </fo:page-sequence-master>>>>>>> I am using xep 4.18 and have replaced saxon with version Besides the issue with the page-position element I have no problems at all. Do I have an error in my setup or is there a bug that is causing this?>>>>>> Thanks,>>> Stefan Unterhofer>>>>>> Does it work when you push 3 pages of content through? That might be a>> better test for it.>>>> regards>>>> -->> Dave Pawson>> XSLT XSL-FO FAQ.>> Docbook FAQ.>> http://www.dpawson.co.uk>>>>>>>>>> _______________________________________________>> (*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support>> (*) By using the Service, you expressly agree to these Terms of Service http://w>> ww.renderx.com/terms
-of-service.html>> >>> _______________________________________________> (*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support> (*) By using the Service, you expressly agree to these Terms of Service http://w> ww.renderx.com/terms-of-service.html>

-- Dave PawsonXSLT XSL-FO FAQ.Docbook FAQ.http://www.dpawson.co.uk

_______________________________________________(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Nov 30 07:00:46 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 30 2010 - 07:00:47 PST