Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Page break after each BIB when printing bibliography with p-print-01

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Desired Outcome Goal:
    I would like to print a collection of titles and only one title appears per page.
    I'm printing with "Print Catalog Records - Custom Format (print-01)" which uses the form print-bibliography.xsl.
    The bib data is formatted via edit_field.lng, edit_paragraph.lng and edit_doc.lng.
    How can I achieve a page break after each title? I only find the possibility of a line break using DISP ##.

    Procedure:
    To achieve a page break after each title, you must modify the print template as follows:

    print-bibliography.xsl:

    ..
    <!--SECTION-02 (FREE)-->

    <xsl:template name="section-02">
    <xsl:call-template name="table-start-row"/>
    <div style="page-break-after:always"> << add opening <div> tag here
    <xsl:for-each select="./*">
    <xsl:call-template name="bib-info">
    <xsl:with-param name="line" select="node()"/>
    </xsl:call-template>

    </xsl:for-each>
    </div> << and close it here


    <br/>
    <br/>
    <xsl:call-template name="table-end-row"/>

    </xsl:template>
    ..



    Note: You will not see the change in preview mode, but in normal printing it will come out as separate pages.

    Category: Printing (500)


    • Article last edited: 10/8/2013
    • Was this article helpful?