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

LaTeX curly brackets do not convert correctly #63

Open
SubjunctiveQuaver opened this issue Oct 19, 2021 · 2 comments
Open

LaTeX curly brackets do not convert correctly #63

SubjunctiveQuaver opened this issue Oct 19, 2021 · 2 comments

Comments

@SubjunctiveQuaver
Copy link

SubjunctiveQuaver commented Oct 19, 2021

I've noticed that LaTeX curly brackets do not convert correctly (according to standard LaTeX editing rules).

Fails: $\{STUFF\}$ [correct LaTeX syntax] -> \({STUFF}\) [appears wrong, as "STUFF"]
Works: $\\{STUFF\\}$ [wrong LaTeX syntax] -> \(\{STUFF\}\) [appears correct, as "{STUFF}"]

Ideally, the correct LaTeX syntax results in the correct display/conversion in Anki; right now adding an extra backslash works, but is not accurate LaTeX syntax.

@Yandrik
Copy link

Yandrik commented Oct 29, 2021

\lbrace STUFF \rbrace fails too, because the \r gets translated as a line break.

@duguosheng
Copy link
Contributor

duguosheng commented Jul 4, 2022

I have tried to fix these errors these days, my pr is not be merged now, you can download new version here and help me to test it.
Besides \{\}, some other character errors have also been fixed(\#\$\&\_\\)

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

3 participants