Spine generation for OPF file.