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

Math support #4

Open
Opussci opened this issue Jul 14, 2022 · 8 comments
Open

Math support #4

Opussci opened this issue Jul 14, 2022 · 8 comments
Assignees

Comments

@Opussci
Copy link

Opussci commented Jul 14, 2022

Would be nice if LaTeX math could be exported to docx. Are there any plans to go in that direction?

@inokawa
Copy link
Owner

inokawa commented Jul 14, 2022

Hi,
remark has remark-math plugin to keep math syntax and openxml actually has OfficeMath element.
It would be possible to convert some latex to docx so I'll try to make minimum feature at first.

@inokawa inokawa self-assigned this Jul 14, 2022
@Opussci
Copy link
Author

Opussci commented Jul 14, 2022

Yes, that would work. If there is online presentation than docx conversion would be useful also.
Thank you.

@inokawa inokawa changed the title Mark support Math support Jul 16, 2022
@inokawa
Copy link
Owner

inokawa commented Jul 16, 2022

@Opussci
I added basic LaTeX support in 0.1.0.
It might have some bugs and have missing features.

Any feedbacks are welcomed.
Thanks!

@Opussci
Copy link
Author

Opussci commented Jul 16, 2022

Thank you! I will test it and get back to you.

@Opussci
Copy link
Author

Opussci commented Jul 16, 2022

@inokawa
First impressions are:

Inline and simple block display is working, labels are not active nor rendered.

Equation and align environments are not rendered properly.

Still, amazing speed with which you implemented this.

Do you can suppose how much time will be needed to implement completely math rendering?

Best!

@inokawa
Copy link
Owner

inokawa commented Jul 16, 2022

I think perfect implementation of LaTeX is impossible because there are features that doesn't exist in OfficeMath of Office Open XML, many of them could be imitated though.

The needed time is case by case. Some features are easy to implement and the others might be difficult.

Thank you for your feedback.

@Opussci
Copy link
Author

Opussci commented Jul 16, 2022

Yes of course, I was thinking about major LaTeX features, like equations with numbering and cross-referencing. I think that would be more than enough for most of the cases.

Thank you for your work and short time response.

@Strengthless
Copy link

Strengthless commented Dec 21, 2022

@inokawa Is there any way I can export numbered lists in alphabetical style?

What I have so far:
image
What I'm trying to achieve:
image

Thanks in advance!

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

3 participants