Live data from Hacker News

I hate LaTeX, I love LaTeX

commutative.xyz

121–130 of 245 posts

Re: I hate LaTeX, I love LaTeX

#121
post #89

In the last three decades of having the opportunity to learn and use TeX, i have managed to avoid it. In the same time i've helped a friend with word processing for her dissertation. I'm still not sure how we managed to get it to work with all the horror stories about data loss and Microsoft Word at the time. But it did its job and I'm still in the WYSIWYG camp. Maybe in another life...

I find Word is only tolerable when used like Latex. I.e., extensive use of Styles. Define a Style for every object type in your doc. Also, carefully choose the Next Style option. Define Sections if columns or pagination vary across the document. With that in hand, it is now just a matter of plugging in text and images. If something isn't working quite right, edit the Style instead of macdinking the text on the screen.

You are still left with formatting equations, but Word lets us use Latex-ish syntax for that now, so you can keep the fine control of Latex within the GUI context.

Don't get me wrong, I hate Word, but it is required in many environments. Adopting a rational use strategy helps a bit.

https://www.wordsense.eu/macdink/#English

Re: I hate LaTeX, I love LaTeX

#122
post #49

Earlier quoted context omitted.

> almost always crystal clear and self explanatory and slow. Most of the time the idiomatic pandas answer takes advantage of its vectorization capabilities while plain python would require nested loops.

This is one of the advantages of languages with optimizing compilers. In Python, there's a tradeoff between clarity and performance. But in C++ for example, your for-loop is just as fast as any library's for-loop. Edit: My assumption is that many Python libraries are written in C for performance, but maybe that's not the case.

In case of these libraries it is mostly the case of painstaking optimizations in low level code. No common language has sufficiently smart auto-vectorization to reliably convert for loops in most cases to SIMD instructions - so no, your average C++ for loop wouldn’t be that much faster, unless you spend a lot of time optimizing it for the specific task.

Re: I hate LaTeX, I love LaTeX

#123

Earlier quoted context omitted.

Laying out books. The fact that all of this can be done in a text file, without hidden codes and being tied to this file format or another, is extraordinary. Images are easily handled, fonts simply work (XeTeX & friends work well for me), and — with sufficient warnings — these files can be handed over to an author and edited without messing much, if anything, up. The PDFs generated work well with all the PDF tools I'…

Another poster just finished saying images and tables are hard. Why the disconnect do you think?

The other poster was wrong.

Re: I hate LaTeX, I love LaTeX

#124
post #84

Having written my thesis in LaTex, I can say it is wonderful and a wonderful waste of time.

Same, I just did my resume in LaTeX, it's such an obtuse and painful tool, yet nothing even comes close to the control it gives you. Hey btw, I'm looking for contract work! https://github.com/1player/resume/blob/master/resume.pdf

Surely plain old html does?

Re: I hate LaTeX, I love LaTeX

#125
post #112
post #6

You sometimes see people ask fairly simple Python questions on Stack Overflow, that could be solved by five lines of plain Python, and be answered with some Pandas magic incantation that happens to do what they want with one call. I always find this a bit sad, because it seems to take away the idea that programming is about assembling composable parts, replacing it by a search for the right magic thing from a box of…

> I always find this a bit sad, because it seems to take away the idea that programming is about assembling composable parts [OT] Concerning "programming is about assembling composable parts": I always find both sad and ridiculous when self-proclaimed software developers bash Unix because they are not able to appreciate its philosophy.

It would help Unix’s case if the glue between the parts wouldn’t be byte streams and some very crude int result code, signals, etc.

A monolith can be just as composable if not more, with a much “stronger glue” in the form of language-mandated guarantees. Also, sometimes doing multiple things well is the better direction — IPC is additional complexity and essential complexity can’t be decomposed.

Re: I hate LaTeX, I love LaTeX

#126
post #84

Having written my thesis in LaTex, I can say it is wonderful and a wonderful waste of time.

Same, I just did my resume in LaTeX, it's such an obtuse and painful tool, yet nothing even comes close to the control it gives you. Hey btw, I'm looking for contract work! https://github.com/1player/resume/blob/master/resume.pdf

I always wonder with comments like this what LaTeX allows that Adobe Indesign is incapable of.

Re: I hate LaTeX, I love LaTeX

#127

I also have a love & hate relationship with LaTeX. I think it really boils down to the following: LaTeX will work excellently for you, so long as your use case was envisioned by the original authors. I can't say that the original authors of LaTeX didn't envision using it for creating slideshows/presentations, but I can say that making a beamer theme is uniquely complicated. I wish that LaTeX had something as flexible…

If you have a lot of time on your hands, nothing makes your math/cs hw look quite as slick. Was fun to play around with in undergrad for sure. I've forgotten all my LaTeX skills since though.

Re: I hate LaTeX, I love LaTeX

#129
post #84

Earlier quoted context omitted.

Same, I just did my resume in LaTeX, it's such an obtuse and painful tool, yet nothing even comes close to the control it gives you. Hey btw, I'm looking for contract work! https://github.com/1player/resume/blob/master/resume.pdf

I always wonder with comments like this what LaTeX allows that Adobe Indesign is incapable of.

Plaintext source file; hence source control and portability. Also it's free in both senses.

Re: I hate LaTeX, I love LaTeX

#130
post #77
post #56

Earlier quoted context omitted.

I agree that TeX sources are often damn near impossible to read. That stuff is... ugly. But at least it's there. You can see it. You can manipulate it. You can understand it (though it sometimes takes more time flipping through the TeXbook than any sane person is willing to spend). In comparison, WYSIWYGgery is like boxing with an invisible opponent. Where do I click, what magic check box three levels deep in dialogs…

Related: TeX sources can be put under source control, with meaningful diffs.

Word has version control built in and you can see diffs easily. (No git is not the only VCS)
Post reply on HN