He wrote in the mountains.
The table was broken and propped up on a stone. The inkstone had a chip out of one corner. Lamp oil had to be rationed, so on the short days he went to bed early.
When a passage was finished he would stop and sit for a while. What he was reaching for was not a word. It was the things that no longer existed: a certain garden, the lanterns of a certain year, something a particular person once said.
Nobody was writing any of it down.
So he decided to write it himself.
A Spoiled Son
Zhang Dai was from Shaoxing, in Zhejiang, though the family registered its ancestry in Mianzhu, Sichuan, and he called himself a man of Shu all his life.
It was an official family. His great grandfather had held office. His great grandfather on the other side, Zhang Yuanbian, took first place in the Palace Examination of 1571. His grandfather and his father both served.
Zhang Yuanbian is remembered in Shaoxing for one thing in particular. When the painter and playwright Xu Wei was thrown into prison, Zhang Yuanbian spent years working to get him out.
A family standing in a province rests half on examination rank and half on that kind of thing.
It was not the grandest house in the Jiangnan region, but it was enough that a boy could see everything and afford anything.
Years later he wrote his own epitaph and listed his appetites one by one. He loved fine houses, pretty maids, good clothes, good food, fast horses, bright lanterns, fireworks, opera troupes, drums and pipes, old objects, flowers and birds.
Then he added two lines: steeped in tea to excess, stuffed with oranges to excess, a worm in books, possessed by poems.
He wrote that about himself. Nobody had to invent it for him.
The household kept opera troupes. Not one. Several. In his memoir he lists the family companies by name, six or seven of them over the years, and in each one the two or three performers worth watching.
One year he took a troupe past Gold Mountain Monastery after dark, had lamps lit in the main hall, and put on a play.
It was the one about Han Shizhong beating the drum at Gold Mountain.
The monks had gone to bed. They came out one by one in the dark, hearing drums and gongs, with no idea what was happening and no courage to ask.
The performance ended near dawn. The company packed up and went back to the boat.
The monks walked down to the water and stood there watching the boat go, still not certain they had seen anything real.
He did that sort of thing often.
He wrote about an old man who sold tea at Taoye Ferry, a difficult man who ignored customers. Zhang Dai went once, said a few things, and the old man put the tea things away, took him upstairs and lit the stove again.
They talked from tea to water and from water to where each came from. The old man tested him. Zhang Dai answered every question.
At the end the old man said: I am seventy years old, and among all the people I have met, you are the only one who understands tea.
He got the answers right.
He wrote about the lanterns of Shaoxing, hung in every doorway, a canopy built across each street, figures painted on the silk, and the turning lanterns spinning so that a whole street of people turned with them.
He wrote about a storyteller called Liu the Pockmarked, who told the tale of Wu Song killing a tiger on the ridge. At the tightest point his voice dropped, and nobody in the room dared lift a teacup.
He sat the provincial examination once, in 1635. He failed.
No degree meant no office, and no office meant he was free to spend thirty years among gardens and lakes and teahouses and stages.
The Year Everything Broke
1644 was the year the Ming house came apart.
In the third month the rebel Li Zicheng entered Beijing. In the fourth, the general Wu Sangui opened the pass. In the fifth, Qing armies came through it.
When the news reached Jiangnan, Zhang Dai was forty eight.
The family fortunes went with the state.
In the preface to his memoir he described himself in those years: the state broken, the family broken, nowhere to go, hair loose, into the mountains, a wild man, frightened.
Frightened is his word.
He wrote something harder still. His old friends, seeing him, were like men seeing poison or a wild animal; they froze, and did not dare come near.
That is not a figure of speech. A gentleman of a fallen dynasty, suddenly a bareheaded man in the hills, was a problem nobody knew how to handle, and no one knew whether speaking to him would cost them.
Some of his friends took the other road. Qi Biaojia, when the Qing army reached Hangzhou in 1645, walked into the water.
Zhang Dai did not take that road.
He did not take that road.
He hid in the Shan region, and later deeper in the Siming mountains.
Before all this he had written two poems mourning himself in advance. He had thought about dying.
He did not, because a book was unfinished.
A Broken Bed and a Chipped Inkstone
He wrote down the mountain years as well.
What was left, he said, was a broken bed, a cracked table, a three legged cauldron with a leg gone, a lute that would not tune, a few bundles of damaged books, and one inkstone with a chip out of the corner.
Coarse cloth, plain food, and often nothing to cook.
He tried farming. Silkworms, fish ponds, pounding rice, carrying night soil. He did all of it and was bad at all of it. He said himself that these things were harder than reading.
Creditors came.
A man of about sixty who had never in his life worked out a sum now worked out every coin.
Readers later find the contrast almost unbearable. The contrast is his own doing. He set the two halves of his life side by side and explained neither.
A History Nobody Printed
The book was called the Stone Chest.
The name comes from the phrase stone chamber, metal chest, the place where the ancients stored what mattered. It is also a nod to Sima Qian, whose Records of the Grand Historian were described that way.
He was writing the history of the Ming.
He began in 1628, when he was just past thirty, and worked for sixteen years until the dynasty fell.
After that he carried a copy into the mountains and worked another ten.
In the preface he gave his reason in three phrases.
The official history falsifies. The family history flatters. The private history guesses.
Three sentences, and he had insulted all three kinds of historian at once. What he had seen, he said, was a single stretch of more than two hundred and eighty years turned into one great lie.
So he would write his own.
His standard is in the same preface. Every matter must be true. Every sentence must be exact. Five drafts, nine rounds of correction. Where something could not be checked, leave it out rather than fill it in.
That was the standard he set himself.
He stopped at the Tianqi reign. For the Chongzhen reign, his own, he wrote that he left it blank for later judgment.
That was polite. The meaning was plain. He had lived through those years and could not write them.
In 1679 the court opened the Ming History Office and invited a list of scholars. He was eighty three. He was not on the list.
A man with no office, no history bureau and no assistants, in the mountains, holding himself to that standard, wrote a history of the Ming in more than two hundred chapters.
He wrote it alone.

One Night on the Lake
The history was one project. Memory was the other.
In the twelfth month of 1632 he was living by West Lake.
It had snowed for three days. There was nobody on the water and no birds calling.
At nightfall he took a small boat, wrapped himself in fur, took a charcoal brazier, and went out alone to the pavilion in the middle of the lake to look at the snow.
He later made it into a piece of fewer than two hundred characters, and it is one of the most quoted essays in the language.
Rime and mist, he wrote, sky and cloud and hill and water, all one whiteness. The shadows on the lake were a single trace of the long dike, a single dot that was the pavilion, a single husk that was his boat, and two or three grains of men inside it.
One trace, one dot, one husk, two or three grains. Four measure words and the world is emptied out.
At the pavilion he found two men already there, sitting on a felt rug, with a boy heating wine over a stove that had just come to the boil.
They saw him and were delighted. Is there really another person on this lake, they said.
They pulled him in to drink. He forced down three large cups and took his leave. He asked their names. They were from Nanjing, staying nearby.
As he got back into the boat, the boatman muttered: do not say the gentleman is foolish. There are people more foolish than the gentleman.
The essay was written after the dynasty fell. It went into the memoir.
In the preface to that book he wrote: thinking back over my life, the splendour and the luxury passed before my eyes and were empty. Fifty years, altogether one dream.
He wrote a good many books. Apart from the Stone Chest there was a sequel to it, a collection of prose, a book on West Lake, another of notes, and an encyclopaedia called The Night Boat.
The Night Boat opens with a line that people have quoted for three centuries: of all the learning in the world, the hardest to handle is the learning on a night boat.
A night boat was a passenger vessel on the Jiangnan canals, running through the dark with a mixed cabin: scholars, traders, monks, men who lived on the road. Anyone could hold forth. Anyone could be caught out.
He compiled the book so that a passenger would have something to answer with.
The memoir is all small things.
Lanterns in Shaoxing, the gravesweeping crowds of Yangzhou at Qingming, the seventh month crowds on West Lake, the night play at Gold Mountain, how an old man made tea, how a storyteller opened his mouth.
Read one at a time, they are trifles. Read together, they are a place that no longer exists.
He was not writing out of nostalgia. He said plainly that if these things were not written down they would be gone.
The history was a record of a state. The memoir was a record of a way of living.
The first nobody would print. The second he probably never expected to see printed.
In 1665, at sixty nine, he wrote his own epitaph.
It begins with the sentence that has been quoted ever since. Zhang Dai of Shu, whose style name is Taoyan. In youth a spoiled son of a wealthy house, in love with splendour: fine houses, pretty maids, good clothes, good food, fast horses, bright lanterns, fireworks, opera, drums, old objects, flowers and birds. Beyond that, steeped in tea and stuffed with oranges, a worm in books and possessed by poems. Half a lifetime of labour, all of it a dream.
That is the first half of his life accounted for. The second half takes a few lines. At fifty, the state broken and the family broken, he hid in the hills.
He lived into his nineties. The year of his death is disputed: 1684 in one account, 1689 in another.
The Stone Chest was never printed while he lived.
Nobody would print it.
Copies were made by hand, and a few of those survive.
In his own century he was barely visible as a writer. The generation that put him forward as the finest of the late Ming essayists was working in the 1930s.
The pavilion at West Lake is still there.
Visitors take a boat out to the island and stand in it and take photographs.
Nobody thinks about a snowy night three hundred and ninety odd years ago, when a man rowed out here, met two other people who could not sleep either, and drank three cups.
Those three cups were what he remembered, later, at a broken table, beside a chipped inkstone, one passage at a time.
Something like this happened once in Europe. After Constantinople fell in 1453, Greek scholars carried manuscripts west and had them copied again in the scriptoria of Italy. What they carried was paper. What they kept alive was the voice of a state that no longer existed.
Zhang Dai carried memory. He had no ship and nowhere to go, so he put it on paper and packed it into a book that nobody would print.