He put Chancellor Wang Qinruo in charge of the project, selected ten Taoist masters, and ordered Perfect Qi Guan 戚綸 to oversee the compilation of the Daozang.
), who had replaced Qi Guan, completed the revised Da Song tiangong baozang edition, which comprised 4,565 juan 卷 "scrolls; volumes".
Zhang Junfang subsequently selected Canonical texts for the Yunji qiqian anthology, which he dedicated to Zhenzong, and presented to Emperor Renzong of Song (r. 1022–1063).
"[2] Zhang submits the book to Zhenzong as a "bedside companion" (literally yiye zhi lan 乙夜之覽, "[for] perusal during the second watch [around 10 PM]").
Zhang's preface explains that he chose among yunji qibu zhi ying 雲笈七部之英 "outstanding [books] from the seven components in the cloudy bookbag".
Boltz explains that yunji is a "well-established poetic trope for a bagful of Taoist writings" and qibu refers to the sandong 三洞 "Three Caverns" and sibu 四部 "Four Supplements" into which the Canon was organized.
In the modern era, Kristofer Schipper compiled an index to the Yunji qiqian,[10] and linguistic scholars at the Chinese Academy of Social Sciences produced a definitive edition.
Since the Yunji qiqian does not contain any Daoist rituals for retreats, petitions, or memorials, and "it contains only the merest handful of talismans, charts, and diagrams", the present text "cannot be considered as an anthology of the Sung Canon.