[Dancer-users] Generating PDF with Template-Plugin-Latex fails inside route handler

Mike Mandel mandel at stud.fh-hannover.de
Fri Jan 7 15:10:01 CET 2011

Am 07.01.2011 10:48, schrieb Nick Hibma:
> Perhaps PATH is not set to include the TeX utils? I would not know how to change that but you could start by testing the following:
> 	env PATH=$PATH:/path/to/latex/bins ./myDancerApp.pl
> A common problem is that /usr/local/bin is not in your path on for example FreeBSD.
> Just my 2 euro cents.
> Nick Hibma
> AnyWi Technologies
> On 7 Jan 2011, at 01:06, Mike Mandel wrote:
Hi Nick,

thanks for your help.
Unfortunately it doesn´t work.

The following doesn´t work either.

my $tt = Template::Latex({
    LATEX_PATH         => '/usr/bin/latex',
    PDFLATEX_PATH => '/usr/bin/pdflatex',

It is really strange, outside of the route handler it works, inside not!?



More information about the Dancer-users mailing list