tidy: explicit convert and write, as in pweave.
notebook convert: test against good reference