Hello lyx-developers, I now have the problem, that parts of a document I'm working on has very often changing tables, generated from csv-tables or even a database-backend. So I have the idea to process template files with included tcl-code. This code is substituted and the result ist the actual lyx-document, which in turn can be cached. Well, to be honest, this is not my idea but the mechanism how Brent Welch's tclhttp server handles its templates and I'd adapt this code to handling lyx-documents. The problem I have is how to best mark the tcl-code best in a .tlx (template-lyx :-) file. One idea is to use: \begin_inset x-tcl-subst tclcode \end_inset. So a template file: ... \layout standard
blah \begin_inset x-tcl-subst [clock format [clock seconds]] \end_inset ... would become ... \layout standard blah Mon Jul 22 10:19:08 CEST 2002 ... . But how does lyx react on unknown inset-types or does this idea breaks any existing concepts? Comments welcome. Yours -- Dr. Joachim Heidemeier Tel. +49-30-8903-2780 Fachgebiet II 3.2 [EMAIL PROTECTED] Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin