I am trying to display an equation using Markdown+blahtex/PNG in
Instiki 0.18.  Blahtex is compiled from blahtexml-0.7-corrected-src.

I tried
$ \begin{aligned} ... \end{aligned} $
and
\$ \begin{aligned} ... \end{aligned} \$

Both expressions return a page with the apache error "Internal Error
An application error occurred while processing your request".

The Instiki error in the first case is:

RuntimeError (No depth element in:
 <blahtex>
<png>
<error><id>CannotRunLatex</id><message>Cannot run latex</message></error>
</png>
</blahtex>


The Instiki error in the second case is:

RuntimeError (Blahtex error:
<blahtex>
<error><id>IllegalFinalBackslash</id><message>Illegal backslash "\" at
end of input</message></error>
</blahtex>


Am I using the wrong syntax?

I'm using Gentoo and TeX Live 2008 is installed.

/usr/local/bin/blahtex is in the command path.

Running blahtex from the command line works.  The following simple
test produces correct PNG output.
# echo '\sqrt{x^2+\alpha}' | blahtex --png

The Apache VirtualHost is configured as follows:

ProxyRequests Off
<Proxy *>
  Order Allow,Deny
  Allow from all
</Proxy>
ProxyPass /files !
ProxyPass / http://localhost:2500/
ProxyPassReverse / http://localhost:2500/


Thanks,
Peter
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to