You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
internal error: parent group when using placement: auto in figure for some large content #8487
changed the title [-]internal error: parent group when using `placement: auto` in `figure` for some large content[/-][+]`internal error: parent group` when using `placement: auto` in `figure` for some large content[/+]on Jul 11, 2026
I got a similar internal error: parent group (occurred at crates/typst-pdf/src/tags/tree/build.rs:202:14) while migrating our journal to typst.
I'm not using any table or figure (like the MRE from Saecki) so hopefully sharing the code here is helpfull. Unfortunately, minimizing the code made the crash so brittle that literally changing a character somewhere fixes it. I'm afraid I cant reduce it significantly more, at this point it was just deleting random lines or swapping some paragraphs to lorem's for 3h to no avail. If there is any tip for cleaning it, Im open to it.
It also needs an external bibliography, fonts and a custom CSL style (I couldn't get rid of them, sorry) so I just made an orphan branch as a stripped down version of our journal with only one *.typ and the necessary files.
Im compiling with latest Typst in Ubuntu and Windows 11.
I got a similar internal error: parent group (occurred at crates/typst-pdf/src/tags/tree/build.rs:202:14) while migrating our journal to typst.
I'm not using any table or figure (like the MRE from Saecki) so hopefully sharing the code here is helpfull. Unfortunately, minimizing the code made the crash so brittle that literally changing a character somewhere fixes it. I'm afraid I cant reduce it significantly more, at this point it was just deleting random lines or swapping some paragraphs to lorem's for 3h to no avail. If there is any tip for cleaning it, Im open to it.
It also needs an external bibliography, fonts and a custom CSL style (I couldn't get rid of them, sorry) so I just made an orphan branch as a stripped down version of our journal with only one *.typ and the necessary files.
Im compiling with latest Typst in Ubuntu and Windows 11.
This actually does seem to be the same problem. The bibliography uses a grid internally and here the last cell seems to be broken across pages, the second image shows part of the URL of the cygnus_x1 citation. But the first part including the cell is missing.
Activity
nik-nul commentedon Jun 11, 2026
Here is the link of ice.json:
https://box.nju.edu.cn/f/676a925c668843338720/
Since it is a large file, I don't know the best way to upload it. The link above will be available for at least one year.
[-]internal error: parent group when using `placement: auto` in `figure` for some large content[/-][+]`internal error: parent group` when using `placement: auto` in `figure` for some large content[/+]saecki commentedon Jul 20, 2026
I've reduced this to the following MRE:
Which produces the following output:

The
"B"and"Lorem ipsum"of the second cell is completely missing, which seems like a bug in the grid layouter.deivisCode commentedon Aug 21, 2026
I got a similar
internal error: parent group (occurred at crates/typst-pdf/src/tags/tree/build.rs:202:14)while migrating our journal to typst.I'm not using any table or figure (like the MRE from Saecki) so hopefully sharing the code here is helpfull. Unfortunately, minimizing the code made the crash so brittle that literally changing a character somewhere fixes it. I'm afraid I cant reduce it significantly more, at this point it was just deleting random lines or swapping some paragraphs to
lorem'sfor 3h to no avail. If there is any tip for cleaning it, Im open to it.It also needs an external bibliography, fonts and a custom CSL style (I couldn't get rid of them, sorry) so I just made an orphan branch as a stripped down version of our journal with only one
*.typand the necessary files.Im compiling with latest Typst in Ubuntu and Windows 11.
CODE
https://github.com/deivisCode/revista/tree/crash
apaño(compilacion): desactivar etiquetas dos PDFs temporalmente
saecki commentedon Aug 28, 2026
This actually does seem to be the same problem. The bibliography uses a grid internally and here the last cell seems to be broken across pages, the second image shows part of the URL of the
cygnus_x1citation. But the first part including the cell is missing.laurmaedje commentedon Sep 28, 2026
I'll close this in favor of #8890 even though the latter is newer since the latter is more to the point.