docbook / xslt10-stylesheets

XSLT 1.0 Stylesheets for DocBook
98 stars 76 forks source link

Allow a wrapper element in titlepage template. #226

Open tgraham-antenna opened 3 years ago

tgraham-antenna commented 3 years ago

I couldn't see how to add a test for title page templates.

My usage for this is:

    <t:titlepage t:element="article" t:wrapper="fo:block-container" span="all" font-family="{$title.fontset}" padding-bottom="1lh">
        <t:titlepage-content t:side="recto" start-indent="0pt" text-align="left">
            <t:wrapper t:wrapper="fo:block" background-color="{$muk.background}" axf:border-radius="{$muk.border-radius}" margin-top="20mm" margin-left="-150pt" padding-left="150pt" margin-right="0" padding="{$muk.border-radius}" padding-bottom="0.25mm" axf:hanging-punctuation="start allow-end" color="{$muk.blue}">
            <title t:named-template="component.title" param:node="ancestor-or-self::article[1]" keep-with-next.within-column="always" font-weight="normal" font-size="30pt"/>
            <subtitle font-size="20pt"/>
            </t:wrapper>