added tags for chapter links (todo: for sections)
separate book functions and msim ones