Is there currently a way to get Emacs muse-mode to output rtf,odt or doc format?

StackOverflow https://stackoverflow.com/questions/7261315

  •  17-01-2021
  •  | 
  •  

Вопрос

Muse is a special mode in emacs that can be used as a wiki. It has multiple output formats like static HTML pages, LaTeX, PDF etc.

But sometimes I need to output something that less tech-savvy people can edit/correct and send back to me.

I think either RTF, ODT or DOC would do the trick.

My problem is that muse only supports HTML, LaTeX, TexInfo and XML out of the box.

Implementing an own output format is currently not an option as I cannot program in elisp and learning it would take too much time.

I searched for a way to convert to or use markdown as pandoc can convert to RTF. But I found only the following discussion that does not solve my problem.

My last resort would be to convert to HTML and then to RTF, ODT or DOC but AFAIK the results are far from great.

It would appreciate a solution that can be automated (with custom scripts).

Это было полезно?

Решение

I think, that importing of HTML into MS Word (or compatible processor) should work. As I remember, OpenOffice had some scripting support, so you can launch it, and perform some commands inside it.

Another way - writing RTF export backend, it shouldn't be too complicated, although it could be too much details to be taken into account. If you'll go this way, please write to muse mailing list, and I'll try to help you

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top