Hacker News new | ask | show | jobs
by kumarvvr 50 days ago
LaTeX has a huge learning curve, and a mess of online information.

I tried to use it to generate automated reports, and was frustrated at every turn. My usage scenario was a completely offline system to generate reports of a few dozen pages, which included graphics, tables and other visualizations.

1. The whole system download is about 1 or more Gigs. 2. Each report is accompanied by half a dozen files. 3. The choice of packages to use, and the versons to use, is all confusing, with various books and site using various packages, often further customized. 4. The syntax is confusing and jarring, at least to me.

Finally, I ended up using simple template tools to generate HTML with proper semantic structing and CSS print media queries to generate my reports.

I do appreciate the fact that my requirement does not involve laying out content over multiple pages, something which LaTeX is good at. That is very difficult to achieve with HTML and CSS.

But, for use cases where each document page is independent, HTML, CSS and print media queries are great.

You can also use all the exciting javascript visualization libraries to generate awesome graphics.

2 comments

> 1. The whole system download is about 1 or more Gigs.

For me that’s one of the beauties of the tool: you install the 6 GB and get everything. It’s not like e.g. Rust where you get 1.2 GB of compiler and co. but then have to download more and more crates to actually do the job.

> 1. The whole system download is about 1 or more Gigs

A full installation is 6GB actually, but you don't have to install everything. A minimal installation is only about 50MB, and that's enough for simple documents, and then you can use the package manager to install any additional packages you need. The main problem is that transitive dependencies aren't properly tracked, so it can sometimes be annoying to figure out exactly which packages you need to install.

> 3. The choice of packages to use, and the versons to use, is all confusing, with various books and site using various packages, often further customized.

Agreed, but you can say the same about most old and successful programming languages, so TeX isn't terribly unique here.