For music, GOOD typesetting is mostly manual. However, most typesetting nowadays is mechanical.
Just look at lilypond, and in particular their "essay on music" whatever it's called. Mechanical typesetting can *easily* create music that is very hard to play.