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

Fraction handling #5

Open
henrymcl opened this issue Nov 7, 2024 · 3 comments · May be fixed by #6
Open

Fraction handling #5

henrymcl opened this issue Nov 7, 2024 · 3 comments · May be fixed by #6

Comments

@henrymcl
Copy link

henrymcl commented Nov 7, 2024

FRACTION.docx
image

Expected Output: $$ \frac{x}{50}-\frac{x}{60}=\frac{48}{60} $$
Actual Output: $$ \frac{xx48}{50-60=60} $$

@hrushikeshrv
Copy link
Owner

Thanks for this report @henrymcl! I was able to reproduce the issue. Currently extracting equations in "Professional Format" is not supported, so the behavior could be incorrect in some cases such as this one. If you are able to convert the document into linear format as explained here, it should extract correctly.

I am currently working on adding support for professional format, but unfortunately I have been significantly delayed due to other commitments. It is coming, but I cannot provide an exact time frame as to when it will be ready.

@henrymcl
Copy link
Author

henrymcl commented Nov 8, 2024

Thanks for this report @henrymcl! I was able to reproduce the issue. Currently extracting equations in "Professional Format" is not supported, so the behavior could be incorrect in some cases such as this one. If you are able to convert the document into linear format as explained here, it should extract correctly.

I am currently working on adding support for professional format, but unfortunately I have been significantly delayed due to other commitments. It is coming, but I cannot provide an exact time frame as to when it will be ready.

ah I see. Thank you

@henrymcl henrymcl closed this as completed Nov 8, 2024
@hrushikeshrv hrushikeshrv linked a pull request Jan 1, 2025 that will close this issue
@hrushikeshrv
Copy link
Owner

Reopening this issue to be fixed in #6!

@hrushikeshrv hrushikeshrv reopened this Jan 8, 2025
@hrushikeshrv hrushikeshrv linked a pull request Jan 8, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants