TEIC / Stylesheets

TEI XSL Stylesheets
231 stars 124 forks source link

Conversion of ODT to TEI-XML loses format attributes #574

Open JulMartin opened 2 years ago

JulMartin commented 2 years ago

While the conversion of docx documents to TEI transports format information via attributes of the corresponding elements, conversions of odt documents don't include format information on sign-level: e.g. bold, italic

peterstadler commented 1 year ago

moved here from OxGarage since this seems to be a genuin Stylesheets issue

sydb commented 1 year ago

@JEibinger — I ran a tiny test, and the fact that some text was italic and some was bold did make it from my ODT to the TEI. Can you be more precise about exactly what is not working for you?

I am using LibreOffice 7.3.6.2 and converting with the bin/odttotei that is in the dev branch of this repo.

I have attached a ZIP file containing a tiny little LibreOffice ODT file, the corresponding DOCX file that LibreOffice generates with “Save As…”, and the output of bin/odttotei on the former and bin/docxtotei on the latter.