-
Notifications
You must be signed in to change notification settings - Fork 1
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
LaTeX code produced, but no image rendered #1
Comments
I've added some installation instructions that were missing from the README. I think you might be missing one of the listed packages: |
If installing those does not fix it, would you paste the contents of the |
Those packages were already installed.
I have inspected the the `*CalcTeX Log*` buffer and noticed that it tried to write its output files into the directory ~/org/ltximg, which doesn't exists on my system. Creating it changed the failure mode: Now the images are actually created in the directory (I can see them there), but the buffer still contains only `\frac{x}{y}`. The log buffer only contains the output of `dvipng`, as in the version of this program.
As a side node, it would be nice if this image cache would default to `$XDG_CACHE_HOME/calctex` *and* be configurable via customize. But I guess that's a separate feature request.
|
Alright, I guess I found it. My emacs is compiled without imagemagick support and the overlay images use that. Unfortunately, I'd like to not rely on imagemagick too much, because it has a track record of being insecure and buggy. Do you need imagemagic here, or would a normal PNG image suffice? Even better, if |
Ah, I see. Thank you for your patience and investigation! imagemagick is used here to scale down the PNGs, which are compiled to extra-high DPI. The default DPI/scale settings look pretty bad on my retina display. I filed #12 and #13 to track this. I am more familiar than I'd like to admit with the various latex preview format options! |
First of all: This package looks very promising. I didn't know it yet, but I was waiting for something like this my whole life 馃槃
I have followed the instructions:
(require 'calctex)
calctex-mode
'1/x
)This prints
\frac{1}{x}
in the calc buffer, but doesn't actually render the image. Am I missing something? Also, I my Emacs instance starts lagging a lot after entering the first formula.The text was updated successfully, but these errors were encountered: