faustedition / faust-gen-html

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

Ignore seg #494

Closed gerritbruening closed 6 years ago

gerritbruening commented 6 years ago

@pglatza, in faust.xml there are seg elements that undermine your rules, for example

                        <speaker n="before_2195i_b"><seg type="lem"
                                xml:id="seg.before_2195i_b.altmayer">Altmayer</seg><note

has the effect that "Altmayer" receives No character style instead of Figur. To avoid this you may just drop seg in a preprocessing step (but keep the content, of course).

Examples:

pglatza commented 6 years ago

That`s true! Now dissolved earlier. Fortunately, there are is another positive change:

Before:

            <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/Bibelstelle">
               <Content>(St. Joh. </Content>
            </CharacterStyleRange>
            <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/$ID/[No character style]">
               <Content>IV.)</Content>
            </CharacterStyleRange>

After:

            <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/Bibelstelle">
               <Content>(St. Joh. IV.)</Content>
            </CharacterStyleRange>

Planning to update the online converter soon.

gerritbruening commented 6 years ago

Great, thanks!