AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

cover page layout #97

Closed tmaeda3 closed 5 years ago

tmaeda3 commented 5 years ago

Hi Makita-san,

In the cover page of your sample_en.pdf, the strings "DITA to XLS-FO Transformation" of the bookmap is upper than strings "Unit test cases". I would like to change the location between them. How do I change the style sheet?

ToshihikoMakita commented 5 years ago

The solution may be very simple. The cover page stylesheet code is here.

You can customize these fo:block generation sequence as follows:

<fo:block-container>
    <xsl:copy-of select="ahf:getAttributeSet('atsCoverBookTitleBC')"/>
    <xsl:if test="exists($bookLibrary)">
        <fo:block>
            <xsl:copy-of select="ahf:getAttributeSet('atsCoverBookLibrary')"/>
            <xsl:copy-of select="$bookLibrary"/>
        </fo:block>
    </xsl:if>
    <fo:block>
        <xsl:copy-of select="ahf:getAttributeSet('atsCoverAltBookTitle')"/>
        <xsl:copy-of select="$bookAltTitle"/>
    </fo:block>
    <fo:block>
        <xsl:copy-of select="ahf:getAttributeSet('atsCoverBookTitle')"/>
        <xsl:copy-of select="$bookTitle"/>
    </fo:block>
</fo:block-container>
tmaeda3 commented 5 years ago

The problem was resolved. Thanks a lot.