-
Notifications
You must be signed in to change notification settings - Fork 49
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
LaTeX support #86
Comments
Could you add some more detail on what should be happening and what you're observing? i.e. is this related to #55 ? |
Going off https://niklasfasching.github.io/go-org/, it appears that LaTeX isn't recognised at all? Looking at #55 though it sounds like I may be mistaken. |
Thx, i think i get it now. The plan is to recognize latex and output it raw, without any rendering - #55 describes a bug in that logic. Given that, it would be possible to use e.g. mathjax to actually render the latex source. I don't think rendering latex is something that's in scope for this library - sounds like a huge undertaking. But we could e.g. provide hooks for latex rendering as we do for source highlighting if that would help. What's the use case / is mathjax enough? also see https://orgmode.org/manual/Math-formatting-in-HTML-export.html |
Ah, I'm mostly concerned with helping applications using this package support LaTeX rendering in Org. It seems like the situation is much better than I guessed from the preview 👍. A fix to the logic for environments (#55) would be great. I'm not directly writing anything using go-org myself, but I use a few things like Gitea that render Org with go-org and I'm hoping that they'll support LaTeX rendering well since it's currently being discussed for Markdown (see go-gitea/gitea#20571). |
Cool, thanks for getting back to me on this 🙂. |
It would be nice to have support for LaTeX, namely:
\( ... \)
\[ ... \]
The text was updated successfully, but these errors were encountered: