convert to ipython notebook. #11
explicit convert and write, as in pweave. #11
test against good reference