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

Equation preview: settings ignored #1599

Open
JackGin opened this issue Dec 31, 2024 · 2 comments
Open

Equation preview: settings ignored #1599

JackGin opened this issue Dec 31, 2024 · 2 comments
Labels

Comments

@JackGin
Copy link

JackGin commented Dec 31, 2024

Hello,

The settings "preview_math_density" and "preview_math_scale_quotient" for equation preview are ignored, and have no effect on the phantom size and image clarity. Macos 15.2 on M4, latest Sublime and LaTeXTools, gs 10.04.0 installed via homebrew.

p.s. thank you so much for your hard work in reanimating this wonderful package!!

@deathaxe deathaxe added the bug label Dec 31, 2024
@deathaxe
Copy link
Member

Image and math preview modules don't take anything from LaTeXTools (Advanced).sublime-settings into account nor do they properly track an merge project-specific settings or those from Preferences prefixed with latextools..

A workaround would be to specify those settings in LaTeXTools.sublime-settings.

Putting ...

"preview_math_density": 600,
"preview_math_scale_quotient": 2,

in there causes preview to be adjusted immediately.

@JackGin
Copy link
Author

JackGin commented Dec 31, 2024

I confirm that the workaround works.
Although I remember that changing LaTeXTools (Advanced).sublime-settings used to work, too. Apparently, a regression has happened at some point.
Once again, many many thanks for your hard work!!
Happy New Year!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants