-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bug: LaTeX rendering issue #2865
Comments
thethinkmachine
changed the title
bug: [DESCRIPTION] LaTeX rendering issue
bug: LaTeX rendering issue
May 4, 2024
The issue is resolved in Jan v0.5.2-619 |
Jan 0.5.3 is released to stable version of Jan app: https://github.com/janhq/jan/releases/tag/v0.5.3, feel free to get back to us if any concern |
Sure, thank you very much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Jan has issues with properly displaying mathematical content. When inline mathematical statements (enclosed within single
$
delimiters) are used, the output duplicates the expression alongside the rendered LaTeX expression. Additionally, matrices enclosed within double$$
delimiters are not displayed correctly, with the application using small, fixed sized curved braces instead of the appropriate larger square brackets. Furthermore, rendering larger matrices, such as an n x n Jacobian (a matrix containing partials), is sometimes a hit or a miss, sometimes it fails to display the matrix completely.Steps to reproduce
$E = mc^2$
), it'll get duplicated next to the latex expression in the output.$$
delimiters (e.g.,$$\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}$$
), it uses small, curved braces instead of larger square braces to enclose the matrix.It renders the provided text as is.
Expected behavior
The expected behavior can be observed by copying and pasting the above LaTeX syntax into Obsidian, a note-taking application with proper LaTeX rendering capabilities. In Obsidian, the inline mathematical statements should be rendered correctly without duplication, and the matrices should be displayed using the appropriate square brackets and formatting. The larger, more complex matrices should also be rendered correctly, displaying the content in a visually appealing and mathematically accurate manner.
Screenshots
Environment details
The text was updated successfully, but these errors were encountered: