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

Vector image not working in Word 2016 #6

Open
a-lysenko-isys opened this issue Dec 5, 2017 · 3 comments
Open

Vector image not working in Word 2016 #6

a-lysenko-isys opened this issue Dec 5, 2017 · 3 comments

Comments

@a-lysenko-isys
Copy link

https://support.office.com/en-us/article/Support-for-EPS-images-has-been-turned-off-in-Office-A069D664-4BCF-415E-A1B5-CBB0C334A840

GraphViz support SVG format https://graphviz.gitlab.io/_pages/doc/info/output.html but i have difficulties in order to create a template based on modified sources.

Function get_gfx_extension()
try change
get_gfx_extension = ".eps"
to
get_gfx_extension = "
.svg"

and

options = options + " -teps"
change to
options = options + " - tsvg"

@syockit
Copy link

syockit commented Jun 26, 2018

After messing with security center settings and enabling macros without warning, I managed to edit the macro according to the changes you suggested and got it working. I made sure to move the template out of the startup folder first before editing it. I was prompted to delete the certificate that it had when saving it.

@minamaistay
Copy link

Thanks syockit. Followed your instructions and SVG now working for me too.
I now have Razor sharp sequence diagrams when saving to PDF.
Just need to remember to disable macros again in Trust Centre after the edits are made.

@igormf
Copy link
Contributor

igormf commented Feb 5, 2019

OMG it really works. Thanks @a-lysenko-isys. Will update the template

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

No branches or pull requests

4 participants