Skip to content

bidi-flow:0.1.0#4256

Merged
elegaanz merged 9 commits intotypst:mainfrom
manemajef:add-rtl-auto-0.1.0
Mar 4, 2026
Merged

bidi-flow:0.1.0#4256
elegaanz merged 9 commits intotypst:mainfrom
manemajef:add-rtl-auto-0.1.0

Conversation

@manemajef
Copy link
Copy Markdown
Contributor

@manemajef manemajef commented Mar 3, 2026

Summary

  • add new package at packages/preview/bidi-flow/0.1.0
  • provide automatic RTL/LTR block direction detection for Hebrew/Arabic/Latin content
  • include table direction handling by scanning table children and using the first table.cell body (so leading table.hline()/booktabs rules do not break detection)
  • align README examples with @preview/bidi-flow:0.1.0 import and keep local import instructions
  • fill the authors field in typst.toml
  • link test.typ from README for discoverability on Typst Universe

Validation

  • typst compile /tmp/bidi-flow-entry-check.typ /tmp/bidi-flow-entry-check.pdf --root /

@typst-package-check typst-package-check Bot changed the title Add rtl-auto package v0.1.0 rtl-auto:0.1.0 Mar 3, 2026
@typst-package-check typst-package-check Bot added the new A new package submission. label Mar 3, 2026
@elegaanz elegaanz self-assigned this Mar 4, 2026
name = "rtl-auto"
version = "0.1.0"
entrypoint = "lib.typ"
authors = []
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please fill that field?

@@ -0,0 +1,11 @@
[package]
name = "rtl-auto"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The chosen name is a bit too descriptive, which we try to avoid. Can you pick another one and rename your package please?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Because that file is not linked anywhere in your README (as far as I can see), it will be very hard to discover for people viewing the package on Typst Universe. If you think it is a valuable example, you should link it. Otherwise, it is better to just remove it to not bloat the repository with test files.

@manemajef manemajef changed the title rtl-auto:0.1.0 bidi-flow:0.1.0 Mar 4, 2026
@elegaanz
Copy link
Copy Markdown
Member

elegaanz commented Mar 4, 2026

Thank you!

@elegaanz elegaanz merged commit 0b3d8cc into typst:main Mar 4, 2026
3 checks passed
@elegaanz
Copy link
Copy Markdown
Member

elegaanz commented Mar 5, 2026

Just a question: what is the difference between this package and auto-bidi? It is not entirely clear to me.

@manemajef
Copy link
Copy Markdown
Contributor Author

manemajef commented Mar 5, 2026 via email

@elegaanz
Copy link
Copy Markdown
Member

elegaanz commented Mar 5, 2026

No it's fine to have them both published. We were just confused because we didn't immediately realize that the two packages were very close in purpose and made by the same person. Thank you for clearing that up :)

@saecki saecki mentioned this pull request Mar 6, 2026
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

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants