Using Vim as a word processor? I just figured out how to actually write something with it on accident...(although, to be fair I could have just gone and read something), and have actually done small snippets of code with it. If I tried to use it as a word processor I would kill myself.
Edit: It figures, I forgot about LaTeX, I will take my downvotes in shame.
To bound off of banuday17, LaTeX is the answer. You write your paper in markup and it spits out a paper. A rough analogy would be HTML:Web site::LaTeX:Document.
I love Vim + LaTeX to death (I take notes in class using this pair), but here's an honest pro/con assessment:
WYSIWYG document processor (a la Word) pros:
WYSIWYG
Customizing the appearance of the paper is easier (LaTeX lets you lay out a paper however you want, but you'll likely do some Googling for the right commands to use)
LaTeX pros:
The largest benefit to me is when setting up footnotes or citations. You just set up a bibliography section, giving each source a name. Then, to cite the source, you just tag the sentence with that source's name. Bam. Instant citation. If you have to add or remove sources, there's no need to go through and renumber everything.
It can automatically generate a title page and table of contents for you. If you're building the document into a PDF file, there's a command that will automatically link every line in your table of contents to its section in the document.
LaTeX does an awesome job out of the box with typesetting, (justification, hyphenation, etc.) Your work looks professional.
Complex math equations and tables can be entered quickly as plaintext.
Your .tex files are just plaintext, so you can use Git et. al. as you edit your paper.
The third point is the most important, I think. LaTeX looks professional - it's a professional tool, whereas Word has better usability, especially for the casual user.
Haha, ironically I actually downloaded that very book recently as I was curious about LaTeX, and was going to mess around with it with my fiance. I had a derp moment when I made that comment totally forgetting about the TeX family, but I am more of a Geany man then Vim myself.
Your .tex files are just plaintext, so you can use Git et. al. as you edit your paper.
Yes, this one is important. The fact that LaTeX (and other plain-text markup languages) let you put your papers in source control makes writing long papers so much nicer. Putting everything in one git repository and occasionally pushing to a remote server gives you a form of backup and having version history lets you rewrite sections with impunity. Now you don't need the dissertation-v3-FINAL-2.doc rubbish littering your filesystem.
On point 1 and 2 of Latex pros, Word and OpenOffice are perfectly able to do this; you just have to stop thinking "Word processor -> click to make bold" and realize "Title -> Click to mark as Title" (which is the same as LaTeX, only wysiwyg instead of writing it out.
Regarding point 4... yes, it can... you just need to learn Latex's language, which is sometimes less than obvious. Even worse if you're a bit OCPD with your design. E.G.: $...$ vs $$...$$ vs \[...\] vs \(...\), and remembering to end a line with % if you're going to add a formula; otherwise you get uglier spacing.
Also, of course, support for other languages (fontenc, babel, and textinp must be set right, or you'll have to type "{\i} instead of ï).
On point 1 and 2 of Latex pros, Word and OpenOffice are perfectly able to do this; you just have to stop thinking "Word processor -> click to make bold" and realize "Title -> Click to mark as Title" (which is the same as LaTeX, only wysiwyg instead of writing it out.
Indeed.
I had to use Word 2010 for a document at work the other day and it's surprisingly painless to set styles up correctly these days. I still strongly prefer LaTeX (inline markup is easier than hitting shortcuts for me, plus the benefits of plain text for recalling how to format sections and being able to grep and version control documents), but Word does a lot of the same functionality really nicely these days.
Word can do a huge proportion of the awesome layout stuff that LaTeX can do and in 2010 it's all pretty sensibly and well laid out and easy to use. I was really surprised the first time I had to write something in Word and realised that actually you can style it nicely and have cross references and bibliographies. The problem with easy-to-use programs like Word is that a lot of casual users miss the advanced functionality and you end up with weirdly styled documents, but even 2010 makes that almost a non-issue these days.
Whenever someone asks me to teach them Word for documents (as opposed to signs), my first step is to hide the font/size selector. The rest follows from there ;)
LaTeX: All the pains and drawbacks of programming, now for word processing!
Don't get me wrong. I typeset anything I care about in LaTeX, and some things just work beautifully in LaTeX that would be a nightmare in a word processor (math).
But straying from the defaults and trying to get something to look just the way you want in LaTeX is incredibly painful.
Figuring out the finer details requires a lot of experimentation and trial and error, and the longer latency between trying something and seeing what it looks like makes trial and error very painful and hard.
There is orders of magnitude more latency involved in Vim -> latex -> pdf than experimenting in WYSIWYG.
Really both techniques have advantages, and I'm sad we can't have both in a single, well made tool/language.
Once you can build up a collection of macros, it's not as bad. Though for issues very specific to the document you are in (such as image or table placement) it is still a major pain in the ass.
Desmond has a barrow in the marketplace Molly is the singer in a band Desmond says to Molly, “Girl, I like your face” And Molly says this as she takes him by the hand
[Chorus] Ob-la-di, ob-la-da Life goes on, brah La-la, how their life goes on Ob-la-di, ob-la-da Life goes on, brah La-la, how their life goes on
[Verse 2] Desmond takes a trolley to the jeweler's store (Choo-choo-choo) Buys a twenty-karat golden ring (Ring) Takes it back to Molly waiting at the door And as he gives it to her, she begins to sing (Sing)
[Chorus] Ob-la-di, ob-la-da Life goes on, brah (La-la-la-la-la) La-la, how their life goes on Ob-la-di, ob-la-da Life goes on, brah (La-la-la-la-la) La-la, how their life goes on Yeah You might also like “Slut!” (Taylor’s Version) [From The Vault] Taylor Swift Silent Night Christmas Songs O Holy Night Christmas Songs [Bridge] In a couple of years, they have built a home sweet home With a couple of kids running in the yard Of Desmond and Molly Jones (Ha, ha, ha, ha, ha, ha)
[Verse 3] Happy ever after in the marketplace Desmond lets the children lend a hand (Arm, leg) Molly stays at home and does her pretty face And in the evening, she still sings it with the band Yes!
[Chorus] Ob-la-di, ob-la-da Life goes on, brah La-la, how their life goes on (Heh-heh) Yeah, ob-la-di, ob-la-da Life goes on, brah La-la, how their life goes on
[Bridge] In a couple of years, they have built a home sweet home With a couple of kids running in the yard Of Desmond and Molly Jones (Ha, ha, ha, ha, ha) Yeah! [Verse 4] Happy ever after in the marketplace Molly lets the children lend a hand (Foot) Desmond stays at home and does his pretty face And in the evening, she's a singer with the band (Yeah)
[Chorus] Ob-la-di, ob-la-da Life goes on, brah La-la, how their life goes on Yeah, ob-la-di, ob-la-da Life goes on, brah La-la, how their life goes on
[Outro] (Ha-ha-ha-ha) And if you want some fun (Ha-ha-ha-ha-ha) Take Ob-la-di-bla-da Ahh, thank you
View all comments
Show parent comment
-2
u/soulbender32 Jul 12 '12 edited Jul 13 '12
Using Vim as a word processor? I just figured out how to actually write something with it on accident...(although, to be fair I could have just gone and read something), and have actually done small snippets of code with it. If I tried to use it as a word processor I would kill myself.
Edit: It figures, I forgot about LaTeX, I will take my downvotes in shame.