External_templates file format

1 Message Forum Options Options
Embed this topic
Permalink
aquavitae
External_templates file format
Reply Threaded MoreMore options
Print post
Permalink
Hi

Can anyone tell me exactly how the external_templates file works?  I want to use datatool to plot some graphs, and I have the data in a csv file.  Just referencing the csv file in ERT (the code is \DTLloaddb{databasename}{filename}) gives the usual problems with relative paths, so I wanted to try to write a copier for it in external_templates. So far my attempts have got me nowhere and I haven't been able to find any documentation for the file.  

Also, I would have thought that it would be fairly easy to create a generic entry which simply ensures that a file is copied to temp so that if it is referenced in ERT it will be found.  Any comments on this?