Why do many CS students and researchers write their publications with LaTeX although it is much heavier than wkhtmltopdf?
Journals, conferences want a 'house look' ie fonts, spacing, columns etc.
So they typically mandate Latex ... yes with some latitude. So they may say: For MSWord authoring use xyz, for Latex use abc. The xyz/abc specs being quite detailed.
See for example the IEEE recommended template
PS Count me among the people that suffer Latex but the html,css,JS morass is inarguably worse!
I think this webpage on arXiv might help you get perspective on why LaTeX is valued by the academic and research community.
Then on this arXiv page you find this wording:
Our goal is to store articles in formats that are highly portable and stable over time. Currently, the best choice is TeX/LaTeX.
And when one looks at the mirror image crank website vixra.org, you notice that very few of these authors use LaTeX!
Then of course for computer scientists, LaTeX is the brainchild of the preeminent computer scientist Donald Knuth.
That is your opinion.
It is analogous to claiming that the color blue is better than the color red.
Likewise, there exist people who say that they enjoy the taste of boiled mashed carrots over the taste of boiled mashed potatoes.
I am not sure that everyone is already familiar with wkhtmltopdf.
wkhtmltopdf is a tool which converts webpages into PDF files. a PDF file is easily printed out on eight and a half by elevent sheets of paper.
There are some computer scientists who do not know how to read or write hyper-text-mark-up-language.
My favorite alternative to LaTeX is stack exchange mark-up language with the MathJax plug-in. You might desire something like BibTex to deal with citations and references.
It is possible to write an academic paper in Libre Office, but TeX pre-dates Libre Office and Microsoft Word.
That is, some people learned how to use TeX, and when they got older, never learned how to use Microsoft Word.
Most academic journals accept papers written in
.doc format these days (files encoded using the Microsoft standards).