bell notificationshomepageloginNewPostedit profile

Topic : Re: From Markdown to .odt and vice-versa: a possible distraction-free writing workflow? I'm writing a master thesis (Sociology) and I'm really penalized by distractions. I would happily shift to a - selfpublishingguru.com

10% popularity

Your first option is, really, Pandoc, which was already mentioned. Its usage is quite straightforward. I've done some converting along these lines myself, and it's brilliant. It's included in Debian repositories, so I'd think acquiring an installation wouldn't be a problem.

You indeed want to convert to HTML first:

pandoc OdtFile.odt -o HtmlFile.html

and then proceed to create markdown file the same way:

pandoc HtmlFile.html -o MarkDown.text

and yes, you could go back from markdown to odt the same way. You also could enforce your own style set by mentioning style template odt file, the README will tell you, how.

Another option is to forego markdown for some kind of TeX solution (to which format you also could convert your already written text with Pandoc), the advantages being the abilities to insert images, tables and math equations in text, though, I'm afraid, that will close the way back to odt.


Load Full (0)

Login to follow topic

More posts by @Angie602

0 Comments

Sorted by latest first Latest Oldest Best

Back to top