Editing and rendering text and music notation for online edition of music treatises