Decide on a uniform way to do em dashes and en dashes in the rmarkdown files for each chapter. Search and replace.