PDF document explains how to write references.