Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-21 Thread Janice Manwiller
FYI, with help from Nick Wood I was finally able to figure out what was wrong and get this to work. Passing along in case it helps someone else. The main problem was that I did not specify the DocBook 5 namespace. The namespace declaration was missing from the top of the custom stylesheet, and I

RE: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-21 Thread Wood Nick
] Sent: Tuesday, October 21, 2014 3:20 PM To: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] Trouble formatting PDF TOC entries FYI, with help from Nick Wood I was finally able to figure out what was wrong and get this to work. Passing along in case it helps someone else. The main

RE: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-17 Thread Wood Nick
[mailto:ordin...@gmail.com] Sent: Thursday, October 16, 2014 7:18 PM To: Janice Manwiller Cc: Bob Stayton; Wood Nick; Fekete, Róbert; docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] Trouble formatting PDF TOC entries Hi Janice, Since some FO customizations do work and not others

RE: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Wood Nick
Janice, Try xsl:choose/. Regards Nick From: Janice Manwiller [mailto:jan...@sqrrl.com] Sent: Thursday, October 16, 2014 1:45 PM To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] Trouble formatting PDF TOC entries I'm trying to update the formatting of a PDF TOC. I mostly want to

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Janice Manwiller
Nope, that didn't do it. Still no bold for the chapter TOC entries. On Thu, Oct 16, 2014 at 7:57 AM, Wood Nick nick.w...@ncia.nato.int wrote: Janice, Try *xsl:*choose/. Regards Nick *From:* Janice Manwiller [mailto:jan...@sqrrl.com] *Sent:* Thursday, October 16, 2014 1:45 PM

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Fekete , Róbert
Hi, Your customization with Nick's correction should be working, that's what we also use. Do you have any other ToC-related customization that could interfere? Robert On Thu, Oct 16, 2014 at 2:07 PM, Janice Manwiller jan...@sqrrl.com wrote: Nope, that didn't do it. Still no bold for the

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Janice Manwiller
It looks like the existing toc.line entry in the customization file does do some customization for appendices and chapters. Could that be interfering with the toc.line.properties attributes? xsl:template name=toc.line xsl:param name=toc-context select=NOTANODE/ xsl:variable name=id

RE: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Wood Nick
-apps] Trouble formatting PDF TOC entries It looks like the existing toc.line entry in the customization file does do some customization for appendices and chapters. Could that be interfering with the toc.line.properties attributes? xsl:template name=toc.line xsl:param name=toc-context

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Janice Manwiller
-open.org *Subject:* Re: [docbook-apps] Trouble formatting PDF TOC entries It looks like the existing toc.line entry in the customization file does do some customization for appendices and chapters. Could that be interfering with the toc.line.properties attributes? xsl:template name=toc.line

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Bob Stayton
Hi Janice, Indeed, this behavior you see is strange. When I copy your code into a basic customization layer and run it outside of Maven, it works properly. I'm not sure what your reasons are for using Maven, but it seems to be getting in the way rather than helping. Can you run the

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Janice Manwiller
Unfortunately not anytime soon, since it was chosen for easy integration with the product build. I've been able to make several customizations in the FO XSL file that do work, so it seems to be a bit hit or miss. On Thu, Oct 16, 2014 at 12:43 PM, Bob Stayton b...@sagehill.net wrote: Hi Janice,

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Aaron DaMommio
Have you looked at whether, when you run under Maven, you're actually using a different processor than you think? Maven could change your starting context or paths. You may be able to configure Maven to work like you expect. --Aaron DaMommio On Thu, Oct 16, 2014 at 11:56 AM, Janice Manwiller

Re: [docbook-apps] Trouble formatting PDF TOC entries

2014-10-16 Thread Barton Wright
Hi Janice, Since some FO customizations do work and not others, the current issue has two probable causes: The most likely cause is that there is a docbkx parameter setting, or worse, an undeclared _default_ parameter setting, that is overriding your custom TOC template. The docbcx