On occasion, this author has needed a way to take a syllabified text and remove the spaces between the syllables, so as to preserve the position of the words on every line. This kind of presentation is useful when a student needs as few changes as possible to the text layout as they transition from reading a syllabified text to the ultimate goal of reading from the Torah scroll. After running this macro and preserving its output, one can then use the built-in DavkaWriter "remove-trop" command to remove all the ta'am marks.
The next presentation the student could transition to would be rendered by running the DavkaWriter command "remove-vowels" to remove all the vowels, while still preserving the position of words on every line of the text. Only after this type of novice Hebrew reader successfully reads without vowels can the font be changed to Davka Stam, which is the closest font to a Torah scroll hand-drawn script.
Finally, the word positioning can be tightened up and the font size reduced slightly to mimic the Torah scroll presentation. Usually, the novice reader knows how to chant the text so well after all these extra steps and the accompanying extra repetition of vocalizing the text, these last few text transitions go quickly.
The macro algorithm: