You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] LaTeX equations render incorrectly in WezTerm #48
The display equation does not render cleanly or legibly in WezTerm. Image-mode
rendering is selected and terminal image cells are created, but the displayed
LaTeX appears malformed.
Switching to math_mode = "text" avoids the image-rendering problem, although
advanced LaTeX is then simplified. Also, \tag{1} is displayed as tag1 rather than (1).
Expected behavior
The equation should render as a clear typeset image in WezTerm, including the
fraction, bold symbols, and equation number (1).
Additional information
WezTerm is detected and the terminal-image rendering path is active.
#53 is merged on master with two improvements: Unicode fallback renders equation tags as (1) instead of tag1, and recognized WezTerm sessions prefer the documented iTerm2 protocol after a successful query, including WSL environments identified only by TERM_PROGRAM.
The reported formula passes local decoded-raster ink and cell-geometry regressions, and protocol selection is tested. The original WSL/WezTerm GUI was unavailable here, so these checks do not prove that the displayed-image symptom is resolved. Keeping this issue open for that terminal verification; no follow-up issue was created. No release has been published yet.
Reopened: the PR description’s negated closing phrase accidentally caused GitHub to close this issue when #53 merged. That wording is corrected.
The merged tag fix and protocol-selection mitigation are tested, but the original WSL/WezTerm GUI symptom remains unverified. This issue stays open for that terminal check, as intended; no replacement or follow-up issue is needed.
Activity
leboiko commentedon Oct 13, 2026
#53 is merged on master with two improvements: Unicode fallback renders equation tags as
(1)instead oftag1, and recognized WezTerm sessions prefer the documented iTerm2 protocol after a successful query, including WSL environments identified only byTERM_PROGRAM.The reported formula passes local decoded-raster ink and cell-geometry regressions, and protocol selection is tested. The original WSL/WezTerm GUI was unavailable here, so these checks do not prove that the displayed-image symptom is resolved. Keeping this issue open for that terminal verification; no follow-up issue was created. No release has been published yet.
leboiko commentedon Oct 13, 2026
Reopened: the PR description’s negated closing phrase accidentally caused GitHub to close this issue when #53 merged. That wording is corrected.
The merged tag fix and protocol-selection mitigation are tested, but the original WSL/WezTerm GUI symptom remains unverified. This issue stays open for that terminal check, as intended; no replacement or follow-up issue is needed.