Ask HN: What are you surprised isn’t being worked on more?
476 pointsI love asking new colleagues this question, figured I would open it here as well.
What are you surprised isn’t being worked on more?
What are you surprised isn’t being worked on more?
Comments (1,239) 188 threads
Show all comments
Showing thread 5 of 188
There's a huge gap for LaTeX to fill, or to potentially fill, but it's not happening. The other day I saw it described as "a neckbeard knitting circle, not viable software". As a LaTeX "fan", that hurt but it's the truth.
Over the past months, I had to collaborate with various different people across various different organizations. Everything in MS Word. I don't even hate MS Word, it's useful and its dominant position isn't entirely undeserved. But holy cow was working together a gigantic pain in the behind. I really started to loathe it (Excel is far worse and did its part too).
This was all with technical people. They could potentially grasp WYSIWYM approaches like LaTeX. Slap git and CI/CD on top and you're where software developers have been 10 years ago. But my industry is still light years away.
Part of it is how Word "just works". But it takes 5 seconds of using it until it doesn't. If LaTeX was more modern and also approachable (very ugly syntax/language. Could learn from Markdown here), technical folk could ditch Word and really upgrade their workflows. I'm sick of Word templates from 2004.
I don't really have a good, productive, use case for it right now but I really can't wait to try it out. It looks really user friendly, fast, responsive, has a CLI, and it produces some easy to version in git latex files.
A while ago I wanted to create my CV in latex from scratch and gave up after days of trying to get FontAwesome to work (I wanted brand icons and other nice things), so I switched to a setup where I have a HTML webpage that looks like a paper page, and using chromium headless to "print" it to PDF (only works properly with chrome as other browsers have CSS incompatibilities on PDF generation, never mind the bit fart Firefox is doing on android lol). I guess I could try to replace that setup with this tool, it seems to have a export to PDF/HTML and a CLI interface for exports. Fingers crossed all goes well and hopefully it's customizable enough for the job. This will keep me busy/entertained for a while :).
I used to work at a bank where we had to collaborate on Word documents stored in SharePoint. It was a nightmare. In SharePoint you are supposed to "check out" documents, edit them, and "check in" the document afterward. The problem was that SharePoint was slow, so it was more convenient to work from local copies. And many people couldn't resist the urge to send documents as attachments when requesting feedback from someone else, thus breaking the version control system. And if someone already had "checked out" the document, there was nothing stopping someone from just working from a local copy, making changes, emailing it to me, and saying "Incorporate these changes into the final version."
It was common for someone to work from an outdated version and accidentally overwrite someone else's changes. Even though SharePoint stored every version, it was still a lot of manual work on my part to be a human git, manually combine edits from multiple reviewers, and update revision history tables on the first few pages of every document because nobody else had the time to do that. There were a lot of manual, human errors introduced by me and others. Partly because sometimes people would make minor changes without updating the version of the document, and then you'd have no idea that you were looking at an older version.
I use git for docs version control now, and sometimes I think of ways to make documentation controlled by git while still making it user friendly for non-technical people to contribute to it. What if you could send someone a file as an attachment, they could edit it locally (perhaps in Markdown or similar, with a text editor that has a Markdown preview), then open it in a special text editor let them click a button that would make a pull request for them without them having to understand anything about git? Maybe the special text editor would also notify them as soon as the doc became outdated.
And if even that was too hard, maybe they could save changes, return it to the sender as an email attachment, then the recipient could quicky make a pull request.
It would be glorious.
Google docs works pretty well, but I wish it had more friction to download documents in office formats. People are quick to start working on local copies as soon as they miss some minor feature in word and you end up with the same problem you described. I think my perfect tool would not even export to word.
I agree sharepoint is awful and it's even worse now that it's baked into teams and people are using it without even realizing it.
I was thinking about LaTeX and if it could solve a problem for us in in my search I came across this:
https://www.overleaf.com/
I considered trying to get us to standardize on LaTeX and git for document management, but delayed that decision in favor of "get started with Word first and get people used to writing at all". Once we went forced-remote and started using the online comment features, I don't see an equivalently accessible means to do that in tex.
Continue this thread — 1 reply
I doubt that most offices would benefit from teaching their employees that instead of just hitting control-B to bold some text, they should now do \textbf{foo}, or that quotes should now be types ``like this''. If you need the huge array of features (which is typically only the case in the context of academic publishing), then it's worth making the investment to learn. But for 99% of corporate documents, Word likely can do what you need with much less pain.
Btw. I linked before a link to usable Markdown variations for academic papers which use LaTeX as a mix in only when necessary.
Word is a horrible format too, which explains why conversion is problematic in both directions.
Asciidoctor is a good modern proposition that can handle more than markdown can, but it’s not without shortcomings. Unfortunately markdown, asciidoc, rst and friends have been focusing too much on publishing to the web. Conversion to PDF is mostly over html (in some cases by firing chromium in the background) and the results are not as great.
It is difficult to compete with Word for non-technical people, if the alternative is to install and learn multiple tools, configure a dev environment and setup build toolchains.
I think you've answered it yourself. Also damning is that groff doesn't support UTF-8 directly.
Most groff guides only do very basic formatting. Complex math/equation layout can be awful. Image files apparently need to be ps/eps. I just keep running into issues.
There's also no accessible ecosystem for groff. CTAN. Code highlighting (ideally, I want to use pygments - i guess i could write a backend if i was really invested). TikZ is great and something I've invested in a lot. Bibliography management. Also, not an issue for me, but an issue for adoption is Windows support.
As for competing with Word's workflow, at least with some TeX variant I have a chance. Installer frameworks. Editors with previews. So a few GiB to not run into these limitations sounds worth it to me to be productive.
I'm not saying groff couldn't be used for complex stuff, but I wouldn't know where to begin, or want to work around all those limitations.
The authors of eqn wrote a paper about it: "Typesetting Mathematics" by Brian Kernighan and Lorinda Cherry. Kernighan also wrote two manuals (one in 1976 with a revision in 1992, and one in 2007 with updates for the Plan 9 version). [5].
[0] utf8 was developed by Ken Thompson and Rob Pike during the creation of Plan9. The entire OS is compatible. Story here: http://doc.cat-v.org/bell_labs/utf-8_history
[1] http://man.cat-v.org/plan_9/1/eqn
[2] https://github.com/aligrudi/neatroff
[3] PDF manual for neatroff: http://litcave.rudi.ir/neatroff.pdf
[4] https://n-t-roff.github.io/heirloom/doctools.html
[5] These (and more) can be found here: http://www.kohala.com/start/troff/troff.html
Continue this thread — 4 replies
A hybridization of Overleaf and LyX could be pretty incredible.
That's the holy grail of text processors for me.
Unfortunately the TeX rendering engine doesn't cache partial computations and every single keystroke requires calling the full rendering pipeline.