Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1 post
|
I am trying to get Mathmeatical gem supported in windows. I got lasem and mtex2mml included in the MINGW-PACKAGE list to be able to install with pacman
pacman -S mingw64/mingw-w64-x86_64-lasem pacman -S mingw64/mingw-w64-x86_64-mtex2MML I have forked mathematical and got it to create the makefile with my changes to extconf.rb ruby extconf.rb --use-system-lasem --use-system-mtex2MML when I run make I get the following n file included from mathematical.c:23:0: ./mathematical.h:12:10: fatal error: lsmmathml.h: No such file or directory #include <lsmmathml.h> ^~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:242: mathematical.o] Error 1stem-lasem --use-system-mtex2MML So, for some reason the lasem header lsmmathml.h file is not included in the header list for lasem I do not know autotools system very well. If I could get help on the patches to lasem 's Makefile.am file to include the headers needed for mathematical we can get this gem to install on windows. Here's my fork of the MINGW-PACKAGES which has lasem and mtex2mml that were accepted. https://github.com/dsisnero/MINGW-packages look under the lasem and mtex2mml directories. I need to patch the lasem Makefile.am somehow to include the needed headers Thanks |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
I highly doubt that mathematical is going to work on Windows, but I could be wrong. Mathematical is a separate project from Asciidoctor, so I recommend asking your question in that project to get it sorted out. https://github.com/gjtorikian/mathematical If you want to get something working right away, I highly recommend using the Docker container for Asciidoctor, which comes pre-installed with mathematical. You can run Docker on Windows (see https://docs.docker.com/docker-for-windows/) Cheers, -Dan On Mon, Jan 29, 2018 at 3:33 PM, dsisnero [via Asciidoctor :: Discussion] <[hidden email]> wrote: I am trying to get Mathmeatical gem supported in windows. I got lasem and mtex2mml included in the MINGW-PACKAGE list to be able to install with pacman ... [show rest of quote] Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1 post
|
I just compiled mathematical for windows, and it basically worked.
I had to make some changes to exconf.rb and CMakeLists.txt. Using asciidoctor-mathematical with "-r asciidoctor-mathematical -a mathematical-format=svg" works fine after installing cmex10.ttf. PNG output is corrupt, I'll check this again. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
Great work! If you'd be willing share those changes with the Mathematical project, that could really help us improve the experience for users on Windows. Thanks! -Dan On Tue, Feb 20, 2018 at 8:43 AM, miwi238 [via Asciidoctor :: Discussion] <[hidden email]> wrote: I just compiled mathematical for windows, and it basically worked. Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Free forum by Nabble | Edit this page |