typst / typst/typst

access custom/user hyphenation pattern files

Open
#5,223 10 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request text
Dominant language
Rust
Stars
56.1k
Forks
1.7k
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Description

How feasible is to implement access to a user's hyphenation pattern file, locally maintained?

Use Case

I fear trying to integrate every conceivable language into the executable may become impractical; and there's still plenty room for custom/personalized applications of the language choice: with Lua|XeTeX, for instance, I can typeset my drafts in a mixture of greek/latin with a single hyphenation pattern file, thanks to the divergence of the alphabets in the unicode blocks.

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

The issue provides no file, test, or entry point. Start by locating Typst's hyphenation implementation and pattern-loading code, then define how a locally maintained pattern file is selected and validated; done means custom patterns can be used for mixed Greek/Latin text.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.