[Catalyst] TT Latex Experiences with Catalyst

Felix Antonius Wilhelm Ostmann ostmann at websuche.de
Mon Feb 16 08:39:13 GMT 2009


works very well, currently only as tex2pdf and as download


        if( $c->forward($c->view('Data::PDF')) ) {
            $c->response->content_type('application/pdf');
            $c->response->header('Content-Disposition', "attachment; 
filename=".$c->stash->{customer_invoice_filename});
        }

And in TT:
[% USE Latex %]
[% FILTER latex("pdf") %]
\documentclass ...
...
[% END %]


Alejandro Imass schrieb:
> Hi,
>
> Just wondering if there are experiences or recommended patterns to use
> Template::Plugin::Latex with Catalyst.
> The idea is to generate hardcopy output from the web app directly to a
> printer via ipp, lpr, etc. or download as PS or PDF.
> My question is if anyone is doing such a thing could provide a general
> idea on how it was accomplished.
>
> Thanks,
> Alejandro Imass
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
>   


-- 
Mit freundlichen Grüßen

Felix Antonius Wilhelm Ostmann
--------------------------------------------------
Websuche   Search   Technology   GmbH   &   Co. KG
Martinistraße 3  -  D-49080  Osnabrück  -  Germany
Tel.:   +49 541 40666-0 - Fax:    +49 541 40666-22
Email: info at websuche.de - Website: www.websuche.de
--------------------------------------------------
AG Osnabrück - HRA 200252 - Ust-Ident: DE814737310
Komplementärin:     Websuche   Search   Technology
Verwaltungs GmbH   -  AG Osnabrück  -   HRB 200359
Geschäftsführer:  Diplom Kaufmann Martin Steinkamp
--------------------------------------------------




More information about the Catalyst mailing list