Skip to content

use 'tex2svg' cannot generate formula correctly #492

Open

Description

@Air-EL

command is:

cd simple
node -r esm tex2svg e^{2} > a.svg

the result is
a

but I want
b

Activity

  1. dpvc commented on Sep 27, 2023

    @dpvc
    Member

    Your commands work properly for me. What OS are you using, and what command shell? it may be that the ^ has a special meaning in your shell, and is not being passed to tex2svg. Try

    node -r esm tex2svg "e^{2}" > a.svg

    or

    node -r esm tex2svg 'e^{2}' > a.svg

    and see if one of those works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions