`divider` is incompatible with `page(width: auto)`
Open
Nobody has claimed this yet.
bug
layout
model
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
When having an auto width page, the divider appears to have zero width, independent of the page width.
#set page(width: auto)
#lorem(10)
#divider()
#lorem(10)
Operating system
No response
Typst version
- I am using the latest version of Typst
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the provided Typst snippet using page(width: auto) and divider. Trace how divider width is determined relative to the auto-width page; done means the divider has visible width matching the page instead of rendering at zero width.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100