> > 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.
At least acrobat reader does not display PDF file if it contains an extra empty line on the beginning. Tried. > > 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). In case you are to generate both the main document and some things it uses (like dynamically created images or parts) it is natural to create them within the same temporary directory. Do it with the latex filter... Similar problems arise when you want to do some postsprocessing (like generate ps file and then convert it to tiff for faxing) or customize TeX command line (like adding -translate-file). It is also worth mentioning that using latex filter you must either load the whole file into memory or perform unnecessary copy of it. And to finalize: I am not criticizing the current latex filter implementation - given the environment it works in it is fairly good. But in my opinion the idea of running TeX as TT filter is flawed. -- ( Marcin Kasperski | Users typically do not know exactly what they want and ) ( http://www.mk.w.pl | are unable to articulate all that they know. (Parnas) ) (---------------------------------------------------------------------------- ) ( Sztuczki i kruczki w C++: http://www.mk.w.pl/porady/porady_cplusplus ) _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
