Merge branch 'MDL-81488' of https://github.com/dravek/moodle into main
[moodle.git] / filter / tex / readme_moodle.txt
blob941aaae966c5cac64df4819cb807d998d82fb3e4
1 Description of mimeTeX v 1.77 import into Moodle
3 Compiling mimeTeX:
5 Windows
6 =======
7 1/ get "Automated MinGW-w64 Installer" from https://sourceforge.net/projects/mingw-w64/
8 2/ install mingw
9 3/ go into directory with extracted source files
10 4/ execute "set path=%path%;c:\mingw-w64\bin"
11 5/ execute "c:\mingw\bin\gcc -DAA -DWINDOWS mimetex.c gifsave.c -lm -o mimetex.exe"
13 Linux
14 =====
15 1/ install gcc
16 2/ go into directory with extracted source files
17 3/ execute "cc -DAA mimetex.c gifsave.c -lm -o mimetex.linux"
19 Linux aarch64
20 =====
21 1/ install gcc
22 2/ go into directory with extracted source files
23 3/ execute "cc -DAA mimetex.c gifsave.c -lm -o mimetex.linux.aarch64"
25 FreeBSD
26 =======
27 1/ go into directory with extracted source files
28 2/ execute "cc -DAA mimetex.c gifsave.c -lm -o mimetex.freebsd"
30 Apple OSX
31 =========
32 1/ install XCode and command line tools
33 2/ go into directory with extracted source files
34 3/ execute "cc -DAA -arch i386 -arch x86_64 -mmacosx-version-min=10.5 mimetex.c gifsave.c -lm -o mimetex.darwin"
37 Petr Skoda
38 Sujith Haridasan