ROCKTAKEY / lsp-latex

Emacs lsp-mode client for LaTeX, on texlab.
GNU General Public License v3.0
66 stars 4 forks source link

How to view the preview? #9

Closed ketan0 closed 4 years ago

ketan0 commented 4 years ago

Thanks for making this package available!

When I mouse over anything in a tex file, a (lsp-ui-doc?) frame appears titled "preview"—mousing over it appears to display the data for an inlined image in the echo area as such:

image

Maybe a dumb question, but how do you actually view the inline preview?

ROCKTAKEY commented 4 years ago

@ketan0 Thanks for this issue!

My Emacs don't display that image too. This issue may be unsolvable because Emacs may have no base64 image decode, or may be lsp-ui-doc's bug, but I will investigate.

ROCKTAKEY commented 4 years ago

@ketan0 I create PR dealing with this issue!

ketan0 commented 4 years ago

This looks fantastic! Thanks for working on it and submitting the PR. :)

ROCKTAKEY commented 4 years ago

@ketan0 The PR is merged! So you can view the image! Thanks!

ketan0 commented 4 years ago

Thanks for your work on this--it displays the formula nicely now!