In the first month of 1103, in the capital at Kaifeng, the woodblocks for a new book went onto the presses.
It was not a classic, not a history, not a collection of poems.
It told you how thick a column should be, how much timber went into one bracket set, how much work a mason should do in a day, how much lime and how many bricks and how many man days went into a wall.
The court called it the Building Standards, and ordered it distributed to every province. From then on, when a government office or a temple or a city wall went up, this was the book it was measured against.
The man who wrote it was Li Jie, then a vice director of the Palace Building Service, the office that supervised construction for the throne.
A Book Nobody Could Use
It was not the first attempt.
In the 1070s the court had already ordered the building service to compile a set of standards. That project finished in 1091 and produced what came to be called the Yuanyou Standards.
It ran to two hundred and fifty volumes.
The trouble was what was in it. The verdict of the time was blunt: it is nothing but a bill of materials, with no system for scaling the timber to the rank of the building; and its allowances are so loose that there is no way to police them.
A bill of materials is a list of numbers. So much timber, so many bricks, so much lime, so many man days.
The numbers did not relate to each other. A three bay hall and a three bay palace used different amounts, but the book never said by what ratio or on what principle. Every site went on calculating for itself, and nobody above could check the result.
The conclusion was four characters: hard to put into practice.
A book that could not be issued sat in the storehouse.
In 1097 the order went out again.
This time the man was different.
The Man Who Ran the Works
Li Jie, whose courtesy name was Mingzhong, was from Guancheng in Zhengzhou, in what is now Xinzheng in Henan.
His father had risen to be minister of revenue. A son of that house could have taken a genteel career.
He went to building sites.
The Palace Building Service handled the rules, the assignments and the inspections for palaces, city walls, bridges and vehicles. It did not employ the craftsmen. It set the terms they worked under.
Li Jie entered it in 1092 and stayed thirteen years, rising from registrar to assistant director to vice director to director.
In that time he ran the Longde Palace, the Dihua mansion, the Zhuque Gate, the Jinglong Gate, the Jiucheng Hall, the Kaifeng prefectural office and the imperial ancestral temple.
Those were the most important buildings in the capital. Palaces, gates, halls, offices, ancestral shrines, one after another.
The Longde Palace had been the residence of the future Huizong emperor when he was a prince, and was converted into a palace. Work of that kind, from setting out the foundations to the last coat of paint, he saw through from end to end.
He was not a man who only stamped documents in an office. He had watched a foundation being dug, watched great timbers being raised, watched how many holes a man could chisel in a day and how many boards he could saw.
All of that went into the book.
In his preface he described his method. He went through the classical and technical literature, and then he had the craftsmen brought in one at a time and made them explain what they actually did.
He worked for three years. The book was finished in 1100 and presented to the throne.
In the first month of 1103 it was cut in wood and issued.
All From One Beam
The most important thing in the book is that it turns one piece of wood into a ruler.
In a Song timber frame, every dimension descends from a single cross section: the bearing block at the top of a bracket set, called cai.
The standards fix eight grades of cai, chosen by the size of the building.
Grade one is nine inches high and six thick, for the most magnificent halls. Grade eight is four and a half inches high and three thick, for halls, pavilions and small rooms.
Once the grade is chosen, every other member is derived from that section.
The height is divided into fifteen parts, each called a fen. The thickness is ten fen. The gap between the two tiers of a bracket set is six fen tall and is called a qi.
After that nobody writes a dimension in inches. They write how many cai and how many fen.
The thickness of a column, the width of a bay, the taper of a pagoda, all hang off that one cross section.
One ruler.
The advantage is proportion. Buildings of different rank can be compared, because a palace and a hall are the same set of ratios at different scales.
The disadvantage is that if the grade is wrong, the whole building is wrong.
So the book also tells you how to choose the grade, by number of bays, by rank, by use, item by item.
The roof curve comes out of the same system. The book calls it raising and breaking: first fix how much higher the ridge is than the eaves, then step the line down at each purlin, by amounts that shrink as you go.
An arc becomes a string of numbers that can be calculated.
A craftsman who follows the numbers builds the Song roof: shallow pitch, lifted eaves, and from a distance a shape like a drawn bow.

What a Day of Work Is Worth
The book is also an account book.
Thirty four chapters of text, plus one of general notes and one of contents: thirty six in all, three hundred and fifty seven sections, three thousand five hundred and fifty five articles.
The first two chapters settle terminology: what a lintel is called, what a purlin is called, what the old books called them, which word this book will use.
Chapters three to fifteen are the systems, divided by thirteen trades: earthworks and fencing, stonework, great carpentry, small carpentry, carving, turning, sawing, bamboo work, tiling, plastering, painting, brickwork and kiln work.
Thirteen trades, a hundred and seventy six kinds of job.
Great and small carpentry take eight chapters and are the centre of the book.
The other eleven trades have their entries too. Stonework covers plinths, steps and balustrades: how many passes of the chisel on one corner block, how one rail is jointed to the next. Tiling covers the sizes of pan and barrel tiles and how they are laid. Kiln work covers firing, and how to tell when the batch is done.
Painting has the longest list of names: full five colour work, ground jade work, blue green banded work, green relief work, red lead wash. What colour a building may use and what pattern it may carry are fixed by rank, and going above your rank is not allowed.
Even the colours have a quota.
Chapters sixteen to twenty five are labour: for each trade and each operation, how much work counts as a day.
Here the book also grades the day itself: long work, middle work, short work. The same craftsman has a different daily quota in a different season and on a different job.
The book calculates even that.
Song craftsmen were ranked as well. The master who could draw and estimate stood at the top of a site; under him the foremen who ran a gang; then craftsmen graded by skill; and at the bottom the men who carried and dug.
To write down what each man should do in a day, you first have to say who each man is.
Chapters twenty six to twenty eight are materials: how much of each thing an operation consumes, and what standard of finish it must reach.
Chapters twenty nine to thirty four are drawings, more than five hundred and sixty of them. Measuring tools. Stone, great timber and small timber details. Carving and painting patterns. Plans and sections of halls and palaces.
The drawings are in the last six chapters.
A Song technical manual that puts its drawings in the final six chapters, nearly a fifth of the book, was unusual. Chinese technical writing had always been wordy and short on pictures: craftsmen read drawings, scholars read prose, and the two were seldom in the same volume.
This one put them in the same volume.
The Book Outlived the Dynasty
The Northern Song lasted another twenty four years after the book came out.
In 1127 Kaifeng fell. The palaces burned. The woodblocks were scattered.
The Southern Song reprinted it once, in the 1140s. Almost nothing of the original Song printing survives now: single leaves, fragments of chapters.
Through the Ming and the Qing the book travelled as manuscript copies. The men who copied it did not always understand construction. One wrong character and a dimension is ruined.
The Ming encyclopaedia of the Yongle reign included it, and what survived of that was one chapter. The Qing imperial library recovered the text from what was left of the encyclopaedia.
One dynasty compiled it. The next burned half of it. The one after that pieced it back together from the remains.
By the Qing the official rule had changed anyway. In 1734 the Board of Works issued its own Construction Methods, which took the width of a bracket mortise as the module instead of the cai. The old system was retired.
After that the Building Standards read less like a code and more like an antique.
The turn came in the Republic.
In 1925 the collector Tao Xiang collated six manuscript copies, cut a facsimile in the Song style, and issued it. That edition, known by his name, made the book readable again.
From the 1930s Liang Sicheng began to study it systematically. He started with the buildings themselves: the Dule Monastery in Jixian, the Foguang Monastery on Mount Wutai, both Tang and Liao and Song timber frames with their bracket sets still in place.
He and his students measured them, and matched the cai and the qi and the fen in the text to the actual members in the roof.
That work went on for decades, on and off. His commentary came out after his death. The first volume appeared in 1983, eight hundred and eighty years after the book was finished.
Li Jie has no biography in the History of Song.
Not one line.
The local gazetteers of Zhengzhou, Ming and Qing, have none either.
Three books, and none of them has him.
What survives is a handful of facts. The year of his birth is unknown, given variously as 1035. He died in 1110. He ran the Palace Building Service. He built several major works. He painted, and the emperor Huizong, who knew about painting, thought well of it.
He wrote other books: a sequel to the Classic of Mountains and Seas, a treatise on the pipa, a book on horses, a book on the game of liubo, a study of ancient seal script. None of them survived.
A man who could paint, who understood music, who wrote a dictionary of ancient characters, is remembered for an account book of labour and materials.
His tomb is west of Yuzhai village in Longhu, Xinzheng. The mound was three metres high and forty around. It was levelled in the 1960s. In 2006 the site was listed as a national protected monument.
Anyone working on Song architecture today has the book on the desk.
Working craftsmen do not read it. They read the measuring rod in their hands, and the verses their teachers taught them.
Two systems ran side by side for a thousand years: one on paper, one in the hands. The paper one survived. The one in the hands went with the men.
When the men go, the verses go.
There is a line in the book about laying a wall: bricks must break joint, mortar must fill the bed, and every course must pause long enough for the lime to take up.
Eight hundred years ago an official in charge of building sites put that sentence into a national standard.
In the same century, on the other side of Asia, the Venetians began building their arsenal in 1104. In time that yard would break shipbuilding into a sequence of stages, with the hull moving down a canal and coming out the other end finished.
Two states, a continent apart, arrived at the same idea: take the skill that lives in the hands of a craftsman, put it on paper, and make it something you can check and cost.
What is on paper outlasts the people.
The grave of Li Jie was levelled. His book is still here.