I am mostly using latex with text editor for writing articles, however there are some journals that require manuscript to be written in .docx format. A good conversion from .pdf to .docx is possible but many rendering are getting the lost in the process and the layout is often really messed up. The best solution was with adobe for which you need a subscription and the result is still not perfect. Therefore I was wondering if it is possible to write/prepare a document in a text editor for libreoffice or any other open source similar solution (in a .dot format or any other similar format), and then convert it from there in .docx.
Many thanks in advance
Edit
Ok so thank to the answer of @ArrayBolt3 I installed rstdoc and could convert an .rtf file into a .doc file with the command:
rstdoc ex1.rst > ex2.doc
However a similar command with .docx did not work
rstdoc ex1.rst > ex2.docx