Tylax
A bidirectional LaTeX to Typst converter in Rust
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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!
HN · launched Jan 7, 2026 · 27 upvotes (top 30%) · 0 views
Niche: document and file conversion tools · 216 launches, 24 in the last 7 days ▼ -4% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 216 launches in document and file conversion tools →
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 : 191 launches clear the similarity bar, closest 8 shown.
Attention rank: #80 of 192 (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.47
- Fast handwritten LaTeX symbol recognition (Rust/WASM) · hn · 2026-01-16 · 5 upvotes · similarity 0.45
- Docx to PDF in the Browser Using Pandoc and Typst (WASM) · hn · 2026-02-09 · 6 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.44
- Latex.to · hn · 2026-08-03 · 6 upvotes · similarity 0.43
- Xsql · hn · 2025-12-16 · 11 upvotes · similarity 0.43
- Rust/WASM lighting data toolkit · hn · 2025-12-21 · 52 upvotes · similarity 0.43
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.