Uni-math is here! #87
Replies: 4 comments 8 replies
-
have you seen the comment I made on commit 31283e1? |
Beta Was this translation helpful? Give feedback.
-
thanks <3 could you also bump the version from 0.0.4 to 0.1.0 (or maybe even 1.0.0), given that this contains fairly major changes? |
Beta Was this translation helpful? Give feedback.
-
So, after playing with it for a while, I've noticed a few things. documentation & invoke paramsI assume this is something you are aware of, but the parser you use for launch parameter fails to parse is incorrect (value ends up being the key) cause it to throw tex:ex_file_not_found (or similar). Consider using gnu getopts instead. Additionally a bit of documentation would be useful to understand what displaystyleclm used to default to displaystyle for equations. it doesn't do so anymore also clm segfaults when nothing follows fallback fontsDo you intend to ship a fallback font with clm in case an application just wants to render latex without the need to manage a custom font? |
Beta Was this translation helpful? Give feedback.
-
OMG, I'm in awe of the first image there, so amazing yet so cursed. On another note, good job on doing that O.o ! That should have been such an immense amount of work 👏 🎉 ! |
Beta Was this translation helpful? Give feedback.
-
After a few months of coding (and struggling), finally, the Uni-math is (almost) here! 🎆
First, let me show you some screenshots to give an intuitive feel for this major update:
Major changes
tinyxml2
is no longer neededstd::wstring
anymoreAnd much more I haven't listed here...
Play with the GTK demo application
Build the demo
Since I have not yet provided an executable to demonstrate this program, you can build the demo by yourself.
First, make sure you have
gtkmm-3.0
andgtksourceviewmm-3.0
installed, the GTK sample application will use it to show a simple GUI. Then usecmake
to build it:also, you can build it with meson:
Generate clm data file
The
clm
data file stores the font metrics and other OTF font information to layout math formulas. This program provides a script located in folderprebuilt
to generate aclm
data file from an OTF font. First, make sure you havefontforge
installed, then run the following command:clm
data fileYou can download
XITS
from here, andlatin-modern math
from here.Run the demo
After all works done, you can run the demo application now:
clm
data file to layout the formulas./res/SAMPLES.tex
Switch font
You can add math font via:
And switch font via:
And the logo
I've designed the logo shown below, but I'm not satisfied with it... Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions