[docbook-apps] Section numbers and titles in PDF indexes

2009-08-27 Thread Andrew McFarland
I'd like to have a PDF index with section numbers and section titles in the index instead of page numbers. E.g instead of widgets .. 54 Have widgets3.4 Product Range Is this possible? I can't see any easy way to do this. I looked at the HTML index template, and only got

Re: [docbook-apps] Section numbers and titles in PDF indexes

2009-08-27 Thread Andrew McFarland
/xsl:text xsl:apply-templates select=$container mode=title.markup/ Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Andrew McFarland aamcfarl...@gmail.com To: docbook-apps@lists.oasis-open.org Sent: Thursday, August 27, 2009 8:28 AM Subject: [docbook

Re: [docbook-apps] span=inherit on fo:block when generating an index.

2008-05-23 Thread Andrew McFarland
2008/5/23 Vincent Hennebert [EMAIL PROTECTED]: This is harmless indeed. Still, can you please submit a but report to FOP? Done https://issues.apache.org/bugzilla/show_bug.cgi?id=45070 - To unsubscribe, e-mail: [EMAIL

[docbook-apps] span=inherit on fo:block when generating an index.

2008-05-22 Thread Andrew McFarland
Hi, I'm not sure if this is a FOP issue or a DocBook issue. When I transform the attached file to XSL-FO and process the resulting FO with FOP, I get this warning: WARNING: span=inherit on fo:block, but no explicit value found on the parent FO. I'm using the 1.73.2 DocBook XSL. I get this

Re: [docbook-apps] Page Break after ToC in atricle

2008-05-21 Thread Andrew McFarland
2008/5/19 Mauritz Jeanson [EMAIL PROTECTED]: Customize the component.toc.separator template (see autotoc.xsl): xsl:template name=component.toc.separator fo:block break-after=page/ /xsl:template Excellent, this worked perfectly. Thanks! Andrew

Re: [docbook-apps] Page Break after ToC in atricle

2008-05-20 Thread Andrew McFarland
2008/5/19 Mauritz Jeanson [EMAIL PROTECTED]: Customize the component.toc.separator template (see autotoc.xsl): xsl:template name=component.toc.separator fo:block break-after=page/ /xsl:template /MJ Thanks - I'll give this a try :-)

[docbook-apps] Page Break after ToC in atricle

2008-05-16 Thread Andrew McFarland
Hi, I want to add a page break after the ToC in the PDF generated from an article/. I've spent a couple of hours digging around in the docs and the XSLT, but no luck. Can anyone help? Andrew -- You did not read the manual Our tech writer is sad Locked in the toilet, he is crying

[docbook-apps] Disabling hyphenation on selected strings

2008-05-06 Thread Andrew McFarland
I'd like to be able to mark arbitrary subsections of para elements as non-hyphenatable, something like this: paraHyphenate anywhere here span type=no-hyphensDo not hyphenate this text/span Hyphenate anywhere here/para Is this possible? -- You did not read the manual Our tech writer is sad

Re: [docbook-apps] Customizing Appendix Autolabels

2008-04-24 Thread Andrew McFarland
Excellent, that worked, thanks. I also added the following customization to get Appendix before the appendix title in the main body of the document. xsl:template match=appendix mode=object.title.template xsl:choose xsl:when test=string($appendix.autolabel) != 0 xsl:call-template

[docbook-apps] Customizing Appendix Autolabels

2008-04-23 Thread Andrew McFarland
Hi, One of my users wants appendices to be labelled Appendix A, Appendix B, etc instead of A, B, etc in the ToC and the main body of the document. What is the easiest way of doing this? I'd also like to be able to add a divider between the chapters and appendices (say an hr in the HTML, or

Re: [docbook-apps] Table of Contents starts on page 4 / page breaks between lists of figures, examples, tables

2008-04-17 Thread Andrew McFarland
On 14/04/2008, Alan Oehler [EMAIL PROTECTED] wrote: snip/ Hope that helps... It did, yes. My eventual solution was to add the following to my customization layer: xsl:template name=book.titlepage.separator /xsl:template Andrew -- You did not read the manual Our tech writer is sad Locked in

[docbook-apps] Table of Contents starts on page 4 / page breaks between lists of figures, examples, tables

2008-04-14 Thread Andrew McFarland
Hi, I have a couple of problems with the Table of Contents and Lists of Figures, Examples, and Tables. I've been going through the docs and source (and sagehill.net) for a couple of hours, to no avail When I process a DocBook book against the 1.73.2 XSLT to get a PDF, the ToC starts on page 4,

Re: [docbook-apps] xrefs to titles.

2008-02-01 Thread Andrew McFarland
On 31/01/2008, Bob Stayton [EMAIL PROTECTED] wrote: A little of both. 8^) :-) Generally it is better practice to link to the container rather than the title element. I've fixed the internal tools we were using to allow linking to sect1 elements now. But people do create links to title

[docbook-apps] xrefs to titles.

2008-01-31 Thread Andrew McFarland
Hi, In the attached document I have 2 xref/ elements. One points to a sect1. The other points to the title of the sect1. When I convert it to PDF the xref/ to the sect1 becomes a hyperlink, but the xref/ to the title does not. In both cases, the generated text is correct. When I convert it to

Re: [docbook-apps] xrefs to titles.

2008-01-31 Thread Andrew McFarland
On 31/01/2008, Peter Desjardins [EMAIL PROTECTED] wrote: I've always thought of a cross-reference to a title as being semantically incorrect. It's always the titled object that is being referenced. Maybe I'm closed-minded. TBPH, It probably is in this case, and its not something I'd do

Re: [docbook-apps] Fop unable to render tables ? (without intervention ?)

2007-12-17 Thread Andrew McFarland
On 17/12/2007, Kerry, Richard [EMAIL PROTECTED] wrote: snip/ Fop is version 0.94, which I think is the latest. snip/ Try setting fop1.extensions http://docbook.sourceforge.net/release/xsl/current/doc/fo/fop1.extensions.html Also read chapter 30 of the Sagehill book,