RE: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-25 Thread Dominik Psenner
Hi Dave, that should work with a straight forward xsl:choose statement and the XSL functions number(), string-length() and substring() to convert your string to a double. I.e. something like: xsl:template name=StrToNumber xsl:param name=str / xsl:choose xsl:when

[docbook-apps] How to put a link at top of generated web help page

2012-05-25 Thread Derek Van Kooten
So, I got my build process to generate a webhelp site and a pdf document from my docbook document. All is looking great. I figured out how to change the logo and some of the colors on the generated site. Now, last thing I have not figured out yet. How can I put a link on the top of all those

Re: [docbook-apps] How to put a link at top of generated web help page

2012-05-25 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/25/2012 10:12 AM, Derek Van Kooten wrote: So, I got my build process to generate a webhelp site and a pdf document from my docbook document. All is looking great. I figured out how to change the logo and some of the colors on the generated

Re: [docbook-apps] How to put a link at top of generated web help page

2012-05-25 Thread Bob Stayton
Following up on David's suggestion, the authors of the stylesheet provided a hook for adding your own content in the header. The empty template named 'user.webhelp.navheader.content' is called just before the nav links in the upper right. For example, the following in a customization layer

[docbook-apps] Automatic glossaries and seealso

2012-05-25 Thread David Goss
I'm using glossary role=auto / to generate a glossary for multiple documents from the same source. This works great, unless I use a glossterm in the document that contains a glossseealso element. When this happens, I get the See also reference in the generated glossary, but if the glossterm

Re: [docbook-apps] Automatic glossaries and seealso

2012-05-25 Thread Bob Stayton
Hi David, This is a limitation of the current implementation of the automatic glossary. See this doc for more details: http://www.sagehill.net/docbookxsl/GlossDatabase.html#LinksGlossCollection It suggests also reading this parameter reference page:

Re: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-25 Thread Bob Stayton
One way to handle those characters is to use the translate() function to remove them before doing the test. If the third argument of translate() is empty, then the matching characters in the second argument disappear, and all other characters are left untouched. Something like:

[docbook-apps] generating pdf from DocBook slides

2012-05-25 Thread Stefan Seefeld
Hello, I'm trying out the generation of pdf (via fo stylesheets) from DocBook Slides. The repository contains fo stylesheets specifically for slides, but I can't find any documentation for how to customize them. Has anyone ever used them to produce pdf from DB Slides ? Thanks, Stefan

Re: [docbook-apps] generating pdf from DocBook slides

2012-05-25 Thread Stefan Seefeld
On 05/25/2012 05:56 PM, Gábor Kövesdán wrote: On 2012.05.25. 22:58, Stefan Seefeld wrote: I'm trying out the generation of pdf (via fo stylesheets) from DocBook Slides. The repository contains fo stylesheets specifically for slides, but I can't find any documentation for how to customize