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

Primes break rendering. #12

Open
AxiomOfChoices opened this issue May 20, 2024 · 4 comments
Open

Primes break rendering. #12

AxiomOfChoices opened this issue May 20, 2024 · 4 comments

Comments

@AxiomOfChoices
Copy link

AxiomOfChoices commented May 20, 2024

If you have a symbol like $delta$ it renders fine, but if you add a prime, i.e. $delta'$ it suddenly breaks rendering.
image

@MATOO-Dev
Copy link

MATOO-Dev commented May 21, 2024

I was just about to submit an issue for this as well, so I can confirm this.
Obsidian version: v1.5.12
Obsidian-wypst version: 0.0.3

This also occurs when calling math.primes directly, i.e.

#let x = 3; 
$A primes(#x)$

Results in "unknown variable: primes" instead of A'''

A workaround for the meantime is to write $A^prime$ or $A^(prime prime)$ instead

@janmagnusdev
Copy link

Experiencing this as well. Would love native support of ' chars, maybe as escaped char, i.e., \'.

@0xpapercut
Copy link
Owner

Hello,

I am aware of this problem. I am currently occupied with other projects and an ongoing internship, so unfortunately I cannot work on this right now.

I've been postponing this for some time because the code basically needs to be rewritten, it's somewhat convoluted. Also, we should expect at least experimental release of native html math rendering in Typst by the end of the year, so even if this doesn't get fixed, we will get much better support for html rendering very soon I hope.

@eniraa
Copy link

eniraa commented Oct 25, 2024

Should be fixed in 0xpapercut/wypst#9.

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

5 participants