Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we add text conversion mode in https://mitex-rs.github.io/mitex/? #167

Open
Wongboo opened this issue May 16, 2024 · 1 comment
Open

Comments

@Wongboo
Copy link

Wongboo commented May 16, 2024

Can we add text conversion mode in https://mitex-rs.github.io/mitex/?
I think it would be very helpful and straightforward, appreciate for your help!

@davidleejy
Copy link

davidleejy commented May 17, 2024

Having text conversion mode would be neat, but uncertain if significantly more effort is needed to get LaTeX code to Typst code conversion.

As the OCR services I've come across tend to convert mathematical content to LaTeX code, having some sort of script for converting a string containing a mixture of LaTeX math and LaTeX text into Typst code would be practical and likely be widely sought after by people looking to digitize their math material into Typst.

At the risk of raising something that sounds tangential to this thread's OP comment, I think it'd be nice to have a script that converts #mitex(...) and #mi("...") excerpts in a Typst file to their Typst math equivalents.

EDIT: Just found out that the official Typst web editor has a function that provides best effort conversion of tex code files to typst code. Maybe this would be of help to you

Screenshot 2024-05-18 at 5 20 29 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants