[Templates] Finding defined macros

2006-05-30 Thread Simon Wistow
Is there anyway, from Template::Context or anything else accessible from a Template::Plugin, to get access to defined macros? ___ templates mailing list templates@template-toolkit.org http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] Developer Release 2.15b

2006-05-30 Thread Andy Wardley
There's a new developer release v2.15b available from here: http://tt2.org/download/Template-Toolkit-2.15b.tar.gz This fixes a number of minor bugs that surfaced in 2.15 and 2.15a. Cheers A #--- # Version 2.15b - 30th May 2

Re: [Templates] permission-problems with cache : dir-mod wrong !

2006-05-30 Thread peter pilsl
Andrew Ford wrote: I had a related problem. Cache files are created readable only by the user the process is running as. This is a consequence of the use of File::Temp to create the cache files, but it means that cache directories cannot be shared between different users, even if they are in th

Re: [Templates] permission-problems with cache : dir-mod wrong !

2006-05-30 Thread Andrew Ford
Randal L. Schwartz wrote: "Andrew" == Andrew Ford <[EMAIL PROTECTED]> writes: Andrew> I get round this now by specifying the cache directory as something Andrew> like "/tmp/tt2-cache-$<". This means that each user gets their own Andrew> cache and avoids any interactions between pr

Re: [Templates] permission-problems with cache : dir-mod wrong !

2006-05-30 Thread Randal L. Schwartz
> "Andrew" == Andrew Ford <[EMAIL PROTECTED]> writes: Andrew> I get round this now by specifying the cache directory as something Andrew> like "/tmp/tt2-cache-$<". This means that each user gets their own Andrew> cache and avoids any interactions between processes using TT2 running Andrew> as

Re: [Templates] permission-problems with cache : dir-mod wrong !

2006-05-30 Thread Andrew Ford
I had a related problem. Cache files are created readable only by the user the process is running as. This is a consequence of the use of File::Temp to create the cache files, but it means that cache directories cannot be shared between different users, even if they are in the same group and set

Re: [Templates] Developer Release 2.15a - new LaTeX plugin distribution and secutity issue?

2006-05-30 Thread Andrew Ford
Andy Wardley wrote: Andrew Ford wrote: Almost two years ago I made some changes to the LaTeX filter and submitted a patch, but it did not get applied. Oops, sorry Andrew. I remember your patch but can't lay my hands on it now. I tidied up all my mail folders a while back and now I can't f

Re: [Templates] Developer Release 2.15a - new LaTeX plugin distribution and secutity issue?

2006-05-30 Thread Todd Freeman
> >I use the LaTeX filter quite a bit > > I have to admit that I don't use it at all (or very rarely). I'll add a "ME TOO!" in the heavy usage category. All of our administrative PDFs are generated using LaTeX and most of them are TT driven. Everything from statements to paychecks to W2 forms.

Re: [Templates] Developer Release 2.15a - new LaTeX plugin distribution and secutity issue?

2006-05-30 Thread Andy Wardley
Andrew Ford wrote: Almost two years ago I made some changes to the LaTeX filter and submitted a patch, but it did not get applied. Oops, sorry Andrew. I remember your patch but can't lay my hands on it now. I tidied up all my mail folders a while back and now I can't find a damn thing. Mu

Re: [Templates] Developer Release 2.15a - new LaTeX plugin distribution and secutity issue?

2006-05-30 Thread Andrew Ford
Andy Wardley wrote: ... It also removes the latex filter which I had broken but not removed in 2.15. There's also the new Template-Latex distribution available from here: http://tt2.org/download/Template-Latex-2.16.tar.gz This provides the Latex plugin which defines the latex filter which i

[Templates] permission-problems with cache : dir-mod wrong !

2006-05-30 Thread peter pilsl
Since Saturday I suddenly face massive problems with my on-disk-cache. --- file error - cache failed to write index.tt2.ttc: Error in tempfile() using /tmp/tt2/data/apache/knowledge/sandbox/templates/literatur/wienermoderne/XX: Could not create temp file /tmp/tt2/data/apache/know