Re: Turning text into doc or rtf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On February  3, 2016, John J. Boyer wrote:
> I have a need to submit text documents created with nano in doc or
> rtf format. Is there a utility that will do this? Of course I can
> always format documents in html. Is there a utility that will
> convert html to doc or rtf?

Check out pandoc, the Swiss-army knife of document conversion:

  $ pandoc -o output.docx input.html
  $ pandoc -o output.rtf input.html

It takes multiple input formats as well, so if you're not like me (I
prefer to write raw HTML) and you prefer to write in Markdown or some
other markup syntax, you can check those out as well:

  $ pandoc -o output.docx -f markdown input.txt

The whole list of known formats are in the man-page under the "-f"
option.

It should be readily available in most repos.

-tim



_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]