Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conversion of track change markup to docx2tei #677

Open
GVogeler opened this issue Mar 31, 2024 · 2 comments
Open

Add conversion of track change markup to docx2tei #677

GVogeler opened this issue Mar 31, 2024 · 2 comments
Assignees

Comments

@GVogeler
Copy link

docx2tei currently seems to neglect the w:del and w:ins annotations in the docx XML (and exporting the content of both as a simple sequence). Converting them into tei:del and tei:add could be beneficial. Covering full range of track change (comments, transpositions, responsibilities for the deletings and additions from @w:author @w:date etc.) seems to be a larger set of work.

@GVogeler
Copy link
Author

GVogeler commented Apr 1, 2024

https://github.com/TEIC/Stylesheets/blob/released/docx/from/textruns.xsl#L870-L916 should handle this. I cannot find where the in the stylesheets stack the parameter processChangeInformation (defined in https://github.com/TEIC/Stylesheets/blob/released/docx/from/docxtotei.xsl#L54 ) is set to further debug. @sydb ?

@hcayless
Copy link
Member

hcayless commented Apr 1, 2024

It's not clear to me whether you can pass in XSLT parameters via the transformtei / Ant build-from.xml (looks superficially like the answer is no), so you might have to invoke the XSLT directly (assuming an unpacked docx file), modify the Ant build to pass in the parameter, or change the default value to 'true'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants