better formatting for page references