I'm at the stage where [graph] works but [tex] doesn't. (I've got many samples working by calling CGI in the SRC attribute of an IMG tag, but I'd like to get the tags working.

The demo site would be more helpful if:

1. The tags and TeX code were shown in "verbatim" fashion and

2. If the filters used were listed in order.

Thanks! (Great module, by the way. One of the many things that gives me such confidence in the Drupal platform.)

Comments

dwees’s picture

Assigned: Unassigned » dwees

I've added the information to the demo site that you suggested. Also the documentation in the README.txt file has been updated, so if you wait a day or so, then re-download the module there may be some additional information that you can use to get the tex tags working.

Also, if you have the tags working, but are wondering about syntax, check out this site.

lambert-1’s picture

Thanks for the link, dwees, but I did. That's where I got the idea to do this:

<img src="/cgi-bin/mimetex.cgi?
    x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}">

To at least see if I got the Mimetex engine working.

dwees’s picture

Have you tried an absolute URL instead of a relative URL? I use an absolute URL on my site, and I have (to my shame) done no testing with a relative URL.

Dave

lambert-1’s picture

I used a relative URL, as shown in the example. It works fine.

dwees’s picture

Oh so you have the Mathematics filter working? What I was suggesting was using an absolute URL in the settings of the module itself. My impression is that the relative URLs will vary from page to page and will depend greatly on which page you are viewing.

Dave

lambert-1’s picture

I used a relative URL both in the post and for my settings. Both worked (since they were relative to the Drupal site).

It works very nicely, this is a great module.

dwees’s picture

Status: Active » Closed (fixed)

Looks like it's been worked out. Possible debugging solution for the relative URLs is to use the img tag and try different paths until you find the Mimetex binary path.