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] how to adjust revhistory columns?


On Fri, 18 Mar 2011 19:00:42 -0700
Kent Watsen <kwatsen@juniper.net> wrote:

> Right now, my columns look like this:
> 
>    +------------------------------------------------------------------+
>    |          <revnumber>            |             <date>
> | +------------------------------------------------------------------+
>    | <revdescription> - a paragraph containing several sentences -
> | | much longer than either revnumber or date.  But this rendering   |
>    | is not pleasing
> | +------------------------------------------------------------------+

Not pleasing for your use? 


> 
> When I want them to be more like this:
> 
>    +------------------------------------------------------------------+
>    | <revnumber> | <date> | <revdescription> - a paragraph containing
> | |             |        | several sentences - much longer than      |
>    |             |        | either revnumber or date. This rendering
> | |             |        | is much preferred, since it has just one  |
>    |             |        | row and the first two columns are
> squeezed| |             |        | to be just big
> enough                     |
> +------------------------------------------------------------------+
> 
> 
> http://www.sagehill.net/docbookxsl/FormatRevhistory.html says:
> 
>   "If you want to further customize the revhistory table, for example
> to adjust column widths or create single-row entries, then customize
> the templates in fo/titlepage.xsl that start with:
> 
>      <xsl:template match="revhistory" mode="titlepage.mode">
>      ...
>      <xsl:template match="revhistory/revision" mode="titlepage.mode">
>      ...
>   "
> 
> I've tried a few things, but can't see how to override the default
> behavior.  How can it be done?  - just use a regular table?

From the appearance it looks like the columns are spanned?
Perhaps if you customise the td element, with a role attribute
you could style it yourself just as you wish




-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


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