-
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
space lost #24
Comments
Thanks for the report, I'm investigating your issue. |
Seems to be an issue of omml2mml |
The issue is that our docx2hub module converts <m:t xml:space="preserve">40 </m:t> to <mml:mn>40</mml:mn>
<mml:mi> </mml:mi> I think the whitespace should be coded either as |
Maybe we should convert an |
I resolved one issue, omml2mml.xsl converts the <mml:mn>40</mml:mn>
<mml:mtext xml:space="preserve"> </mml:mtext>
<mml:mtext>MHz</mml:mtext> Unfortunately, there seems to be a bit of MathML normalization in our pipeline, which drops the mtext. I'll investigate this further. |
I just noticed that
I haven’t tested it with the full docx2tex pipeline though. |
This option was set to However, I've changed detector at $40\:\mathrm{MHz}$, i.e., |
Hi, thank you for the fast solution. I'm not sure if it is related to this issue, but since the last commit, my clone of docx2tex fails. Please find the docx file and the d2t log here: |
The bug is fixed, I've added an option recently to pass a custom image directory. |
In the following docx file, the space between "40" and "MHz" is lost:
https://medialab.sissa.it/owncloud/index.php/s/zkxFGDvNAehVatl
I'm not sure if it is an error, but I'm reporting it because the appearance of the tex/pdf and docx file differ.
The text was updated successfully, but these errors were encountered: