Hi Kent,
It seems that the attribute tocentry on table was overlooked in the stylesheet implementation. Can you please file a bug report on the DocBook SourceForge site to get it fixed? Thanks.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Kent Watsen" <[email protected]>
To: "Bob Stayton" <[email protected]>; <[email protected]>
Sent: Tuesday, April 05, 2011 4:53 PM
Subject: RE: [docbook-apps] how to adjust revhistory columns?



That looks entirely too complicated for my novice-level XSL skills  ;)


Now I'm trying to just use a <table>, but setting tocentry="0" on the <table> element isn't suppressing the table's entry in the "List of Tables" - for either html or fo output. Any ideas?

For instance:

   <table tocentry="0">
     <title>Revision History</title>
     ...
   </table>


Thanks,
Kent







-----Original Message-----
From: Bob Stayton [mailto:[email protected]]
Sent: Tuesday, March 22, 2011 1:00 PM
To: Kent Watsen; [email protected]
Subject: Re: [docbook-apps] how to adjust revhistory columns?

Hi Kent,
To get your layout, you would need to copy those two templates from 
fo/titlepage.xsl
to your customization layer and rewrite the table code. In the revhistory 
template,
you would need to adjust the column-widths, and in the revision template, put 
all the
content into a single fo:table-row with three cells.  Is that sufficient?

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Kent Watsen" <[email protected]>
To: <[email protected]>
Sent: Friday, March 18, 2011 7:00 PM
Subject: [docbook-apps] how to adjust revhistory columns?


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                                                  |
  +------------------------------------------------------------------+

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?

Thanks,
Kent


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to