[Instiki] blahtex in Instiki 0.18

Peter Bleszynski bleszynski at gmail.com
Wed Dec 30 16:39:14 EST 2009


Thanks for pointing me in the right direction.

I was missing the preview-latex package which is required by the
blahtex option --use-preview-package.  The solution in Gentoo is to
"emerge dev-texlive/texlive-latexextra" which contains the preview
package.

On Wed, Dec 30, 2009 at 12:30 PM, Jacques Distler
<distler at golem.ph.utexas.edu> wrote:
>
> On Dec 30, 2009, at 1:57 PM, Peter Bleszynski wrote:
>
>> 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} $
>>
>>  ...
>>
>> RuntimeError (No depth element in:
>> <blahtex>
>> <png>
>> <error><id>CannotRunLatex</id><message>Cannot run latex</message></error>
>> </png>
>> </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
>
> I believe the options (set in vendor/plugins/maruku/lib/maruku/ext/math/mathml_engines/blahtex.rb) are:
>
>  blahtex --png --use-preview-package --shell-dvipng 'dvipng -D 200'
>
> Does that work?
>
> I'm not really the expert on the blahtex filter. I'll ask Ari Stern, who is.
> _______________________________________________
> Instiki-users mailing list
> Instiki-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instiki-users
>


More information about the Instiki-users mailing list