OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] XSLT 2.0 Stylesheets for FO - Help


On 11.11.2013 17:44, rwengr wrote:
> Is FO suppose to be working for Docbook XSLT2?  If so, how?  If it is still
> under development, is there a way to get snapshots?

FO output of DocBook XSLT 2.0 is not as complete as of XSLT 1.0 based
stylesheets. For FO it's definitively better to stay with 1.0 unless you
are prepared to patch and add missing pieces.

Chapter title font size can be changed by

<xsl:template name="t:user-titlepage-templates"
as="element(tmpl:templates-list)?">

<templates-list xmlns="http://docbook.org/xslt/titlepage-templates";>

    <templates name="dedication preface chapter appendix colophon">
      <titlepage>
        <fo:block>
          <fo:block font-size="24pt"   ****** HERE ****
                    margin-left="{$title.margin.left}"
                    font-family="{$title.fontset}"
                    font-weight="bold">
            <db:title/>
          </fo:block>
          <fo:block font-family="{$title.fontset}">
            <db:subtitle/>
          </fo:block>
        </fo:block>
      </titlepage>
    </templates>

  </templates-list>


</xsl:template>

					Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]