PDA

View Full Version : Terminal application similar to OO.



dragos240
October 13th, 2009, 12:28 PM
Does anyone have an application that acts like openoffice, you know, can open .doc, can open other formats. Of course, I could learn XML and stuff, but.... are there any word processors for the humble terminal?

dominiquec
October 13th, 2009, 12:30 PM
For word processing on the command line, I normally go with joe or pico / nano.

Since DOC formats have plenty of WYSIWYG markup, I'm not sure how well they translate in the terminal.

anaconda
October 13th, 2009, 12:45 PM
I think there is a terminal program, that can convert a .doc file to .txt file.

Then that .txt file could be edited with any text editor.

But you would lose all formatting.

K.Mandla
October 13th, 2009, 01:20 PM
You have a couple of options. The best is probably Wordgrinder.

http://wordgrinder.sourceforge.net

Wordgrinder behaves like a word processor and is a great tool for writing. There's a package in the repos.

I don't think it necessarily will convert from .doc files, but antiword will translate to txt, which Wordgrinder can handle.

You can also arrange both emacs and vim to do word wrapping, which in my book makes them almost as good as word processors.

http://kmandla.wordpress.com/2009/07/27/proper-word-wrapping-in-vim
http://kmandla.wordpress.com/2009/02/17/still-looking-for/

Depending on which you prefer, you can set either up to at least perform in a fashion similar to a word processor. By the way, I use vim with the wrapping settings for blogging through Charm.

matthew.ball
October 13th, 2009, 01:40 PM
Could always look into LaTeX + Emacs.

Xbehave
October 13th, 2009, 02:12 PM
WHY? a word processor is a graphical application, you make text look nice in a word processor, how can you do that without knowing what it actually looks like?

You may be able to get something, but if your serious about producing well formatted documents form the command line, then its probably worth it to learn latex and just use a text editor + latex. Then convert it to other formats using the relevant tools.

koleoptero
October 13th, 2009, 02:48 PM
You have a couple of options. The best is probably Wordgrinder.

http://wordgrinder.sourceforge.net

Wordgrinder behaves like a word processor and is a great tool for writing. There's a package in the repos.

I don't think it necessarily will convert from .doc files, but antiword will translate to txt, which Wordgrinder can handle.

You can also arrange both emacs and vim to do word wrapping, which in my book makes them almost as good as word processors.

http://kmandla.wordpress.com/2009/07/27/proper-word-wrapping-in-vim
http://kmandla.wordpress.com/2009/02/17/still-looking-for/

Depending on which you prefer, you can set either up to at least perform in a fashion similar to a word processor. By the way, I use vim with the wrapping settings for blogging through Charm.

You are a living encyclopedia for terminal apps! That wordgrinder looks very interesting. Thank you! :KS

p_quarles
October 13th, 2009, 03:11 PM
WHY? a word processor is a graphical application, you make text look nice in a word processor, how can you do that without knowing what it actually looks like?

You may be able to get something, but if your serious about producing well formatted documents form the command line, then its probably worth it to learn latex and just use a text editor + latex. Then convert it to other formats using the relevant tools.
Word processors started out as text-based applications, without WYSIWYG functionality. Both Wordstar and Wordperfect were very successful applications from a business standpoint, though obviously the market for software was much, much smaller then than it is now.

hessiess
October 13th, 2009, 03:19 PM
Use LaTeX, produces better looking typography anyway.

Xbehave
October 13th, 2009, 03:21 PM
Word processors started out as text-based applications, without WYSIWYG functionality. Both Wordstar and Wordperfect were very successful applications from a business standpoint, though obviously the market for software was much, much smaller then than it is now.
But that was what passed for word processing back then, does using them now offers a significant advantage over just using a text editor? or better yet using latex?

ynnhoj
October 13th, 2009, 03:33 PM
if you're up for learning a typesetting system, as others have mentioned LaTeX is nice. but if you're not interested in the big download, lout might be worth a try. it's easy to learn and has a good manual available, and much smaller than LaTeX. or you could use troff/groff.. they're probably on your system to begin with. (heirloom project's version of troff (or plan9's) would be a bit better though, i think.)

K.Mandla
October 15th, 2009, 01:58 PM
You are a living encyclopedia for terminal apps! That wordgrinder looks very interesting. Thank you! :KS
You're welcome. You might also be interested in ...

http://kmandla.wordpress.com/software#Terminal

There are quite a few other lists of console applications out there; keep your eyes open. :P

HNS-I
October 15th, 2009, 02:02 PM
You can use rtf2latex to convert a .doc and you can use pdflatex to convert latex to pdf. I don't know if you are willing to learn a new markup but from experience I can tell you that latex can be very helpfull and make you more productive. It's advisable to get a book about it though.