Skip to content

Non convergence: place() seems to change here() #3614

@memeplex

Description

@memeplex

Description

This doesn't converge, it keeps pushing the box downwards and abort after 5 iterations. Should the absolute positioned box change the result of here()?

0.11.0:

#let f() = context {
  place(
    top + right,
    dy: here().position().y,  
    square(width: 10pt),
  )
}

#lorem(50)#f()

0.10.0:

#let f() = locate(loc => {
  place(
    top + right,
    dy: loc.position().y,  
    square(width: 10pt),
  )
})

#lorem(50)#f()

Reproduction URL

No response

Operating system

Web app

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingintrospectionRelated to the introspection category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions