-
Notifications
You must be signed in to change notification settings - Fork 47
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
Suggestion for image names and format #84
Comments
I don’t think that docx2tex converts equations into images. Sometimes MathType embeds its equations in images, and these won’t be referenced by |
Older MathType versions prior to 5.0 are not converted by our MathType converter. In this case, only the preview graphic is embedded as |
As an example, consider this file: image3.emf is referenced in \includegraphics in the .tex output: The other 7 images are graphics versions of the math-mode symbols in the text. In the .tex output, these are correctly converted to |
hello, I use the same docx with @gsfs , but in the tex file, I only get: \textbf{\textnormal{Express your answers to the following questions in terms of} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image4.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject3.bin}\textnormal{,} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image5.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject4.bin}\textnormal{,} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image6.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject5.bin}\textnormal{,} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image7.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject6.bin}\textnormal{, and} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image8.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject7.bin}\textnormal{.} } |
I'm not sure what this is in reply to.
… On Jan 8, 2024, at 5:20 :09AM, jinhangli ***@***.***> wrote:
hello, I use the same docx with @gsfs , but in the tex file, I only get:
\textbf{\textnormal{Express your answers to the following questions in terms of} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image4.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject3.bin}\textnormal{,} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image5.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject4.bin}\textnormal{,} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image6.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject5.bin}\textnormal{,} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image7.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject6.bin}\textnormal{, and} \includegraphics[width=1\textwidth]{test_image.docx.tmp/word/media/image8.emf}\includegraphics[width=1\textwidth]{embeddings/oleObject7.bin}\textnormal{.} }
I would like to have the equation correctly converted into the math version. Could anyone give me some help?
I use the latest version of the code and tried both Linux and windows versions.
Thanks a lot. @gimsieke @mkraetke
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
This is a suggestion for an improvement in this great piece of software. In addition to the actual images in a Word file, the program also converts all equations and other math-mode text into images. The latter are not included in any way in the TeX output while the former are referenced in includegraphics environments. If it is simple to give those "real" images a different name, perhaps adding a prefix, that would make it much easier to copy them out of what can be a long list of files in the .docx/tmp/word/media directory. In a Word file with lots of images, it gets a bit tedious to scroll down through the .tex file to find all the includegraphics commands and then find and copy the referenced image file.
This is likely to be a harder request, but it would be helpful if there was an option for the images to be in a more Mac friendly format, rather than emf.
The text was updated successfully, but these errors were encountered: