Pinyin support for Chinese (Mandarin) subtitles?

The ‘separate issue’ I mentioned in the comment above about the layout / formatting of the pinyin in chunks is now documented here in excruciating detail (and a tl;dr at the start):