Test on Mac OSX 10.9 #8
-
Hi there, I just test the project on Mac OSX 10.9, it works very well. The only problem is that
I want to port this to iOS and Android so that I can compile TeX scripts to get some images of formula. So I need to convert the Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
I am eventually planning on writing a Be aware that the projects you mention are GPL’d and LGPL’d respectively. “I’m not a lawyer” and all that, but that’s my understanding. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the information, I'm a newbie in this industry, I think I need a more serious survey on software licences. I successfully port TeX– to Android, I think people may be interested, here is the configuration for cross-compiling (on Mac OSX 10.9): In Android.mk: LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := tex-engine # => libtex-engine.so
LOCAL_SRC_FILES := tex-engine.cpp
LOCAL_CPPFLAGS += -std=c++11
include $(BUILD_SHARED_LIBRARY) In Application.mk: NDK_TOOLCHAIN_VERSION := clang
APP_STL := gnustl_static |
Beta Was this translation helpful? Give feedback.
On iOS at least, I have these Copy build steps; note the second one:
Perhaps I should mention this in the README.
In the source tree,
tex.pool
it is in theweb
folder because it is one of the source files manipulated by thetex.sh
script.Of course, in your app you can place the files wherever you need. You don’t even need to use the ones I supplied. In fact, if you plan on using more than
plainTeX
you will need more than I provide.