Translated the old atdgen tutorial to pandoc.