5 ms·
I had a few things about TeX versus LaTeX. I think the reality is nobody really tries writing TeX. But, ultimately my beef is the straw man that markup is bad
by taeric 9y ago
I had a few things about TeX versus LaTeX. I think the reality is nobody really tries writing TeX.
But, ultimately my beef is the straw man that markup is bad because it is harder to read. That a graphical editor is superior because it is more readable. Instead, the advantage is that in the one you are only writing text and you are indicating special instructions to the computer. In the other, you only see what the computer is letting you see. Note that in both cases, all of those special instructions are still there. You just can't necessarily see them.
And this might sound like not a big deal. But the first time you find yourself unable to change the bold of one section of text (or centering/whatever), you will really wish you could just drop into a view that showed you why it was doing what it was doing. Which is ultimately just a markup language.
And heaven help you if you decide to upgrade word processor mid paper. Or go back and try to touch up a previous one. Markup wins because it is just plain text. And plain text wins because it is ubiquitous.
- x0x0 9y agoThe other huge advantage that you almost touched on is tex files are text, so you can source control them. This is particularly important if different people are working on different chunks of a document. You can kind of hack around this in word, but it's a giant pita.
- obastani 9y agoWord has its own version control built in, which works pretty well. You can see all revisions, and step through and accept/reject. You can also do diff of two documents.
- taeric 9y agoThis is definitely good for papers that are "one and done." Just don't upgrade during. And try to have a set of coworkers are using the same version and is.
- deleted 9y ago[deleted]
- x0x0 9y agoFor 2 people, maybe; but even then you're doing the equivalent of emailing your entire repo (in a doc) back and forth. Which is how you end up with report.latest.2017_0713.new.with_additions.current.adamssversion.ready.lastchange.docx being emailed... And if you have 3 people collaborating, sooner or later someone makes edits to something besides HEAD and then there's a giant mess to sort out.
- taeric 9y agoEven better, you can script parts. Yes, the text nature was what I was highlighting. I didn't want to overstate it. In particular, for short papers within a term, the sharing feature of word is decent enough. I confess I prefer text source control, but I know most of my peers in school did not.
- dingo_bat 9y agoThere are git review tools that are able to diff docx.
- yorwba 9y agoHow do those work with the rest of the git machinery? Does git add -p work? How are merge conflicts handled? What about git blame? It seems to me that that everything about git is based on text files that are changed by adding and removing lines, but if there is a way to replace that behavior to handle non-textual file formats, I'd be very interesting in learning about it.
- dingo_bat 9y agoUnfortunately, this particular review tool was an internal utility at my previous employer. The only thing it could do was highlight changes in word documents. You could compare patch sets. That's all. And it was a review tool. Git itself still treated docx files more or less like binaries. The advantage was we could use word documents instead of markdown files, usually people would embed visio diagrams inside design docs etc.
- obastani 9y agoOn the flip side, sometimes simple formatting in Latex can be a nightmare, for example, getting your table columns spaced correctly.
- taeric 9y agoTables amuse me. I honestly think they are easier in raw TeX. Though, they are a pain in all languages, sometimes. Word, TeX, HTML, I don't think anyone has ever succeeded at the perfect table.
- Turing_Machine 9y agoYes, tables appear to be a Hard Problem. Conceptually, there's not much to them -- a grid with one item in each grid square. How hard could it be? Yet somehow, coming up with a system that produces nice-looking tables while using syntax that doesn't make you gouge your eyes out seems to be very difficult.
- jeanchen 9y agoYup, many times I have needed to blast misbehaving text with "Clear Formatting" or delete it entirely and recreate it.
- bdamm 9y agoPaste into text-only is a sad and modern requirement.
- Derbasti 9y agoAlso, he implies that LaTeX documents are always typeset in Computer Modern and the plain article template (which is ugly!). XeTeX can use all the same TTF/OTF fonts Word uses. Oh, and let's not forget that Word's math renderer is gross.
- eesmith 9y agoHe does not imply they are "always typeset in Computer Modern". The relevant quote is "everything is (typically) printed in this weird, old-fashioned-looking typeface called Computer Modern." The "(typically)" implies that there are cases where the result is not in Computer Modern. On the same topic, "if you want to do anything really wild and crazy – like using a typeface other than Computer Modern – then plain vanilla TeX and LaTeX won’t do. ... And anything other than vanilla TeX and LaTeX is really, really difficult to install. So difficult that most people seem to give up on installing individual packages and instead install the whole of something called TeX Live." Again, that implies that not all LaTex documents are in Computer Modern. He mentions XeTeX in the following: "I only needed XeTeX and XeLaTeX, which are quite small. So I tried to install just those. While I did eventually manage it, it took a long time and was very frustrating – and what was most frustrating was that when I looked for help online, the advice I found basically amounted to ‘install TeX Live; everybody else does’.
- majewsky 9y ago> The relevant quote is "everything is (typically) printed in this weird, old-fashioned-looking typeface called Computer Modern." The "(typically)" implies that there are cases where the result is not in Computer Modern. In school, I was told that you should only put stuff in parentheses that is not strictly required to understand the statement. Without them, we're left with "Everything is printed in [...] Computer Modern". The first word sets the tone in a (IMO) manipulative way.
- anc84 9y agoHere he uses the parentheses to clarify that not everything is printed in Computer Modern, but only that things are typically printed in Computer Modern.