TEIC / Stylesheets

TEI XSL Stylesheets
228 stars 124 forks source link

From TEI to .odt, paragraphs break at index, term elements #603

Open Dominique-M opened 1 year ago

Dominique-M commented 1 year ago

The conversion ignores the content of index,term elements inside a p element, but there is no reason to break the content of the p at that point. The index,term elements should simply be ignored (not only their content).

peterstadler commented 1 year ago

I'm able to reproduce the issue with the following TEI document:

<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>Title</title>
         </titleStmt>
         <publicationStmt>
            <p>Publication Information</p>
         </publicationStmt>
         <sourceDesc>
            <p>Information about the source</p>
         </sourceDesc>
      </fileDesc>
  </teiHeader>
  <text>
      <body>
         <p>Some text here with an <index><term>index term</term></index> that seems to break the paragraph.</p>
      </body>
  </text>
</TEI>

The result looks like:

Bildschirmfoto 2023-04-11 um 09 44 27

NB, I did not use OxGarage for this but checked with TEI Stylesheets bin/teitoodt. So, this is not an issue introduced by TEIGarage but rather a bug in the underlying stylesheets. I will move the issue there.