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
]
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
[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
I'm trying to update the formatting of a PDF TOC. I mostly want to add
additional space above and bold the chapter entries.
I found the following sample for toc.line.properties in the DocBook XSL
reference, and as a test added it to my FO stylesheet.
xsl:attribute-set name=toc.line.properties
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:* 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 add
additional space above and bold the chapter entries.
I found the following sample for toc.line.properties
:* [docbook-apps] Trouble formatting PDF TOC entries
I'm trying to update the formatting of a PDF TOC. I mostly want to add
additional space above and bold the chapter entries.
I found the following sample for toc.line.properties in the DocBook XSL
reference, and as a test added it to my FO
From: Wood Nick
Sent: Thursday, October 16, 2014 2:24 PM
To: 'Janice Manwiller'
Subject: RE: [docbook-apps] Trouble formatting PDF TOC entries
Janice,
If you could run maven docbkx with your original customization (i.e. choose
instead of xsl:choose) and it did not fail, then your
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 add
additional space
@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 add
additional space above and bold the chapter entries.
I found the following sample for toc.line.properties in the DocBook XSL
reference, and as a test
-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
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
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,
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
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
15 matches
Mail list logo