quarto-dev / quarto-dev/quarto-cli
Typst: Use something other than `columns` for page layout
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Prior to 1.4, columns is used to:
Specify length of lines in characters. This affects text wrapping in generated source code (see wrap). It also affects calculation of column widths for plain text tables.
(Honestly, I don't quite understand what this does...but from reading about wrap seems like it doesn't have any effect on rendered output).
In 1.4. columns is used to control the number of columns of text on a page for typst. It feels like the use cases are so different they shouldn't be lumped under the same key.
Maybe the typst option should be something like page-columns.
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
Start by locating where the columns option is interpreted for Typst output and how the pre-1.4 line-wrapping behavior is distinguished from page layout. Confirm the intended separate option name and preserve the existing wrapping behavior while making the Typst page column setting independent; verify both use cases before considering the issue done.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100