Ok, I see what's wrong. My original tests had a table as a child of an article and a chapter, so everything worked fine. In real life, you have tables as children of sections, paras etc. so it's not quite as simple to add in support for psmi. I'll see if I can think of something.
David > -----Original Message----- > From: Daniel S. Haischt [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 12:49 PM > To: David Cramer; [EMAIL PROTECTED] > Subject: AW: DOCBOOK-APPS: [QUESTION] landscaped table > orientation using > XEP? > > > hello, > > i did something wrong while processing all the various files. > now i have setup the three step sequence accordingly, but > i still have problems with the psmi.xsl stylesheet because > saxon is not able to process the file. > > i am getting this error ... > > -------8<------------------8<------------------8<-------------- > fo: > [style] Transforming into > G:\projects\ichilli\ichilli-docs\target\docs\fo > [style] Processing > G:\projects\ichilli\ichilli-docs\target\docs\psmi\book.psmi to > G:\projects\ichilli\ichilli-docs\t > arget\docs\fo\book.fo > [style] Loading stylesheet > G:\projects\ichilli\ichilli-docs\src\documentation\stylesheets > \psmi.xsl > [style] Unexpected parent > <{http://www.w3.org/1999/XSL/Format}block> for > <{http://www.CraneSoftwrights.com/ > resources/psmi}page-sequence> > [style] Failed to process > G:\projects\ichilli\ichilli-docs\target\docs\psmi\book.psmi > > BUILD FAILED > file:G:/projects/ichilli/ichilli-docs/build-legacy.xml:209: > com.icl.saxon.style.TerminationException: Processing termina > ted by xsl:message at line 157 > ------->8------------------>8------------------>8-------------- > > i guess the problem is in line 101 of psmi.xsl > > -------8<------------------8<------------------8<-------------- > <xsl:text><{http://www.w3.org/1999/XSL/Format}flow></xsl:text> > ------->8------------------>8------------------>8-------------- > > any ideas? > > i just downloaded psmi.xsl today. > > regards > > daniel s. haischt > -- > > > -----Ursprüngliche Nachricht----- > > Von: David Cramer [mailto:[EMAIL PROTECTED]] > > Gesendet: Donnerstag, 16. Januar 2003 19:31 > > An: [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Betreff: RE: DOCBOOK-APPS: [QUESTION] landscaped table > orientation using > > XEP? > > > > > > Those are the correct steps. Send me xep's error messages and > > I'll see if I can figure it out and (if possible) your test doc. > > Also, please let me know if there's anything else special about > > your environment (e.g. other customizations). Does it break for > > you using http://www.thingbag.net/docbook/tabletest/tabletest.xml > > as your test doc? > > > > David > > > > P.S. Daniel, I'd replied to the copy of this message that came > > directly to me last night, but my reply appears not to be > getting through: > > > > ----- Transcript of session follows ----- > > <[EMAIL PROTECTED]>... Deferred: Connection > > refused by daniel-s-haischt.biz. > > Warning: message still undelivered after 4 hours > > Will keep trying until message is 5 days old > > > > > -----Original Message----- > > > From: Daniel S. Haischt [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, January 16, 2003 12:24 PM > > > To: David Cramer; [EMAIL PROTECTED] > > > Subject: AW: DOCBOOK-APPS: [QUESTION] landscaped table > > > orientation using > > > XEP? > > > > > > > > > hello, > > > > > > i did the following steps ... > > > > > > 1) processed book.xml to book.psmi using docbook-psmi.xsl > > > 2) processed book.psmi to book.fo using psmi.xsl > > > 3) processed book.fo to book.pdf using XEP 2.7 > > > > > > unfortunatly XEP dumps alot of error messages because > > > the generated FO markup seems to be invalide. > > > > > > are the above steps wrong? > > > should i just convert the xml file that contains the actual > > > table to *.psmi? > > > > > > regards > > > > > > daniel s. haischt > > > -- > > > > > > > -----Ursprüngliche Nachricht----- > > > > Von: David Cramer [mailto:[EMAIL PROTECTED]] > > > > Gesendet: Donnerstag, 16. Januar 2003 07:54 > > > > An: [EMAIL PROTECTED]; > > > > [EMAIL PROTECTED] > > > > Betreff: RE: DOCBOOK-APPS: [QUESTION] landscaped table > > > orientation using > > > > XEP? > > > > > > > > > > > > The docbook xsls put a <fo:block-container > > > > reference-orientation="90"> around the table if the it has the > > > > attribute orient="land". I did some experiments with XEP 2.7 > > > > (which also requires absolute-position="fixed" on the > > > > block-container to use reference-orientation) and the evaluation > > > > version of 3.0, but never got good results. My understanding of > > > > block-container is that if the content of the table won't fit on > > > > one page, then it just flows off into never-never land rather > > > > than flowing to a new page. > > > > > > > > To do true landscaped tables requires Ken Holman's PSMI trick > > > > <http://www.cranesoftwrights.com/resources/psmi/index.htm>: He > > > > provides an xsl that rearranges your page sequences based on > > > > special markup you add to the fo file. I just took a stab at > > > > adding it to a docbook xsl customization. To use it, first > > > > process your doc containing <table orient="land"> with this xsl: > > > > http://www.thingbag.net/docbook/tabletest/docbook-psmi.xsl > > > > Feed the result of that transformation to Ken's psmi.xsl, and > > > > then process the result of that with your renderer (it should > > > > work with any renderer that can process fo files from the > > > docbook xsls). > > > > > > > > There's one small problem I notice in my test doc: psmi.xsl > > > > faithfully preserves the characteristics of your original page > > > > sequence in creating the new ones. Since the docbook xsls have a > > > > region-after-first that lacks a page number, the first > page after > > > > the landscaped table also lacks a page number (since it's the > > > > first page in the sequence). The easy workaround is to > add a page > > > > number to the first page of the chapter. > > > > > > > > For some reason directory listings aren't working, so here are > > > > links to the test doc and pdf: > > > > http://www.thingbag.net/docbook/tabletest/tabletest.pdf > > > > http://www.thingbag.net/docbook/tabletest/tabletest.xml > > > > > > > > David > > > > > > > > -----Original Message----- > > > > From: Daniel S. Haischt [mailto:[EMAIL PROTECTED]] > > > > Sent: Wednesday, January 15, 2003 6:42 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: DOCBOOK-APPS: [QUESTION] landscaped table > orientation using > > > > XEP? > > > > > > > > > > > > hello, > > > > > > > > i've read throught the mailing list archive and noticed, > > > > displaying tables in landscape orientation might not be > > > > supported, deppending on which transforming tool someone > > > > is using. > > > > > > > > so here comes my question ... > > > > > > > > does the following configuration produce landscaped tables? > > > > > > > > - XEP FO processor > > > > - docbook-xsl v1.58.1 > > > > > > > > XEP is configured to output PDF files. > > > > > > > > With best regards / Mit freundlichen Gruessen > > > > > > > > Daniel S. Haischt IT Consulting > > > > ______________________________ > > > > > > > > > > > > > > > > > > > > > > > >