Perhaps replacing the dvipng by dvisgm (http://dvisvgm.bplaced.net/)
could work?
On 26-11-15 10:56, Paulo van Breugel wrote:
Thanks, I had been looking in equationeditor.py file, but wasn't sure
how to add the -D option.
The reason I want to be able to change the resolution is to make the
image suitable to be used in printed documents, which normally
requires a dpi of 300. But that would result in a very large image in
the notebook. A solution for me (but perhaps not so much for you)
would be an option to resize the image display in the notebook (like
you can do with a normal image). The option to use svg instead of png
would be even better, perhaps also for your user case?
On 26-11-15 10:28, wzhd wrote:
I have been thinking about the same thing since I got a HiDPI screen.
Currently, I have only managed to make the images bigger, by passing
the option "-D 192" to the "dvipng" command. The modified version is
here:
https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524
However this is not perfect, when I open the notebook on other
computers, the equations are too big.
On 26 November 2015 at 00:29, Paulo van Breugel
<p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote:
Hi Jaap and other Zim devs,
The 'insert equation' function is a great function, producing
nice looking equations in Zim. However, the resolution of the
image (png file) that is generated by the addon is fairly low. Is
there a way to change the resolution of the image? Or even
better, would it be possible to add the option to store the
on-the-fly generaged image as svg instead of png? This would
provide in perfectly scalable solution for any document.
Best regards
Paulo
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp