Thank you for sharing the project.
When testing the package, I find \rightarrow (...) is converted to arrow.r(...) instead of arrow.r (...) (Note the space after r).
use tex2typst_rs::tex2typst_with_macros;
fn main() {
let tex = r"A \rightarrow (B+C)";
println!("{}", tex2typst_with_macros(tex, macros).unwrap());
}
Thank you for sharing the project.
When testing the package, I find
\rightarrow (...)is converted toarrow.r(...)instead ofarrow.r (...)(Note the space afterr).