Tylax
A bidirectional LaTeX to Typst converter in Rust
Details
- External ID
- 46527638
- Source
- HN
- Company
- —
- Product
- Tylax
- Website domain
- github.com
- Launched
- Jan. 7, 2026
- Cohort
- —
- Upvotes
- 27
- Upvotes percentile
- 0.6963109354413702
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hi HN, author here.I built Tylax because I wanted to migrate my old LaTeX papers to Typst but found existing regex-based scripts too fragile for nested environments.Tylax parses LaTeX into an AST (using mitex-parser) and converts it to Typst code. It supports: - Full document structure (not just math snippets) - Complex math (matrices, integrals) - Experimental TikZ -> CeTZ graphics conversion - Runs in browser via WASMRepo: https://github.com/scipenai/tylax Web Demo: https://convert.silkyai.cn/Happy to answer any questions!
Enrichment
- Theme
- desktop utilities and file converters
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- latex to typst converter
- Manually corrected
- False
Could you build this?
Yes By leveraging an existing AST parser (`mitex-parser`), transmuting the syntax tree from LaTeX to Typst in Rust is a well-defined compiler translation task that AI models excel at generating.
Discussion
9 comments analyzed.
Competitors mentioned: Pandoc, LaTeX macro expansion tools, TeX engine/interpreter
Concerns raised: Cannot handle loops or recursive functions without full runtime execution, Nested macro parameters cause expansion bugs, Theoretically impossible to achieve perfect conversion without Turing-complete execution, Pandoc produces messy, non-idiomatic output that's hard to share with coauthors, Edge cases with mutual recursion and chained macro expansion
Feature requests: Graceful fallback for macro expansion depth limits (preserve arguments instead of discarding), Support for recursive functions and Typst scripting constructs, Better handling of complex nested parameters in macros, TikZ to CeTZ conversion
Competitors
Other products that read as similar to this one — 108 launches clear the similarity bar, closest 8 shown.
Attention rank: #49 of 109 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 65 days after the earliest competitor.
- MDXport · hn · 2025-12-17 · 5 upvotes · similarity 0.46
- Docx to PDF in the Browser Using Pandoc and Typst (WASM) · hn · 2026-02-09 · 6 upvotes · similarity 0.45
- Fast handwritten LaTeX symbol recognition (Rust/WASM) · hn · 2026-01-16 · 5 upvotes · similarity 0.45
- I ported Manim to TypeScript (run 3b1B math animations in the browser) · hn · 2026-02-25 · 140 upvotes · similarity 0.44
- Topaz · hn · 2026-06-18 · 5 upvotes · similarity 0.43
- LaTeX To Image · ph · 2026-09-19 · 2 upvotes · similarity 0.43
- Latex.to · hn · 2026-08-03 · 6 upvotes · similarity 0.43
- Rust/WASM lighting data toolkit · hn · 2025-12-21 · 52 upvotes · similarity 0.42
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.