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

use 'tex2svg' cannot generate formula correctly #492

Open
Air-EL opened this issue Sep 27, 2023 · 1 comment
Open

use 'tex2svg' cannot generate formula correctly #492

Air-EL opened this issue Sep 27, 2023 · 1 comment

Comments

@Air-EL
Copy link

Air-EL commented Sep 27, 2023

command is:

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

the result is
a

but I want
b

@dpvc
Copy link
Member

dpvc commented Sep 27, 2023

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
Projects
None yet
Development

No branches or pull requests

2 participants