Show HN:Tylax - 一款基於 Rust 的雙向 LaTeX 至 Typst 轉換器
Hacker News 介紹了 Tylax,這是一款新推出的基於 Rust 的工具,能夠實現數學公式和完整文件在 LaTeX 與 Typst 格式之間的雙向轉換,並提供 CLI 和網頁介面。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
A bi-directional converter between Typst and LaTeX. Available as both a CLI tool and a Web interface.
License
Uh oh!
There was an error while loading. Please reload this page.
scipenai/tylax
Folders and files
Latest commit
History
Repository files navigation
Bidirectional, AST-based LaTeX ↔ Typst Converter
A tool written in Rust that converts mathematical formulas and full documents between LaTeX and Typst formats.
English | 中文
🔗 Try Online Demo
🚀 Quick Look
Table of Contents
Features
Why Tylax?
Supported Features
Supported TikZ/CeTZ Features
Limitations
While Tylax uses advanced AST-based parsing, please note:
Architecture
This project uses AST-based parsing for high-precision bidirectional conversion:
Technical Implementation
Key technical details distinguishing this project from regex-based converters
Module Structure
Installation
From crates.io
From Source
As a Library
Add to your Cargo.toml:
Usage
Command Line
Library API
Conversion Examples
Math Formulas (LaTeX → Typst)
Document Structure (Typst → LaTeX)
Graphics (TikZ ↔ CeTZ)
Input (TikZ):
Output (CeTZ):
WebAssembly
Build WASM
Use in Browser
Project Structure
Testing
Test Coverage
Community
Join the conversation!
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
Development Guidelines
License
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.
Acknowledgments
This project builds upon the following excellent projects:
About
A bi-directional converter between Typst and LaTeX. Available as both a CLI tool and a Web interface.
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
Packages
0
Languages
Footer
Footer navigation
相關文章