bennyboer / thaw

Hierarchical organizable and versionable document tool with export to PDF
MIT License
4 stars 1 forks source link

Check using Rust instead of Java #65

Open bennyboer opened 3 years ago

bennyboer commented 3 years ago

I want to check Rust to use instead of Java since it seems like there are already a lot things available we currently do by ourselves (math typesetting, CSL, ...). Only PDF writing might not work as well, but we need to check it.

Additionally there are libraries available that support OpenType fonts.

bennyboer commented 3 years ago

Math typesetting: https://github.com/ReTeX/ReX (MIT License available)

bennyboer commented 3 years ago

Syntax highlighting (python no more needed!): https://crates.io/crates/syntect (MIT License)

bennyboer commented 3 years ago

Citation support (CSL): https://github.com/cormacrelf/citeproc-rs (MPL 2.0 License -> should be ok)

bennyboer commented 3 years ago

PDF writing:

bennyboer commented 3 years ago

Knuth-Plass Line Breaking Algorithm: https://crates.io/crates/paragraph-breaker (MIT License)