MimeTex for Windows

779 views
Skip to first unread message

miedema

unread,
May 9, 2009, 7:10:49 AM5/9/09
to ASCIIMath
Does anyone have the mimetext.cgi for windows for me. I can download
from their website, but you first have to compile it and since I don't
have experience with c, I have no idea how to do that.

David, i saw you have mimetext running on your webserver, are there
any special things you have to do for that?
I want to ask my provider to make it work on my websites.

David

unread,
May 9, 2009, 1:21:28 PM5/9/09
to ASCIIMath
Forkosh has a precompiled binary for windows on the mimetex website
(http://www.forkosh.dreamhost.com/source_mimetex.html#precompiled).
Download, unzip, and put mimetex.exe in your webserver's cgi-bin, then
change the fallback AMTcgiloc to point to that mimetex.exe. Usually
something like "/cgi-bin/mimetex.exe".

My webhost gives shell access, so I was able to compile mimetex on my
host. If you know your provider's OS, you might be able to just
upload a precompiled binary, but I liked being able to adjust some of
the options on my server version.

mauno

unread,
May 9, 2009, 2:39:47 PM5/9/09
to ASCIIMath
Check the Files from the right.

That file in http://www.forkosh.dreamhost.com/source_mimetex.html#precompiled
is an exe file and you can open the file, save it as txt file and
again as any file with cgi extension (sounds odd but it works)

Download the attached file from Files, unzip it to your PC or Windows
server and if you have for example Xampp move it to xampp/cgi-bin
folder or for example to web root. With cgi you can call mimetex.cgi
directly ( in xampp http://127.0.0.1/cgi-bin/mimetex.cgi?\alpha ... )
or set in asciimathml scripts var AMTcgiloc = "http://127.0.0.1/cgi-
bin/mimetex.cgi?"; although the script is in xampp/cgi-bin or if it's
inside webroot use the absolute address.

You must give the file execute permission - it's an executable file...

Mauno

Marc

unread,
May 9, 2009, 2:46:43 PM5/9/09
to asci...@googlegroups.com, ASCIIMath
Be happy to host asciimathml.com ok my acct at dreamhost and set it up
with a moodle, mediawiki, etc if folks want to do that.

Forkosh and I are both on dh and
You can use my miMetex URL if you wish as I am way under bandwidth -

seemed to me it would be handy to have a space where one could
actually use multiple versions of asciimath in ones posts, and. We
could do that with moodle forums and themes. As Mentioned to mk some
time ago, I could also host an svn for asciimath, libs, etc and hand
the reins for it over 2 David - peter had set up cvs at sourceforge on
the otherhand and might open that up

Back to fallback- Mathtex is better though and livetex probably better
still now that mk has fallback working to it. I will try to set that
up for testing this week

mauno

unread,
May 9, 2009, 4:08:36 PM5/9/09
to ASCIIMath
Yes, Mathtex is better than Mimetex because you can change many
important settings like choose png, density and gammacorrection and
you can use *any latex characters and commands* from your installed
latex ditribution - at least in Linux or Unix. I never complied
Mathtex with extra settings - I just complied it with default settings
and add the settings to fallback script. I had to change row

node.src = AMTcgiloc + '?' + texstring;

in function AMTparseMath(str,istex) to

node.src = AMTcgiloc + texstring;

to be able to use any kinds of fallback script addresses - for example

var AMTcgiloc = "http://myserver/cgi-bin/mathtex.cgi?\\png\\dpi{120}\
\gammacorrection{1.4}\\displaystyle";

to produce fallback images with my Tex Live 2007 as png images with
density 120 (dpi), gammacorrection 1.4 and displaystyle. I have full
Tex Live installed so it is possible to use about 4500 extra
characters - after finding the corresponding unicode / ascii
characters for MathML output.

By the way - as a further replay to previous post it is even simpler
to rename compiled Mimetex.exe to Mimetex.cgi and just move it to
correct place with correct permissions. In Vista changing the
extension is just a little tricky because extension is often hidden
and permissions must be changed from properties of a file or folder. I
haven't tested this mimetex.cgi with IIS but if IUSER has permission
to use (execute) the script it should work with IIS too.

About asciimathml.com - com sounds a little commercial - I have never
sold any code... but all sites that give more info about asciimathml
in addition to

http://www1.chapman.edu/~jipsen/mathml/asciimath.html

are welcome. Where does that 'Microsoft License Manager DLL' add-on
come from in http://www.asciimathml.com/ ?

Mauno

On May 9, 9:46 pm, Marc <m...@interak.com> wrote:
> Be happy to host asciimathml.com ok my acct at dreamhost and set it up  
> with a moodle, mediawiki, etc if folks want to do that.
>
> Forkosh and I are both on dh and
> You can use my miMetex URL if you wish as I am way under bandwidth -
>
> seemed to me it would be handy to have a space where one could  
> actually use multiple versions of asciimath in ones posts, and. We  
> could do that with moodle forums and themes. As Mentioned to mk some  
> time ago, I could also host an svn for asciimath, libs, etc and hand  
> the reins for it over 2 David - peter had set up cvs at sourceforge on  
> the otherhand and might open that up
>
> Back to fallback- Mathtex is better though and livetex probably better  
> still now that mk has fallback working to it.  I will try to set that  
> up for testing this week
>
> On May 9, 2009, at 3:10 AM, miedema <webmas...@samconsult.biz> wrote:
>
>
>
>
>
> > Does anyone have the mimetext.cgi for windows for me. I can download
> > from their website, but you first have to compile it and since I don't
> > have experience with c, I have no idea how to do that.
>
> > David, i saw you have mimetext running on your webserver, are there
> > any special things you have to do for that?
> > I want to ask my provider to make it work on my websites.- Hide quoted text -
>
> - Show quoted text -

miedema

unread,
May 9, 2009, 5:43:25 PM5/9/09
to ASCIIMath
David,

Thanks, I tried it and contacted my provider "brinkster" but they told
me executables are not supported because of safety, so its a pitty.

mauno

unread,
May 10, 2009, 3:01:28 AM5/10/09
to ASCIIMath
https://help.brinkster.com/KB/a159/do-you-support-cgijspperlcold-fusion.aspx

- it really looks like your host supports cgi only for Linux hosting

Mauno
> > - Show quoted text -- Hide quoted text -

miedema

unread,
May 10, 2009, 4:13:25 AM5/10/09
to ASCIIMath
Unfortunately I have a Windows account, not a Linux account.
The Microsoft License DLL is because the htmlArea version uses save to
disk.

My purpose with the website is to collect all the information there is
about asciimathml and svg. In my search for information I found
implementations in Moodle, TiddlyWiki, TinyMCE, htmlArea, Xinha and
more. There are versions with and without fallback.
Now if you want to make a new user enthousiastic, show the state of
the art of ASCIIMathML and SVG.

I found myself that I started with Peters version 2.02, while later I
discovered there is a version 2.1 which you can download from the same
line as 2.02. It took me an evening to convert from 2.02 to 2.1 and
that was a waste of time.
So it would be nice if we can advice new users about this.

As you can see on the site right now, I use iframes to accomodate the
existing websites, starting with Peters websites and later the others.
On the homepage I like to mention the different versions we have.

On May 10, 9:01 am, mauno <mauno.korpelai...@hyvinkaa.fi> wrote:
> https://help.brinkster.com/KB/a159/do-you-support-cgijspperlcold-fusi...

miedema

unread,
May 12, 2009, 4:58:53 PM5/12/09
to ASCIIMath
Marc,

How would you like to set up Moodle, etc.
I could arrange subdomains like moodle.asciimathml.com and point it to
an ip address you give me, the same for mediawiki, etc.
ASCIIMathML.com has already a lot of info, but I would like more info
on the different versions there are.
If anyone feels something is missing, just post it here or send me a
message by email and I will put it on the website.

On May 9, 8:46 pm, Marc <m...@interak.com> wrote:
> Be happy to host asciimathml.com ok my acct at dreamhost and set it up  
> with a moodle, mediawiki, etc if folks want to do that.
>
> Forkosh and I are both on dh and
> You can use my miMetex URL if you wish as I am way under bandwidth -
>
> seemed to me it would be handy to have a space where one could  
> actually use multiple versions of asciimath in ones posts, and. We  
> could do that with moodle forums and themes. As Mentioned to mk some  
> time ago, I could also host an svn for asciimath, libs, etc and hand  
> the reins for it over 2 David - peter had set up cvs at sourceforge on  
> the otherhand and might open that up
>
> Back to fallback- Mathtex is better though and livetex probably better  
> still now that mk has fallback working to it.  I will try to set that  
> up for testing this week
>
> On May 9, 2009, at 3:10 AM, miedema <webmas...@samconsult.biz> wrote:
>
>
>
>
>
> > Does anyone have the mimetext.cgi for windows for me. I can download
> > from their website, but you first have to compile it and since I don't
> > have experience with c, I have no idea how to do that.
>
> > David, i saw you have mimetext running on your webserver, are there
> > any special things you have to do for that?
Reply all
Reply to author
Forward
0 new messages