Re: XFC Stylefile
Hussein Shafie <[email protected]> Sun, 05 Apr 2015 09:16:37 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
On 04/04/2015 09:59 PM, Sascha Manns wrote: > > thanks for clarifying. I misunderstoof the process. > I already have a set of fo stylesheets and modified them a little bit. > Now it builds very good. > I'm using: > <xsl:param name="title.color">#d40032</xsl:param> and > <xsl:param name="body.font.family">"OfficinaSans-Book"</xsl:param> > <xsl:param name="title.font.family">"OfficinaSans-Book"</xsl:param> > also: > <xsl:attribute-set name="title.name.color"> > <xsl:attribute name="color">#d40032</xsl:attribute> > </xsl:attribute-set> > > <xsl:attribute-set name="title.number.color"> > <xsl:attribute name="color">#d40032</xsl:attribute> > </xsl:attribute-set> > > <xsl:attribute-set name="section.title.properties"> > <xsl:attribute name="color"><xsl:value-of > select="$title.color"/></xsl:attribute> > <xsl:attribute name="font-size"> > <xsl:value-of select="$body.font.master * 1.6"/> > <xsl:text>pt</xsl:text> > </xsl:attribute> > </xsl:attribute-set> > > Actual it produces a docx with red headings. But the main title and toc > title is in black. Do you have already seen such thing? > > And a second question: Is it possible to place a logo inside the headline? > You'll find all the answers about customizing the output of the DocBook XSL stylesheets in these two documents: * DocBook XSL Stylesheet Reference Documentation by Norman Walsh. http://docbook.sourceforge.net/release/xsl/current/doc/ * DocBook XSL: The Complete Guide by Bob Stayton. http://www.sagehill.net/docbookxsl/ -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support