Re: [docbook-apps] Re: Indexing.

2012-05-06 Thread davep
On 05/05/12 17:15, Norman Walsh wrote: The sources for The Definitive Guide have quite a bit of index markup from the O'Reilly copyedit. That might be a good place to look for examples. Indexing is an art. Yes. Exactly how it's described in this book I'm reading. Tks for the reference,

Re: [docbook-apps] Re: Indexing.

2012-05-06 Thread davep
On 05/05/12 17:17, Norman Walsh wrote: davepda...@dpawson.co.uk writes: I did made a note to for myself some time back that anindexterm inside a footnote caused an error. I was using oXygenXML v12 at the time. Not sure if this is still the case. Footnotes aren't normally indexed is one

Re: [docbook-apps] Indexing.

2012-05-06 Thread davep
On 05/05/12 18:57, Richard Hamilton wrote: Dave, Regarding the markup mechanics, here are two possibly unexpected things to look out for: 1) When you are doing a range, the closing index term in the range cannot follow a section close. I.e., If you have the following para some

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread davep
On 06/05/12 01:23, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/05/2012 10:38 AM, davep wrote: 1. Stick with what we have now. 2. Use the table solution and accept the limitation that all lines must always be the same height. Why is this an issue Norm? How often

Re: [docbook-apps] Image maps in PDF output

2012-05-06 Thread Bob Stayton
Hi Tyson, That message you referred to did not cover imagemaps. It was referring to using callout icons in a programlisting. In that case, an extension function is needed to preprocess the text in the programlisting to place the callout images in with the text, and that mix is then processed

[docbook-apps] Parameter causing wrong file name to be added to package file on epub3

2012-05-06 Thread Carlos Araya
Good morning: I am using the following parameter to add 2 stylesheets to my epub book: xsl:param name=html.stylesheet select='carlos-new.css fixed-layout.css'/ However it is causing the following to be added to the package file: item media-type=text/css id=html-css href=carlos-new.css

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/06/2012 01:55 AM, davep wrote: On 06/05/12 01:23, David Cramer wrote: ... But what if the user wants to put the callout somewhere other than the end of the line? If you do that, you should just abandon callouts and refer to line numbers from

Re: [docbook-apps] Parameter causing wrong file name to be added to package file on epub3

2012-05-06 Thread Bob Stayton
Indeed, you had the correct expectation. I just checked in the fix for this deficiency in the stylesheet. The latest snapshot works. Thanks for the bug report. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Carlos Araya carlos.ar...@gmail.com To:

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread Thomas Schraitle
Hi Lars, Am Sonntag, 6. Mai 2012, 17:53:35 schrieb Lars Vogel: A bit of topic, but how do I activate line numbers in a program listing? 1. Add the attribute-value pair linenumbering=numbered in programlisting or screen. 2. Use Saxon and put the saxon65.jar DocBook extension in your

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread Lars Vogel
Hi Tom, thanks but if I set this up with Saxon 6.5I get an error message from my Ant build file: No adjustColumnWidths function available. Details below. Best regards, Lars Full error message: build-html: [xslt] Transforming into /home/vogella/workspace/docu/output/website/articles

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread Thomas Schraitle
Hi Lars, Am Sonntag, 6. Mai 2012, 19:02:11 schrieb Lars Vogel: thanks but if I set this up with Saxon 6.5I get an error message from my Ant build file: No adjustColumnWidths function available. Details below. [...] Set tablecolumns.extension=1 and check if you _really_ have the

Re: [docbook-apps] Indexing.

2012-05-06 Thread John W. Shipman
I've indexed three 500-page books, but never in DocBook. However, I'd like to reinforce Thomas Schraitle's point that it is both important and nontrivial. The first thing I'd recommend is to read up on indexing. The Wikipedia page is a good starting point.

Re: [docbook-apps] Re: Indexing.

2012-05-06 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/05/2012 11:15 AM, Norman Walsh wrote: ... Indexing is an art. 'Kurt Vonnegut's novel Cat's Cradle includes a character who is a professional indexer and believes that indexing [is] a thing that only the most amateurish author [undertakes] to