Skip to content

\rightarrow (...) is converted to arrow.r(...) instead of arrow.r (...) #2

Description

@e-zz

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());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions