Re: [docbook-apps] Find unused XML files in a project

2014-07-31 Thread Kirill Churin
On Thu, Jul 31, 2014 at 11:20 AM, Nordlund, Eric er...@amazon.com wrote: Hello docbook-apps. I have a large set of projects that I am looking to scrub for unused graphics and XML files prior to sending off to localization. Some of my colleagues have created some very basic bash and batch

Re: [docbook-apps] Find unused XML files in a project

2014-07-31 Thread Fintan Bolton
Maybe this Python script would be of some use: https://github.com/fbolton/sibin My doc library does lots of re-use with xi:includes and images are also referenced all over the place. To interface with 'publican' (Red Hat publication tool), though, I need to have all my XML files under one

Re: [docbook-apps] PDF output should contain only the URL for ulinks

2014-07-31 Thread Lars Vogel
Thanks Bob, works fine. Here is the templates: xsl:template match=ulink fo:inline font-style=italic xsl:value-of select=@url / /fo:inline /xsl:template Best regards, Lars 2014-06-02 19:50 GMT+02:00 Bob Stayton b...@sagehill.net: Hi Lars, This custom

[docbook-apps] Warning if fop generation - table-layout=auto

2014-07-31 Thread Lars Vogel
Hi, If I generate PDF from DocBook via the XSL stylesheets I get lots of warning messages like the following: [fop] WARNING: The following feature isn't implemented by Apache FOP, yet: table-layout=auto (on fo:table) I used to ignore them, as the output looks OK but as I recently did not see a

Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-31 Thread Peter Lavin
Hi Bob, Sorry, didn't reply to all first time. Attached is a truncated version of the glossary. It's xincluded as the child of a book. Thanks. On 30 July 2014 21:32, Bob Stayton b...@sagehill.net wrote: Hi Peter, Can you post the DocBook input that generated that output? Bob Stayton

Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-31 Thread Bob Stayton
Hi Peter, Yes, this is a bug. The DocBook schema allows an indexterm element between glossterm and glossdef, but those map to dt and dd, respectively, and they don't allow anything in between. The updated template (attached) puts the indexterm in the dt element. I'll check this change into

Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-31 Thread Peter Lavin
Thanks very much. On 31 July 2014 13:26, Bob Stayton b...@sagehill.net wrote: Hi Peter, Yes, this is a bug. The DocBook schema allows an indexterm element between glossterm and glossdef, but those map to dt and dd, respectively, and they don't allow anything in between. The updated

Re: [docbook-apps] Warning if fop generation - table-layout=auto

2014-07-31 Thread Bob Stayton
Have you set the stylesheet parameter fop1.extensions=1 ? That will force the stylesheet to output table-layout=fixed, instead of just allowing the default value of auto. Bob Stayton Sagehill Enterprises b...@sagehill.net On 7/31/2014 5:06 AM, Lars Vogel wrote: Hi, If I generate PDF from