cstkingkey / docx-rs

A Rust library for parsing and generating docx files.
MIT License
12 stars 12 forks source link

Added pandoc's golden docx examples -> required some fixes #8

Closed erikvullings closed 6 months ago

erikvullings commented 6 months ago

I've encountered some error while using docx-rs when parsing files. Therefore, I have included the Python-based pandoc document parser and converter's docx examples, and encountered and fixed some errors. I hope you can integrate them and publish a new release.

Also, as I am new to Rust, please have a look at the WebSettings hack: I encountered ns0:... namespaces instead of the default w:... ones, and I used a search and replace to replace them in docx.rs. Rather ugly, but it works.