[docbook-apps] PDF Output with Oxygen and Custom XSL Stylesheet: One color is defined but when transforming to Pdf two colors appear

2012-02-02 Thread daniel . keyes
Hello, a new problem occured whil generating PDFs with our custom XSL stylesheet. For our user manual we have designed an example box, designed for specific code examples etc., It is basically a text box with a dark green border and a light-green background: xsl:template

[docbook-apps] including xhtml questions

2012-02-02 Thread Tim Arnold
Hi, I create DocBook 5 XML and use the html stylesheets to produce html. I also use the dbhtml file= processing instruction to insert some xhtml files that have been externally generated. Unfortunately I have no control over the external process and the xhtml contains nbsp; entities and duplicate

Re: [docbook-apps] 'endterm' with olinks?

2012-02-02 Thread Bob Stayton
This is not a feature that is currently supported, so something original is called for here. I can think of two approaches, the former more complex but more complete than the latter. Approach 1. The olink element allows an attribute named 'localinfo' which is described in The Definitive

[docbook-apps] Converting DocBook to ODF, with intact formatting

2012-02-02 Thread Jason McKesson
I'm writing a document in DocBook, but I need to provide that text in the ODF format. I've tried using DocBook XSL to generate HTML, which I then convert with LibreOffice into ODF. That functions, but it messes up certain formatting, like the sizes of images. Images also aren't imported, so

[docbook-apps] table.cell.properties clobbering colsep/rowsep/cell borders

2012-02-02 Thread danmauer
Hello, I'm trying to set up my table styles for a document. Basically, I want the heading row of each table to be gray. However, using this template (which I pulled from a sample), it kills most of the other settings for the tables in the document, particularly the colsep/rowsep cell borders.

Re: AW: [docbook-apps] Font color

2012-02-02 Thread Benjamin de Dardel
Thanks a lot. It works fine. Regards, Benjamin Le 31/01/2012 14:25, Dominic Weiss a écrit : Hi, try: xsl:template match=*[@role='red'] priority=10 fo:inline color=redxsl:apply-imports//fo:inline /xsl:template Have a look here: http://www.w3schools.com/xslfo/prop_color.asp Greetings

[docbook-apps] Word macros

2012-02-02 Thread Benjamin de Dardel
Hi all, I need to generate ms word documents (.docx) to keep compatibility with existing document system. I succeed to produce nice document with xmlmind fo processor (fo2docx) and stylesheets. Is there a way to generate macros to include external excel objects, such as {LINK Excel.Sheet.8

Re: [docbook-apps] table.cell.properties clobbering colsep/rowsep/cell borders

2012-02-02 Thread Bob Stayton
Yes, in this case the template is not an empty placeholder to supplement the main template, it is the main template for adding properties to table cells. So you need to copy the whole thing to your customization layer and modify it. You can put your code in place of the first xsl:if in the