On Nov 11, 2008, at 9:07 AM, Alain Matthes wrote:
Le 11 nov. 08 à 09:59, Allan Odgaard a écrit :
On 5 Nov 2008, at 23:53, Alain Matthes wrote:
[...] no problem with the classic method [ NEW from Template] [Edit Templates] but with the other method
[ why another method ? Only God knows ..]
I seem to recall Haris saying that there already is an established convention for LaTeX templates, and the additiional system (specific to the LaTeX bundle) is for those who already have a lot of templates following this convention.
[...] I create a file in Application Support > Latex > Templates but iI want to use shell variables like TM_FULLNAME TM_DATE TM_ORGANIZATION_NAME etc ...
I don’t think it expands shell variables, and since this system is a more general LaTeX template system, I am not sure it really should be made to do so (i.e. it is there for compatibility).
Why not stay with snippets or regular templates?
Yes i'm agree with you (I prefer regular templates ) but I'm curious about the problem :
The intent of the LaTeX templates was for repeatable code snippets, that can be inserted as part of a document. It was mostly there for people migrating from TeXShop, if I remember correctly. Then again it was a long time ago. One can really think of them as regular snippets probably, except that in their present form they can be directly shared with other TeX programs that use them, if I recall correctly.
Alain Matthes
Haris Skiadas Department of Mathematics and Computer Science Hanover College