Hi,
when developing customizations for the DocBook stylesheets I have
always the feeling I forget something important and work without any
safey net. ;)
As such, it would be great to have a test framework which could
automatically check the transformation results with the expected
behaviour.
I
On Thu, 16 Oct 2014 10:56:11 +0200
Thomas Schraitle tom_s...@web.de wrote:
Hi,
when developing customizations for the DocBook stylesheets I have
always the feeling I forget something important and work without any
safey net. ;)
As such, it would be great to have a test framework which
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
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
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
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
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
Hi Dave,
thanks for your reply! :)
On Thu, 16 Oct 2014 12:25:40 +0100
davep da...@dpawson.co.uk wrote:
[...]
How do *you* develop and test your stylesheets? Has anybody used
such frameworks? Any help is greatly appreciated. :)
xspec is for the general case. Question: Is docbook
Hi Janice,
Comparing your customization to mine, there is little difference, other than
the addition of the chapter/appendix number prefixing the title, and nothing
here appears to be in conflict. My observation remains extant regarding the
processing, if maven did not complain about the
Very strangeif the processing is ignoring toc.line.properties
completely, then why did I get the original error that xsl:choose was
required? Or is the validation of the XSL file separate from the actual
implementation?
On Thu, Oct 16, 2014 at 9:22 AM, Wood Nick nick.w...@ncia.nato.int wrote:
On 16.10.2014 10:56, Thomas Schraitle wrote:
I'm not sure how easily could this be adapted to our current XSLT 1
base. Are there other (better?) solutions?
If you will not use extensions, it should be possible to run DocBook
XSLT stylesheets in XSLT 2.0 processor, hence use XSpec.
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
On Thu, October 16, 2014 9:56 am, Thomas Schraitle wrote:
when developing customizations for the DocBook stylesheets I have
always the feeling I forget something important and work without any
safey net. ;)
As such, it would be great to have a test framework which could
automatically check
17 matches
Mail list logo