Hello,
I am a new user of LyX and I am trying to get the literate programming up and
running.
I have managed to get the the example listerrors to compile from LyX and also a
short
file I wrote on my own. However I can't seem to get any compiler errors to show
up in
LyX when I try to build a program with an error in it. I just get a pop up that
says
"There were errors during the Build process. You should try and fix them.".
Is it possible to get LyX to show were the errors are?
>From reading the documentation I thought I should be able to do that.
I am using LyX Version 1.1.6fix4. My build-script, an example build-script
scrap, and
the changes made to my lyxrc.default file are located below. If someone could
let me
know what I have done wrong I would really appreciate it.
Thanks,
Sam
<<build-script>>
#!/bin/sh
#
notangle -L -RCode.c ${NOWEB_SOURCE} > Code.c
gcc -g -o Code Code.c
build-script
#!/bin/sh
#
notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
Listerrors is located in the /usr/bin/ directory.
I added these lines to the lyxrc.default.
\converter literate program "build-script $$i" "originaldir,parselog=listerrors
b"
\converter literate latex "noweave -delay -index $$i > $$o" "parselog=listerrors
n"