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
As is known, open webui supports latex rendering, but it can't render well when llm generates latex code, such as
As we can see, the two "$" is placed around the formula where the latex fails to be rendered. However, when I manually change the latex format by replacing "$" with "$$" around the latex, the render works.
Therefore, unlike the latex renderer on VSCode markdown or nvim markdow, where latex can be rendered like $latex formula$ or
$$
latex formula
$$
it only supports format like $$latex$$. And when I ask open webui to generate formula with specific latex format like
open webui did generate the latex format I wish for. And its original format is
where latex is placed around two "$$" and this is why I find out the missing point that open webui can't render latex as we wish for.
In the end, could there be any improvement for this?
This discussion was converted from issue #2364 on May 18, 2024 08:12.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As is known, open webui supports latex rendering, but it can't render well when llm generates latex code, such as
As we can see, the two "$" is placed around the formula where the latex fails to be rendered. However, when I manually change the latex format by replacing "$" with "$$" around the latex, the render works.
Therefore, unlike the latex renderer on VSCode markdown or nvim markdow, where latex can be rendered like
$latex formula$
orit only supports format like
$$latex$$
. And when I ask open webui to generate formula with specific latex format likeopen webui did generate the latex format I wish for. And its original format is
where latex is placed around two "$$" and this is why I find out the missing point that open webui can't render latex as we wish for.
In the end, could there be any improvement for this?
Beta Was this translation helpful? Give feedback.
All reactions