Made the numbered lists more consistent with TeX
Work with custom list items

We have to check side cases etc.