Skip to content

Footnote in block renders at the page where the block ends #2449

Closed

Description

@Zheoni

Description

This code

#set page(height: 3cm, width: 5cm, margin: .5cm)

- Item 1
- Item 2#footnote[From item 2]
- Item 3
- Item 4#footnote[From item 4]
- Item 5#footnote[From item 5]

Renders this
image

I would expect footnotes 1 and 2 to be in the first page, not the second.

Reproduction URL

No response

Operating system

Web app, Windows

Typst version

  • I am using the latest version of Typst

Activity

  1. added
    bug
    on Oct 20, 2023
  2. ludwig-austermann commented on Oct 20, 2023

    @ludwig-austermann

    I think I noticed this behaviour also in breakable blocks, which is also suboptimal.

  3. laurmaedje commented on Oct 20, 2023

    @laurmaedje
    Member

    Yeah, it's a known limitation :/

  4. added
    layout
    on Oct 22, 2023
  5. freetz13 commented on Nov 19, 2023

    @freetz13

    The same is happening in grid. Any updates on this?

  6. laurmaedje commented on Nov 19, 2023

    @laurmaedje
    Member

    Unfortunately no. Tackling this will require larger changes to the layout engine, which will only happen in a longer timeframe.

  7. changed the title [-]Footnote in list item renders at the page where the list ends[/-] [+]Footnote in block renders at the page where the block ends[/+] on Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglayout

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions