Remix.run Logo
robert-zaremba 11 hours ago

TBH, I'm sick about LaTeX: - compilation is heavy - it's not friendly for writing (far from the dominant markup languages) - poor support to HTML / Epub / mobile outputs - output (PDF) not friendly for parsing / digesting. - tonnes of templates, lot of mess.

We should just use human friendly markups like MyST Markdown [1] or Org Mode [2].

Unfortunately, whitepapers are predominantly written in LaTeX. Thankfully, arXiv recently made a move to parse and render those documents in the web format. It's a hard job. But this is the wrong way around: instead of keep composing documents in LaTeX (which is not human friendly), and then doing the hard job with tooling, we should start with human first approach and have win-win!

We are living in the world where web content is the primary content and friendly for desktop, mobile devices and readers and tools (select, copy, edit...). It's easy to package any web content into epub and ship it in a single file. Printing is also easy. Only cons: precise typesetting is not harder. But this is less of the problem. I would prefer a content that is friendly to read and is responsive, than a precise typesetting.

[1] https://mystmd.org/ [2] https://orgmode.org/manual/Summary.html [3] https://info.arxiv.org/about/accessible_HTML.html

anta40 4 hours ago | parent | next [-]

I'm pretty sure LaTeX can do all the documents I want to, e.g anything with complicated math expressions, various pseudocodes, computer science-y diagrams like karnaugh map, algorithm flowchart etc etc.

Of course, it's not all roses and sunshines, though. Depending on your usecases, usually need to import a few packages and sometimes they don't work out of the box easily.

For real life work I don't need that much power, though. But after learning various alternatives like markdown, asciidoctor etc etc eventually I go back to LaTeX. Oh well :p

pepa65 39 minutes ago | parent | prev | next [-]

Weasyprint transforms html into pdf.

constantcrying 9 hours ago | parent | prev | next [-]

Typst wants to target both PDF and HTML, making it trivial to have a PDF document and a HTML page with identical content.

That way you get the best out of both worlds.

Syzygies 9 hours ago | parent [-]

Wants to, but still experimental:

https://typst.app/docs/reference/html/

lupire 10 hours ago | parent | prev [-]

MyST seems nice but it appears to be not a replacement for LaTeX, but is a way to embed LaTeX in non-LaTeX content