How to write the format of references in Tang Dynasty?

Write by serial number.

The formats of references in the paper are listed in turn according to the serial numbers marked in the text. If there are no more than three names of authors of the same work, all of them shall be recorded.

Reference is the source of citation, and its type is identified by a single letter. M is a monograph, C is a collection of essays, N is a newspaper article, J is a journal article, D is a dissertation and R is a report.