On Fri, Mar 12, 2004 at 11:16:35AM -0500, Andy Joslin wrote:
> All,
>       I'm investigating several different options for automating a
> document generation. The requirements are at the end of the day, the
> document must be a PDF with consistent headers and footers, and a TOC
> that includes page numbers, since the hard copy will be used rather
> than a PDF with links in the TOC. The document will contain system
> information harvested from a variety of shell commands.

>       Has anyone here done something similar that could offer some
> advice on what technology to use? I really like the TT2 syntax and
> functionality, and would prefer to do all the 'harvesting' in a
> template, and then perhaps hand off the intermediate markup (html or
> xml) to something else to render it in PDF form.
> 
> Any suggestions?

I create LaTeX and then push it thru the latex filter with the output
type set to 'pdf'.

[% FILTER latex("pdf") -%]
\documentclass{letter}
\begin{document}

...

\end{document}
[% END %]

Of course, the '...' needs some careful work :)

Dave...

-- 
  New .sigs
  Running in please parse

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to