faustedition / faust-gen-html

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

CharacterStyle/Figur and CharacterStyle/Auftritt not rendered in ID sometimes #532

Closed gerritbruening closed 6 years ago

gerritbruening commented 6 years ago

@pglatza, as @markusciupke reports, some passages where not assigned the expected format in ID.

I have checked the IDML, and there I see the following, which seems perfectly correct:

         <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/Figur">
            <Content>Das Volk</Content>
         </CharacterStyleRange>

and

         <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/Auftritt">
            <Content>Pudel</Content>
         </CharacterStyleRange>

I would like to avoid that similar problems appear in Faust II. Can you explain this phaenomenon?

pglatza commented 6 years ago

With revision 79 (upload converter is productive) there are many positive changes for milestone:msfaustii.

The reason and solution was, that a lot of whitespace cleanups were necessary (I should have done that for a long time) as another preprocessing step before synthesizing IDML.

gerritbruening commented 6 years ago

I see many change, to many for me to comprehend. Thanks, anyway. I would still be interested to know why the elements mentioned above did not appear as expected in ID, although they seemed to be correct even before this last change.

pglatza commented 6 years ago

Unfortunately, I think it was just my fault. It is because I did not read your given and updated mapping instructions (idml.md) for Figur and Auftritt carefully.