faustedition / faust-gen-html

Pipelines to generate HTML for the Faust edition's reading texts and prints.
1 stars 4 forks source link

dots before lb type="semantic" #605

Closed gerritbruening closed 5 years ago

gerritbruening commented 5 years ago

(sigh)

                     <stage n="before_10067_a"><hi>Ein Sieben-Meilenſtiefel</hi>
                        (tappt auf)<lb type="semantic"/>ein <hi>Anderer</hi> folgt
                           alsbald.<lb type="semantic"/><hi>Mephiſtopheles</hi>
                        (ſteigt ab)<lb type="semantic"/>Die <hi>Stiefel</hi> ſchreiten
                        eilig weiter.</stage>

These dots are kept in the text, but I'm not sure why. I am just changing the stage type to long. The dots shouldn't be kept, and this is part of #344.

thvitt commented 5 years ago

dots are kept because there never was a spec to drop them (cf. #204, text-cleanup.xsl).

So the rule is if there is a period immediately followed by <lb type='semantic'/>, it should be dropped (including all preceding whitespace)? Regardless of parent element, or only in head|stage?