Skip to content

LaTeX Still not Rendering in ChatΒ #5012

@adamhill

Description

@adamhill

App Version

v3.21.3

API Provider

Anthropic

Model Used

All of these through Open Router - Claude Sonnet 3.7 & 4.0 and GPT-4.1 as a test at the end

πŸ” Steps to Reproduce

Primary Test - MacOS v 3.21.3 - Ask and Code modes
Version: 1.101.1 (Universal)
Commit: 18e3a1ec544e6907be1e944a94c496e302073435
Date: 2025-06-18T13:35:12.605Z (4 days ago)
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 25.0.0

Secondary - Windows 11 - Ask and Code Modes
Version: 1.101.1 (user setup)
Commit: 18e3a1ec544e6907be1e944a94c496e302073435
Date: 2025-06-18T13:35:12.605Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT arm64 10.0.22631

Stock prompts. No custom temp.

  1. Ask it "return some math formulas in latex"
  2. Send it.
  3. Got back raw LaTeX text instead of rendered LaTeX.
Image

Just as a test I switched over to Open AI GPT 4.1 and the raw LaTeX does not even show up in the chat (see attached)

Image

I even tried @daniel-lxs prompt of "output some latex math" from PR #4786 No love. Slightly worse actually, not the correct "style" of LaTeX syntax for MD.

Image

If you need any more testing please let me know.

πŸ’₯ Outcome Summary

Expected rendered LaTeX equations, got the raw LaTex in the chat (macOS and Windows 11 screenshots attached)

Image Image

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions