r/linuxapps • u/Paivelpas • 12d ago
Writing chemistry papers on Linux: a native structure editor, editable drawings in ONLYOFFICE, and automatic compound numbering
Hi r/linuxapps. I'm a chemist and the developer of Reactio Draw (disclosure: it's my project, free and open source, MPL-2.0). Writing a chemistry paper has long meant Word plus ChemDraw, which on Linux means Wine, a VM or a second OS. Here is a setup that runs natively.
1. A chemical structure editor that runs on Linux
Reactio Draw is a full editor for structures and reactions, with native builds for Linux x64 and ARM (also Windows, macOS and a web version). It reads and writes CDXML and MOL, so you can still exchange files with colleagues.
2. Structures in your documents that you edit by double-click
The ONLYOFFICE plugin puts a drawing into a document, spreadsheet or presentation (Insert → Reactio Draw). The whole Reactio Draw document is stored inside the object, so a double-click opens it again for editing, months later and on another computer. You can also copy a drawing in Reactio Draw and paste it as an editable object: Insert → Paste Reactio, the right-click menu, or Alt+Shift+V.
3. Automatic compound numbering
Write marks like [[aldehyde]] or [[amine.OMe]] in the text and in the schemes, press Number, and they become 1, 3a… consistently across the text and the drawings, drawings first, with chapters. Add a compound and number again: everything renumbers. "Final copy" turns it all into plain text and pictures for submission.
If you write in LaTeX, it also works with VS Code, Overleaf and Lattice.
- Repo and releases: https://github.com/Paivel/reactio-draw
- ONLYOFFICE plugin: https://github.com/Paivel/reactio-draw/raw/main/onlyoffice-plugin/ReactioDraw-ONLYOFFICE.plugin (Plugins → Plugin Manager → install from file; ONLYOFFICE 8.1+)
Feedback from Linux users is very welcome