I have an external template defined for including c++ code (attached at the bottom of the message) and I'm having problem with updating the postscript after editing one of the included c++ files. The postscript file doesn't. update when I do S C T to update the postscript.
Restarting LyX works, but that seems to be a bad solution. Any ideas? ---------------------------------------------------- Template CppKod GuiName "[C++ $$Basename]" HelpText Snyggar till C++ kod HelpTextEnd FileFilter "*" ViewCommand "nedit $$FName" EditCommand "nedit $$FName" AutomaticProduction true Format LaTeX Product "{\\small \\input{$$FName.tex} }" UpdateCommand "highlight -A -L -t 4 -I -S cpp -f -r -q $$FName -o $$FName.tex" UpdateResult "$$FName.tex" FormatEnd TemplateEnd