From: Marcin Kasperski <[EMAIL PROTECTED]>
Attempt to use pdflatex filter with 'tpage' utility fails (at least
on Win32) because resultiong PDF gets mangled by text mode CR/LF
conversion.
Being a person who for some time used latex filter to generate PDF I
feel fairly sure that this is the WRONG way. The bare problem of
leaving/trailing spaces/empty lines which are easily left by designers shows this
Actually, PDF is rather tolerant to extra lines and spaces, as it is mostly text-based except for embedded images, which were the cause of problem here.

but there is more (poor errors diagnostic,
Indeed, see e.g. my previous post. This could be easily improved though.

no support for generating many files latexed together - like main document and the images etc).
Why? This is exactly what I am doing, and it works just fine. (Well, not too fine, but that is a problem of weird and convoluted support for image embedding in TeX, and not a problem in TT).

What is the right way? Use TT to generate tex/latex file and exec TeX
separately, not from within the filter.
Perhaps, but this filter is included in default installation, and mentioned in docs, so I think it is logical that the standard utility should work with it ;)
More to the point, TT is doing some useful additional work, like managing temporaries and storing relevant paths.
---
Professional hosting for everyone - http://www.host.ru


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

Reply via email to