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

Unable to render Fractur 'Z' under text mode #3867

Closed
3 tasks done
untitledunrevised opened this issue Oct 5, 2023 · 0 comments · Fixed by #3873
Closed
3 tasks done

Unable to render Fractur 'Z' under text mode #3867

untitledunrevised opened this issue Oct 5, 2023 · 0 comments · Fixed by #3873
Labels

Comments

@untitledunrevised
Copy link
Contributor

Before reporting a bug

Describe the bug:
In this section, I found that there's a parseError at 'Fractur', 'Unicode Mathematical Alphanumeric Symbols':
"KaTeX parse error: Can't use function '\mathfrak' in text mode at position 1: \̲m̲a̲t̲h̲f̲r̲a̲k̲{Z}"

To Reproduce:
Steps to reproduce the behavior:

  1. Go to 'Supported Functions'
  2. Click on 'Letters and Unicode'
  3. Scroll down to 'Unicode Mathematical Alphanumeric Symbols'
  4. See error

Expected behavior:
Maybe the same as $\frak{A}\text{-}\frak{Z} \ \frak{a}\text{-}\frak{z}$?

Screenshots:
image

Environment (please complete the following information):

  • KaTeX Version: 0.16.9
  • Device: Desktop
  • OS: Windows 11
  • Browser: Microsoft Edge
  • Version: 117.0.2045.43

Additional context:
#3777

edemaine added a commit that referenced this issue Oct 8, 2023
Fix Fraktur font documentation by correcting spelling and not attempting
to use the Unicode symbols in text mode.

Fixes #3867
edemaine added a commit that referenced this issue Apr 18, 2024
* docs: fix Unicode text in Fraktur font

Fix Fraktur font documentation by correcting spelling and not attempting
to use the Unicode symbols in text mode.

Fixes #3867

* Update docs/supported.md

Co-authored-by: Untitled_unrevised <348070954@qq.com>

---------

Co-authored-by: Untitled_unrevised <348070954@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant