quarto-dev / quarto-dev/quarto-cli

Typst: Use something other than `columns` for page layout

Open
#7,838 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement typst
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.