adding derived cross references and colours and ordered lists