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

MathType equations in docx file generates very small images #91

Closed
chinakr opened this issue Sep 27, 2012 · 7 comments
Closed

MathType equations in docx file generates very small images #91

chinakr opened this issue Sep 27, 2012 · 7 comments

Comments

@chinakr
Copy link

chinakr commented Sep 27, 2012

All MathType equations in docx file generates very small images with unoconv convertion.

Generally, the generated equation images are hard to regonize. For example, the equation 1/10 will be 12 x 23 pixles and 3^2 will be 10 x12 pixels. The equation images are in GIF format.

How can I deal with these situations? Is there an argument that can scale the equation images? Thanks a lot!

@dagwieers
Copy link
Member

What happens if you export to DOCX using LibreOffice ? I would expect that the same thing happens.

@chinakr
Copy link
Author

chinakr commented Sep 28, 2012

The MathType equations are originally edited in a doc file. If I save it as a docx file in LibreOffice, all the equations will be lost and appears as blanks. So the unoconv generated html file will never have the equation images either.

If I save it as as a docx file in MS Office 2007, the equations will remain and can be edited as MathType objects. Now unoconv will work with the euqations, but the generated images are very small and hard to regonize. This is why I hope to find the way that can scales the images.

@dagwieers
Copy link
Member

Ok, zou you convert from DOCX to HTML, right ? You did not mention that before, so I assumed this happened when exporting to DOCX, I am still not a mind-reader.

So let me rephrase my original question. What happens if you export to HTML through LibreOffice ? The reason why I asking you this is that if it doesn't work in LibreOffice, it surely will not work in unoconv. And in that case you should be opening a bug with the LibreOffice project instead.

@chinakr
Copy link
Author

chinakr commented Sep 28, 2012

If I re-save an doc file with MathType equations into HTML file, the equation images will be normal. But if I re-save an docx file into HTML, the equation images files will be too small, which is the situation unoconv meets.

Maybe I should complain it as a bug to LibreOffice project. Thanks for your patient and excellent work!

@dagwieers
Copy link
Member

If you open a ticket in LibreOffice bugzilla, please leave a reference to the ticket in this issue so other can track it as well. I will keep the issue open until it is resolved upstream. Thanks for your perseverance ;-)

@efinal
Copy link

efinal commented Oct 12, 2014

I save the docx file as odt file in microsoft office and covert the odt file to html with unoconv, then I get the normal size equations.

any ideas?

@dagwieers
Copy link
Member

I don't know what to do with this issue.
Is it possible to retest the latest unoconv from the master branch and the latest LibreOffice and see if this problem is stil pertinent ? And if it is, feel free to reopen this issue with more information on how we can reproduce the issue.

Thanks for the feedback !

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

No branches or pull requests

3 participants