[docbook-apps] OPF file for EPUB is linking to images with different roles

2010-07-13 Thread Glenn McDonald
For Docbook 4.x, I was able to use the following to force PDF's to use SVG and HTML Books to use PNG's: This still works for PDF and HTML documents, however, I am finding that the epub translation causes both of these images to be referenced in the OPF file: ... media-type="image/

Re: [docbook-apps] Admonitions in .epub documents?

2010-07-13 Thread Glenn McDonald
Hi Keith, The html files that are generated for .epub have no links to the images themselves. For example, in my (working) html book, in a particular generated html file I get: src="images/note.png">Note Whereas for the epub conversion, in the generated html file I get: Note Note the

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread Sam Fischmann
Curiously enough, I don't seem to be getting a predictable speed boost on my tests. I have a huge build that runs every night, so I'll have better number for comparison tomorrow. I'm anxious to see what comes out. Thanks, -Sam On Tue, Jul 13, 2010 at 2:50 PM, Jirka Kosek wrote: > deannelson wro

Re: [docbook-apps] PDF olinking and FOP

2010-07-13 Thread Mathieu Malaterre
Hi Bob, Thanks for your interest ! You actually need two patches: 1. Fix the url mangling 2. Fix the declaration of named destinations I could patch the first one with a very ugly patch: diff -ru /tmp/docbook-xsl-1.75.2+dfsg/fo/xref.xsl /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/xref.x

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread Jirka Kosek
deannelson wrote: > I get 10-12 % on my projects, but they are below 200 pages. Thanks! If I will find time I can also change localization code so it loads only data for actually used languages. For most documents this would mean not parsing 2 MB of unused XML data which on average machine should

RE: [docbook-apps] Compact DocBook ?

2010-07-13 Thread Robert Lucente
>On topic though, so why not! Thanks for the help on what is appropriate etiquette. >By the looks of it, Leo is GUI ? Leo is a GUI in the sense that it displays nodes hierarchically just like Windows explorer displays folders/directories hierarchically. I am a novice at DocBook, Leo, literate

Re: [docbook-apps] Admonitions in .epub documents?

2010-07-13 Thread Keith Fahlgren
On Mon, Jul 12, 2010 at 11:15 PM, Glenn McDonald wrote: >  I've been trying to get admonitions working in Docbook 5 / epub output > files without any success. All that I get in .epub files is a blank space > where the admonition should be. What is an example of some of the markup that's being dro

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread deannelson
Jirka, I get 10-12 % on my projects, but they are below 200 pages. Thanks! Regards, Dean Nelson In a message dated 07/13/10 11:18:10 Pacific Daylight Time, ji...@kosek.cz writes: Stefan Kost wrote: > Sam Fischmann wrote: >> I, for one, would be interested in seeing a customization layer tha

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread Jirka Kosek
Stefan Kost wrote: > Sam Fischmann wrote: >> I, for one, would be interested in seeing a customization layer that >> implements some of your patches. Do you think you could provide a link >> some time? >> > http://git.gnome.org/browse/gtk-doc/tree/gtk-doc.xsl > > check the templates from here on >

Re: [docbook-apps] PDF olinking and FOP

2010-07-13 Thread Bob Stayton
Hi, When FOP was updated to 0.95, the old fox:outline extension element (and its descendant elements) for bookmarks was replaced with the XSL-FO 1.1 standard fo:bookmark element and its children. The old fox:outline contained the fox:destination elements, but they are not needed in the new boo

Re: [docbook-apps] Problems with header.table.height

2010-07-13 Thread Bob Stayton
Hi, The documentation for that param could use a little more explanation. That param only sets the minimum height for the table containing the header text, but it does not change the page geometry that allocates space for a larger header. For that you need to adjust other params. See this re