On 2/10/06, Gunnar <[EMAIL PROTECTED]> wrote:
> 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
>

Hello,

Do you know the listings package?
http://www.atscire.de/index.php?nav=home

You can input listings in many programming languages, the output can
be customized, and it doesn't require external tools.

--
  Andrés

Reply via email to