OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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:dcramer@broadjump.com]
> Gesendet: Donnerstag, 16. Januar 2003 07:54
> An: daniel.haischt@daniel-s-haischt.biz;
> docbook-apps@lists.oasis-open.org
> 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:sirabyss@gmx.net]
> Sent: Wednesday, January 15, 2003 6:42 AM
> To: docbook-apps@lists.oasis-open.org
> 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
> ______________________________
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC