Conversation
saecki
left a comment
There was a problem hiding this comment.
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?
|
Thank you for the quick response.
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”.
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?
…On Fri, 6 Mar 2026 at 11:25 Tobias Schmitz ***@***.***> wrote:
***@***.**** commented on this pull request.
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?
------------------------------
In packages/preview/bidi-flow/0.1.1/typst.toml
<#4272 (comment)>:
> @@ -0,0 +1,11 @@
+[package]
+name = "bidi-flow"
+version = "0.1.1"
+entrypoint = "lib.typ"
+authors = ["Jeff"]
+license = "MIT"
The repository isn't linked. You can of course decide not to link it here,
but it just seemed like an oversight.
—
Reply to this email directly, view it on GitHub
<#4272 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBRRTRMAXG6PBH6YYQHNJQL4PKKQZAVCNFSM6AAAAACWIB6JU6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTSMBSGU2DCMJRGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sorry, we should have communicated this better internally instead of asking the same question two times (#4256 (comment)).
Since |
Summary
packages/preview/bidi-flow/0.1.1bidi-flow(non-breaking):latin-font,arab-font,hebrew-fontValidation