Testing example code in LyX documents

2006-03-28 Thread John Pye

Hi all

I recently came across BoostBook and also python's DocTest module. These 
systems are designed your documentation to include sample code (ie 
examples of how to do stuff) in such a way that those code examples can 
be incorporated into test harnesses etc. This means that you can 
automatically run all of your code examples each time you update your 
documentation, and therefore be confident that your latest changes (to 
either you example or to your main code) haven't stopped your examples 
from working as expected.


Is anyone using techniques like these with LyX? If so, how?

Cheers
JP

--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



Testing example code in LyX documents

2006-03-28 Thread John Pye

Hi all

I recently came across BoostBook and also python's DocTest module. These 
systems are designed your documentation to include sample code (ie 
examples of how to do stuff) in such a way that those code examples can 
be incorporated into test harnesses etc. This means that you can 
automatically run all of your code examples each time you update your 
documentation, and therefore be confident that your latest changes (to 
either you example or to your main code) haven't stopped your examples 
from working as expected.


Is anyone using techniques like these with LyX? If so, how?

Cheers
JP

--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



Testing example code in LyX documents

2006-03-28 Thread John Pye

Hi all

I recently came across BoostBook and also python's DocTest module. These 
systems are designed your documentation to include sample code (ie 
examples of how to do stuff) in such a way that those code examples can 
be incorporated into test harnesses etc. This means that you can 
automatically run all of your code examples each time you update your 
documentation, and therefore be confident that your latest changes (to 
either you example or to your main code) haven't stopped your examples 
from working as expected.


Is anyone using techniques like these with LyX? If so, how?

Cheers
JP

--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/