-
Notifications
You must be signed in to change notification settings - Fork 196
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
[Issue] LaTeX doesn't work again #559
Comments
I thought it should be working because here init message says answer should be formatted in latex if there's maths in answer dots-hyprland/.config/ags/services/gpt.js Line 60 in a10d458
|
and that answer also follows the format i pointed out above |
there's huge error spaming (i guess more that 50 or even 100 such messages) when i tried to make ai put its output to latex code block
|
do you get a properly rendered latex block when you run the |
Running Latex from the commandline and rendering tan(x) logs following error:
And why does it use dots-hyprland as a path. Is LaTeX specifically made for your dots? |
@H0mire LaTeX binary didn't move to /usr/local/bin at the installation (or didn't get built at all) |
@l4v3nx "which LaTeX" prints following: |
@H0mire where did you get this log from? ags or journalctl? |
@l4v3nx I ran LaTeX from terminal and crashed after pressing render button, so i checked logging in the fish terminal window where the errors as provided were printed. |
@H0mire yea, same issue
we build microtex inside repo's folder and its source code remains there |
oh i remember why that doesn't work that now |
@l4v3nx Yeah i just figured out it is MicroTex. I guess its not like that the source code remains there, but more like that MicroText has the the original paths encoded in its binary. |
@l4v3nx can you show what's in your |
there's not even latex folder created
|
Same here |
didn't install script copy res/ folder to /usr/local/bin/? and here
binary would use res/ folder as the script moves to directory where LaTeX is (/usr/local/bin). i guess it should be working |
yeah i mean it won't work if you just run LaTeX in terminal without cd ing there first |
some more info (inside /usr/local/bin/):
|
journalctl log (after /test):
|
yay -S MicroTex and creating latex folder in media manually fixed the issue |
yea, it works. btw, @end-4 you can delete dots-hyprland/scriptdata/installers Line 102 in a94172d
|
why installing MicroTex through a function anyway? And there must be something that ensures the latex path in media/latex |
idk either, font paths are different than hardcoded ones ( |
there wasn't that package on the aur (first submitted march) when i started using microtex (february) |
also, it should make that media/latex with mkdir command: dots-hyprland/.config/ags/modules/sideleft/apis/ai_chatmessage.js Lines 75 to 77 in a94172d
|
@end-4 maybe missing quotes in bash -c? like |
the problem was this "rm: cannot remove '/home/end/.cache/ags/media/latex/*': No such file or directory" |
i'll also have to see if that aur package works |
it provides stuff in |
@end-4 btw ai answer still can't be formated to latex (it just shows answer header (like "Common trigonometric formulas") and both the answer generation and ags itself completely crash (yes, real ags crash moment)) (703 errors in 20 seconds) prompt: name common trig formulas (put them into latex code blocks) /test shows formatting fine |
The issue
ai answers don't convert tex source code to normal formulas
(i expected the same result as in the screenshot bg)
Click to expand
The text was updated successfully, but these errors were encountered: