In ~/.lyx/external_templates I have the following

Template Provresultat
        GuiName "[Provresultat: $$Basename]"
        HelpText
                Yadayada
                This template uses Nedit for editing and viewing.
        HelpTextEnd
        FileFilter "*.prov"
        ViewCommand "nedit $$FName"
        EditCommand "nedit $$FName"
        AutomaticProduction true
        Format LaTeX
                Product "\\input{$$FName.tex}"
                UpdateCommand "Provresultat2latexdiagram $$FName"
                UpdateResult "$$FName.tex"
                Requirement "graphics"
        FormatEnd
TemplateEnd

The problem is that the FileFilter does not work. I thought it should filter 
away all files except those ending in 
    .prov
but it does not. Can you help me spot the error? I use LyX 1.3.5 in Linux.

Gunnar.

Reply via email to