[GH-ISSUE #3268] [GUI] LaTex Rendering Issue NOT Working on 0.2.0-beta (NOT on 0.2.1.1) #1322

Closed
opened 2026-11-04 01:50:20 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @zinahe on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3268

Hi,

This is a follow-up on Not Rendering Latex. I have re-tested Latex rendering in 0.2.0-beta and the problem still persists.

Model: qwen3.8-flash-next-iq3_xxs
GPU: RTX2060 12GB VRAM
RAM: 64GB
OS: Ubuntu 26.04

What should be displayed as

`Tunnel-Through-a-Planet Problem
Part 1 — Equation of Motion via Gauss's Law

Apply Gauss's Law for gravity to a sphere of radius r \le R concentric with the planet:

\oint \vec{g}\cdot d\vec{A} = -4\pi G\, M_{\text{enc}}(r)

By spherical symmetry, \vec{g} is radial and constant on the Gaussian sphere, so:

g\,(4\pi r^2) = -4\pi G\left(\tfrac{4}{3}\pi r^3\rho\right)

$$\boxed{g(r) = -\frac{4\pi G\rho}{3},r}$$`

looks like:

Image
Originally created by @zinahe on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3268 Hi, This is a follow-up on [Not Rendering Latex](https://github.com/Niko1221/Strata/issues/2723). I have re-tested Latex rendering in 0.2.0-beta and the problem still persists. Model: qwen3.8-flash-next-iq3_xxs GPU: RTX2060 12GB VRAM RAM: 64GB OS: Ubuntu 26.04 What should be displayed as `Tunnel-Through-a-Planet Problem Part 1 — Equation of Motion via Gauss's Law Apply Gauss's Law for gravity to a sphere of radius $r \le R$ concentric with the planet: $$\oint \vec{g}\cdot d\vec{A} = -4\pi G\, M_{\text{enc}}(r)$$ By spherical symmetry, $\vec{g}$ is radial and constant on the Gaussian sphere, so: $$g\,(4\pi r^2) = -4\pi G\left(\tfrac{4}{3}\pi r^3\rho\right)$$ $$\boxed{g(r) = -\frac{4\pi G\rho}{3}\,r}$$` looks like: <img width="484" height="342" alt="Image" src="https://github.com/user-attachments/assets/17784355-d94a-413f-ab69-ae3b1f6362b1" />
Author
Owner

@github-actions[bot] commented on GitHub (Oct 19, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Add your graphics card with its VRAM, your RAM and your operating system.

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6277380812 --> @github-actions[bot] commented on GitHub (Oct 19, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Add your graphics card with its VRAM, your RAM and your operating system. Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 19, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6277456704 --> @github-actions[bot] commented on GitHub (Oct 19, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Oct 20, 2026):

Thank you for the sample, it made the test easy. The chat now draws math with KaTeX: ... and ... inline, ... and [...] as display blocks (also over several lines). KaTeX and its fonts are bundled with the app, so it works offline, and it loads as a separate piece only when an answer has a formula, so chats without math pay nothing. Dollar amounts such as "costs $5 and $10" and anything in code stay plain text; a formula that is still being typed shows as text until its closing arrives. Links inside formulas are disabled. I checked the formulas from your report (the \oint line, the \left(\tfrac...\right) line and the \boxed result) in a browser.

This is in Strata 0.2.1: https://github.com/Niko1221/Strata/releases/tag/v0.2.1

<!-- gh-comment-id:6286734981 --> @Niko1221 commented on GitHub (Oct 20, 2026): Thank you for the sample, it made the test easy. The chat now draws math with KaTeX: $...$ and \(...\) inline, $$...$$ and \[...\] as display blocks (also over several lines). KaTeX and its fonts are bundled with the app, so it works offline, and it loads as a separate piece only when an answer has a formula, so chats without math pay nothing. Dollar amounts such as "costs $5 and $10" and anything in code stay plain text; a formula that is still being typed shows as text until its closing $$ arrives. Links inside formulas are disabled. I checked the formulas from your report (the \oint line, the \left(\tfrac...\right) line and the \boxed result) in a browser. This is in Strata 0.2.1: https://github.com/Niko1221/Strata/releases/tag/v0.2.1
Author
Owner

@zinahe commented on GitHub (Oct 20, 2026):

Hi @Niko1221 ,

Thank you for the prompt response. But, I just tested it in v0.2.1.1 and the issue is still there.

Image
<!-- gh-comment-id:6294155877 --> @zinahe commented on GitHub (Oct 20, 2026): Hi @Niko1221 , Thank you for the prompt response. But, I just tested it in v0.2.1.1 and the issue is still there. <img width="675" height="254" alt="Image" src="https://github.com/user-attachments/assets/2cf85844-35ed-48bf-9071-39e7cb9863b9" />
Author
Owner

@Niko1221 commented on GitHub (Oct 24, 2026):

This is fixed in Strata 0.2.1. Please update to the latest release (in the Terminal: strata update; in the app: download the newest installer from the releases page). If it still happens on the latest version, reply here and we will reopen it. Thank you for the report.

<!-- gh-comment-id:6383462693 --> @Niko1221 commented on GitHub (Oct 24, 2026): This is fixed in Strata 0.2.1. Please update to the latest release (in the Terminal: `strata update`; in the app: download the newest installer from the releases page). If it still happens on the latest version, reply here and we will reopen it. Thank you for the report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1322
No description provided.