tried that. no joy.

very frustrating!

On 3/9/06, Haikal Saadh <[EMAIL PROTECTED]> wrote:
>
> Try specifying the full path to latex-math2png in your efexecute.
>
> Gavin Cooney wrote:
> > hi folks,
> >
> > i've a small cfexecute problem on a linux machine. i'm sure it's
> > something very very simple, but i've not used cfexecute much before so
> > i hoped one of you would be able to help me out?
> >
> > I've got latex installed on my server.
> > http://en.wikipedia.org/wiki/Help:Formula
> >
> > it means i can run commands like this to generate pngs of formulae.
> >
> >    echo 'y = \int_0^\infty \gamma^2 \cos(x) dx' | latex-math2png -D
> > 250 > eqn.png
> >    echo '\sum_{n=0}^\infty \frac{x^n}{n!}' | latex-math2png -D 250 > eqn.png
> >
> > now when i try to run these commands using cfexecute i get a blank
> > file generated. I've tried some variations, but this is basically what
> > i have:
> >
> >
> > <cfset arArguments = arrayNew(1) />
> > <cfset arArguments[1] = "\sum_{n=0}^\infty \frac{x^n}{n!}" />
> > <cfset arArguments[2] = "-D 250" />
> >
> > <cfexecute
> >    name = "latex-math2png"
> >    arguments = "#arArguments#"
> >    outputFile = "/vhosts/mydomain.com/htdocs/latex/test.png" />
> >
> >
> >    <a href="/latex/test.png">link</a><br />
> > <img src="/latex/test.png" />
> >
> >
> > any ideas what i'm doing wrong?
> >
> > Cheers
> >
> > Gav
> >
> >
> >
> >
>
>
> --
> Haikal Saadh, Applications Programmer
> Teaching and Learning Support Services
> K405, Queensland University of Technology, Kelvin Grove Campus
> [EMAIL PROTECTED], 3864 8633
> CRICOS No. 00213J
>
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to