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] | [List Home]

Subject: Re: [docbook-apps] Table entry orientation in customization layer

Hi Bob and thx for your answers,

I am using FOP because my need is to only work as much as possible with opensource tool chain.

But I have to admit that such problems make me have strange feelings about docbook because I must set rendering informations into my docbook source files. And as you already know it is against the docbook principles about the separation of content and presentation.

How all of you deal with such things?


On 9/23/07, Bob Stayton <bobs@sagehill.net > wrote:
Can I ask what XSL-FO processor you are using?  If it is Antenna House, then you can just set the rotation and it will work.  If it is XEP, it won't work without also setting the width of the content with the <?dbfo rotated-width="xx"?> processing instruction.  XEP will make the table cell (and row) too tall of you don't.
And currently FOP 0.94 won't position the rotated text correctly in the cell if you don't set the other processing instruction.
So using the rotate attribute may not be sufficient with the current crop of processors.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: Mimil Mimil
Sent: Saturday, September 15, 2007 6:39 AM
Subject: [docbook-apps] Table entry orientation in customization layer

Hi everybody,

I would like to customize my fo layer on table <entry> in order to use the rotate=1 attribute value. I would like the following:

<entry rotate="1">text</entry>
Have the same behaviour as:
<entry align="right"><?dbfo orientation="90"?>text</entry>

But I don't know how to mimic the add of a Processing Instruction.

By the way I don't know if it is the best solution. I just want to not add a Processing Instruction in each of my entries I want rotated.

Could anyone give me a hint?


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