Skip to content

Commit

Permalink
fix: Remove combining acute accent when sending to TeX
Browse files Browse the repository at this point in the history
  • Loading branch information
bbloomf committed Sep 25, 2024
1 parent 2dcf4f7 commit 0ce1368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions propers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3171,6 +3171,7 @@ $(function(){
header['%height'] = size.height.toString();
}
gabc = header + processSolesmes(gabc.slice(header.original.length).
replace(/\u0301/g, ''). // combining character isn't working in TeX, so just get rid of it
replace(/\^/g,''). // get rid of exsurge specific ^
replace(/([^[\]()\s]\s+(?:[^[\]()\s<>]|<[^>]+>)+)([aeiouyæœáéíóýǽ]+)([^[\]()\s<>]*?\()/gi,'$1{$2}$3'). // mark vowel in certain cases
// replace(/(['_.])\d/g,"$1"). // version of Gregorio on sourceandsummit.com currently doesn't support digit after ' or _ or .
Expand Down

0 comments on commit 0ce1368

Please sign in to comment.