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

Hyperlink fatal error #248

Closed
pgundlach opened this issue Mar 7, 2020 · 1 comment
Closed

Hyperlink fatal error #248

pgundlach opened this issue Mar 7, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

Version 3.9.5

<Layout xmlns="urn:speedata.de:2009/publisher/en" xmlns:sd="urn:speedata:2009/publisher/functions/en">
  <Trace grid="no"/>

  <Pagetype name="page" test="true()">
    <PositioningArea name="text">
      <PositioningFrame height="66" width="1" column="1" row="1"/>
    </PositioningArea>
  </Pagetype>

  <Record element="data">
    <Output area="text">
      <Text>
        <Paragraph>
          <Value select="."/>
        </Paragraph>
      </Text>
    </Output>
  </Record>
</Layout>

data:

<data>
   <p>some text <a href="https://www.myclimate.org/">www.myclimate.org</a>.</p>
</data>

results in a fatal error:

> Shipout page 1

! error:  (pdf backend): 'endlink' ended up in different nesting level than 'startlink'
Total run time: 520.142227ms
exit status 1
!  ==> Fatal error occurred, no output PDF file produced!
Process ended with exit code: 255
@pgundlach pgundlach added the Bug label Mar 7, 2020
@pgundlach pgundlach added this to the Version 3.10 milestone Mar 7, 2020
@pgundlach pgundlach self-assigned this Mar 7, 2020
@pgundlach
Copy link
Member Author

If widows are allowed, there is no error.

<DefineTextformat name="text" widow="yes" />

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