Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visible-pagenumber bug #320

Closed
pgundlach opened this issue Mar 8, 2021 · 0 comments
Closed

visible-pagenumber bug #320

pgundlach opened this issue Mar 8, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

layout.xml:

version 4.3.6

<Layout xmlns="urn:speedata.de:2009/publisher/en"
    xmlns:sd="urn:speedata:2009/publisher/functions/en">
    <Pageformat height="5cm" width="5cm" />
    <SetGrid height="12pt" width="1cm"/>
    <Pagetype name="t" test="true()">
        <AtPageShipout>
            <PlaceObject row="1" column="1">
                <Textblock>
                    <Paragraph>
                        <Value select="sd:visible-pagenumber(sd:current-page())"></Value>
                    </Paragraph>
                </Textblock>
            </PlaceObject>
        </AtPageShipout>
    </Pagetype>

    <Record element="data">
        <SetVariable variable="_matter" select="'frontmatter'"></SetVariable>
        <PlaceObject row="2">
            <Textblock>
                <Paragraph>
                    <Value>text</Value>
                </Paragraph>
            </Textblock>
        </PlaceObject>
        <NewPage />
        <PlaceObject row="2">
            <Textblock>
                <Paragraph>
                    <Value>hello</Value>
                </Paragraph>
            </Textblock>
        </PlaceObject>
    </Record>
</Layout>

results in

visiblepagenumber

@pgundlach pgundlach added the Bug label Mar 8, 2021
@pgundlach pgundlach self-assigned this Mar 8, 2021
@pgundlach pgundlach added this to the 4.3.7 milestone Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant