永乐大典
During the reign of the Qing Jiaqing Emperor (r. 1796-1820), whilst compiling the "Quan Tang Wen" (全唐文), "literally: Complete Literature of the Tang") academic Xu Song ordered the preparation of the "Song Huiyao Jigao" based on the "Song Hui Yao" (宋会要/宋會要, "literally: Song Compendium") of the Yongle Encyclopedia and other sources. The entire work runs to 366 chapters and includes sections covering Imperial genealogy (帝系), wives and concubines (后妃), music (乐) Confucian Rites (礼), military attire (舆服), ceremonial procedure (仪制), divination (瑞异), divination (运历), Confucian honors〈崇儒), official appointments (职官), elections (选举), consumer goods (食货) crime and punishment (刑法) military matters (兵), territorial issues (方域), foreigners and barbarians (蕃夷) and interpretation of the I Ching (道释) as well as 17 other topics.