Skip to content

bidi-flow:0.1.1#4272

Merged
saecki merged 3 commits intotypst:mainfrom
manemajef:add-bidi-flow-0.1.1
Mar 9, 2026
Merged

bidi-flow:0.1.1#4272
saecki merged 3 commits intotypst:mainfrom
manemajef:add-bidi-flow-0.1.1

Conversation

@manemajef
Copy link
Copy Markdown
Contributor

Summary

  • add new package version at packages/preview/bidi-flow/0.1.1
  • add optional font overrides to bidi-flow (non-breaking): latin-font, arab-font, hebrew-font
  • update README docs and repository link

Validation

  • typst compile smoke test passed locally

@typst-package-check typst-package-check Bot added the update A package update. label Mar 5, 2026
@saecki saecki self-assigned this Mar 6, 2026
Copy link
Copy Markdown
Member

@saecki saecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this update. We realized you recently created both the auto-bidi and bidi-flow packages, which seem to be very similar in scope. Is there a concrete reason why you've opted to create two separate packages instead of unifying both of these?

Comment thread packages/preview/bidi-flow/0.1.1/typst.toml
@manemajef
Copy link
Copy Markdown
Contributor Author

manemajef commented Mar 6, 2026 via email

@saecki
Copy link
Copy Markdown
Member

saecki commented Mar 6, 2026

You are correct that both packages address essentially the same problem.
“auto-bidi” was my first attempt. It works by setting the language and
letting Typst determine the text direction automatically. However, this
approach requires a bit more configuration and felt somewhat fragile.

Because of that, I created “bidi-flow”, which focuses only on controlling
the direction itself rather than relying on language settings. The idea was
to make the behavior simpler and more robust.

I wasn’t expecting such a fast response from the team (which I really
appreciate), so I hadn’t yet closed the PR for “auto-bidi”. If maintaining
both packages creates unnecessary overlap, I would recommend keeping
“bidi-flow” and removing “auto-bidi”.

Sorry, we should have communicated this better internally instead of asking the same question two times (#4256 (comment)).

Regarding the missing repository link in the typst.toml, thank you for
pointing that out - I will add it. Would adding the repository link require
publishing a new version, or can this change be made without a version bump?

Since 0.1.1 hasn't been published yet, you can update this PR or open a new PR with the changes.

@saecki saecki merged commit e92cb3b into typst:main Mar 9, 2026
3 checks passed
@manemajef manemajef deleted the add-bidi-flow-0.1.1 branch March 9, 2026 12:58
leostudiooo pushed a commit to leostudiooo/packages that referenced this pull request Mar 19, 2026
retroflexivity pushed a commit to retroflexivity/typst-packages that referenced this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants