Show HN:Tylax - 一款基於 Rust 的雙向 LaTeX 至 Typst 轉換器

Show HN:Tylax - 一款基於 Rust 的雙向 LaTeX 至 Typst 轉換器

Hacker News·

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

Image

Image

Image

Image

Image

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!

Image

Image

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

Hacker News

相關文章

  1. Show HN:Cachekit - Rust 高效快取策略函式庫

    3 個月前

  2. Show HN:又一個免費的 LaTeX OCR 工具,供 STEM/AI 學習者使用,可在瀏覽器中運行

    6 個月前

  3. Show HN:Tusk Drift – 將生產流量轉化為 API 測試

    3 個月前

  4. Show HN:為使用AI程式碼助手的開發者提供的兩本Rust書籍

    3 個月前

  5. Show HN:一款可在終端中運行的、擁有數千個球體的互動式物理模擬器

    3 個月前