Glad to hear you were able to build on OSX. I don't currently have access to that platform.
Regarding the demo, it looks to me like the first "demo" line is
%!demo
I don't see an extra space. I haven't yet tried on linux but when I do
demo pde1d
on windows, I get this error:
error: element number 1 undefined in return list
error: called from
demo at line 111 column 13
>Even if I fix this the demo does nothing useful, it defines a
>bunch of functions but doesn't run anything.
OK, I just took the contents of one of my test m-files and put
a %! in front of every line. So maybe there should be
%!heatCond
as the last line in the demo section to call the "main" function?