Skip to content
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

previewmath does not work #1380

Open
fewww opened this issue Nov 2, 2018 · 6 comments

Comments

@fewww
Copy link

commented Nov 2, 2018

After updating Miktex 2.9, preview_math does not work. It works only in simple cases.

@JackGin

This comment has been minimized.

Copy link

commented Nov 3, 2018

preview_math does not work. It works only in simple cases.

Same problem on TeXLive2018, openSUSE TW. I believe this is related to the Ghostscript that was recently updated to v. 9.25. As far as I can tell, GS fails to convert the temporary .pdf to the .png. The latter appears to be of zero length. The simplest formulas are converted nonetheless. Same problem with image previews, by the way.

@fewww

This comment has been minimized.

Copy link
Author

commented Nov 3, 2018

@JackGin

This comment has been minimized.

Copy link

commented Nov 3, 2018

"preview_math_hires": false,
It works.

I confirm this fixes the issue with math previews.
The figure previews still give errors for me, like 'failed to create preview thumbnail'.

@r-stein r-stein added the bug label Nov 4, 2018

@charlesbaynham

This comment has been minimized.

Copy link
Contributor

commented Jan 11, 2019

"preview_math_hires": false,
It works.

Worked for me too. Thanks!

@JackGin

This comment has been minimized.

Copy link

commented Feb 11, 2019

After a recent system update, "preview_math_hires": true again works for me.
However, a similar problem with figures preview still persists. A hover on a figure results in an Error: failed to create a preview thumbnail. Ghostscript is 9.26a-1.2.x86_64 on openSUSE TW.

Btw, may I ask if the development of the package is stalled, or is it just the work is being done behind the scenes? Thank you anyway.

@r-stein

This comment has been minimized.

Copy link
Collaborator

commented Feb 11, 2019

@JackGin I can only speak for myself: We started to create "version 4" on a separate branch, which removes ST2 compatibility, includes a lot refactoring, and adds nice features. However unfortunately the development slowed down/stalled due to a lack of time/motivation/other priorities and it wasn't released yet (I still want to release it). You can use the prerelease to install that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.