moved all additions from omdchapter2tex.xsl into omd2tex.xsl. checked using git diff chapters/functions.tex, and the only differences were in indentation