Beimeng suoyan 北夢瑣言 "Trivial tales from north of Meng" is a collection of short stories from the Tang 唐 (618-907) and Five Dynasties 五代 (907-960) periods written by Sun Guangxian 孫光憲 (900-968), courtesy name Mengwen 孟文, style Baoguangzi 葆光子.
He hailed from Guiping 貴平 in the prefecture of Lingzhou 陵州 (modern Renshou 仁壽, Sichuan). Under the Later Tang dynasty 後唐 (923-936), he was appointed administrative assistant (panguan 判官) in Lingzhou 陵州 and became a supporter of Gao Jixing 高季興 (r. 921/928), ruler of the small state of Jingnan 荊南 (924-963). Sun urged the last ruler of Jingnan, Gao Jichong 高繼沖 (r. 962-963), to support the strongest warlord of the north, Zhao Kuangyin 趙匡胤 (Emperor Taizu 宋太祖, r. 960-975), who eventually founded the Song dynasty 宋 (960-1279) and unified China. For this political support, Sun Guangxian was rewarded with the post of regional inspector (cishi 刺史) of Huangzhou 黃州. Besides the Beimeng suoyan, Sun also wrote the books Jingtai ji 荊臺集, Juzhai ji 橘齋集, Biyong ji 筆傭集, Guhu jiwan 鞏湖集玩, Canshu 蠶書 and Xu tongli 續通曆. Of all these texts, only the Beimeng suoyan has survived. Meng 夢 was an old name of the city of Jiangling 江陵 in the modern province of Hubei, where the author wrote his book.
The source material Sun used for his book was carefully selected after he checked its historical accuracy. One source, for instance, was the Duyang zabian 杜陽雜編. For each quotation, the compiler has provided the name of the source, so that it is easy to check with the original text (if it has survived). The 327 stories of the Beimeng suoyan include reports about the court activities as well as the private lives of officials and that of commoners. An essential part of the private life of scholar-officials was their literary writings, especially poems, of which a significant part is at least partially quoted in the Beimeng suoyan. Part of the stories also include supernatural phenomena, as netherworldly punishments for evil deeds in life. Nevertheless, the Beimeng suoyan is a valuable source for the intellectual history of the late Tang and Five Dynasties periods providing information that goes beyond the official dynastic histories.
The original book had a length of 30 juan, of which only 20 are preserved. The Beimeng suoyan is included in the series Baihai 稗海, Yayutang cangshu 雅雨堂藏書, Yunzizaikan congshu 雲自在龕叢書 and Siku quanshu 四庫全書. The last version includes 4 more juan of supernatural histories extracted from the Song-period 宋 (960-1279) encyclopaedia Taiping guangji 太平廣記. In 1960, the Zhonghua Shuju Press 中華書局 published a modern edition.