document list pretty printing