[Catalyst] Template::Latex - Almost there

Michele Beltrame mb at italpro.net
Sat Nov 18 12:36:31 GMT 2006


Hello Yves!

> I spent quite a lot of time trying to find what was wrong when using 
> Template::Latex from within Catalyst. My code worked just fine as 
> standalone application, but not inside Catalyst.

I don't know if this is your problem, but beware that Template::Latex 
won't work with Catalyst develpment server.

The problem is that the Template::Latex expects system("pdflatex ...") 
to return 0, but all system() call made from inside the dev server 
return -1. You'll however have no problem at all when running Catalyst 
in a CGI/FastCGI/mod_perl environment.

Michele.

-- 
Michele Beltrame
http://www.varlogarthas.net/
ICQ# 76660101
Informativa privacy: http://www.italpro.net/em.html



More information about the Catalyst mailing list