I have uploaded version 3.01 of the Latex plugin to CPAN. 

This main changes in this release are:

 * expanded the documentation
 * fixed some of the tests that were failing if the dvitype program was 
not installed (now just skips those tests)

As I have pointed out in earlier posts, version 3.xx of 
Template::Plugin::Latex is a refactoring of the old Latex plugin, with 
most of the code being shifted out to a separate LaTeX::Driver module.  
While looking through that code I was reminded of some functionality in 
that distribution that I had almost forgotten about.  LaTeX::Driver 
includes three scripts: latex2dvi, latex2pdf and latex2ps, which can all 
act as Unix filters - pipe latex source code in and get a dvi, pdf or 
PostScript file out.  However I also added a -tt2 option and a -define 
option to the scripts, so you can say something like:

  latex2pdf -tt2 -define firstname=John -define lastname=Doe <letter.tt2 
 >letter-jdoe.pdf

this will process letter.tt2 as a TT2 template with the definitions 
specified and then run the output from TT2 through the LaTeX programs in 
a temporary directory.

I need to revisit LaTeX::Driver and update the documentation there to 
document this feature.

I would welcome feedback, reports of any problems, suggestions for 
improvements.  I would also like to hear if anyone is using the module.

Note: I don't seem to have commit access to the svn.tt2.org repository 
anymore - I have emailed Andy Wardley, but if anyone else could sort 
that out for me, that would be great - drop me an email.

Regards
Andrew

-- 
Andrew Ford,  Director    Pauntley Prints / Ford & Mason Ltd            
[email protected]   South Wing Compton House                      
pauntley-prints.co.uk     Compton Green, Redmarley  Tel: +44 1531 829900
ford-mason.co.uk          Gloucester GL19 3JB       Fax: +44 1531 829901
refcards.com cronolog.org Great Britain          Mobile: +44 7785 258278



_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to