Support image display?
Does this latex implement support image display?
Not support by now. Technically, we just need to abstract the image load, draw, and release operations and leave it to the user to implement it, that's simple.
However, I think it is a bad idea to use this library to display images. A better way is to leave it to the host platform and use this library to display formulas because this library is good at showing formulas and not good at showing images.
Anyway, we will provide a rough version to support image display.
Thanks for share and clarify.
Technically, we just need to abstract the image load, draw, and release operations and leave it to the user to implement it, that's simple.
I prefer this approach as whether graphic implement or not is up to upper layer user, is an option. Also if the common layout logic applies to image element, the layout logic could by reused.
Anyway, thanks for your effort on such a huge project.
I run accross some common compile issues on both win10 x64 LTSC(gdiplus.h can't be type self contained) and macOS(std namespace missed), I will upload my fix later when free.
I prefer this approach as whether graphic implement or not is up to upper layer user, is an option. Also if the common layout logic applies to image element, the layout logic could by reused.
Yes, that's what I plan.
I run accross some common compile issues on both win10 x64 LTSC(gdiplus.h can't be type self contained) and macOS(std namespace missed), I will upload my fix later when free.
The Windows GDI version is in the status that unmaintained (mainly because I don't have a Windows PC 😅 .). We have a long way to go. Very appreciate your PRs.
By the way, I'm going to deprecate the Old-Plain-TeX (branch master) and the migrating to Uni-math (branch openmath) is on the way, you may want to check it out if you are interested in it.
I created a discord room for cLaTexMath, welcome to join in to collaborate more smoothly and frequently.
I write a simple demo which show how to convert a tex snippet to a image(.png). see https://github.com/NanoMichael/cLaTeXMath/pull/66