Ancient palm-leaf manuscripts from South and Southeast Asia are being studied with X-rays and machine learning. Researchers can now detect hidden signs of how the leaves were prepared centuries ago.