Live data from Hacker News

I don't always use LaTeX, but when I do, I compile to HTML (2013)

peterkrautzberger.org

71–80 of 152 posts

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#71

This is from 2013, so the bet that "nobody will want to read [PDFs] in 5 years" can be considered failed. If anything, PDF has become the lingua franca of the academic web, crowding out even DjVU at the thing that DjVU was made for and PDF was not. I have not been following the development of mathjax, pandoc, etc. carefully, so I'm wondering: Have the main issues been solved? By these I mean (1) support for most popu…

But don't worry, 2024 is going to be the Year Of Math On The Web.

(I've been trying to do 'math on the web' (ish)) since 2002, and it's always sucked in some way; and all that time, images/pdf have Just Worked(TM). The emphasis in the OP on how much you'll have to report/chip in/fix is telling...)

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#72
post #68

For me, the main problem with most tools that render to HTML was that they don't support all math typesetting libraries that latex supports. I used to work with category theory, where it's common to use the tikz-cd library to typeset commutative diagrams. tikz-cd is based on tikz, which is usually not supported for HTML output. But apart from math typesetting, my latex documents were usually very simple: They just us…

Tangentially, for me the stacks project is the gold standard of mathematical typography on the web. Look at this beauty: https://stacks.math.columbia.edu/tag/074J

Also check the diagrams: https://stacks.math.columbia.edu/tag/001U

If anyone can explain to me, a complete noob regarding html, how they achieve this result with html, css and whichever latex engine they use, I would be grateful. I want to make a personal webpage in this style.

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#74
post #60

I feel ambivalent to LaTeX. I don't like the language, the ecosystem is too big, complicated and breaks, but the end result is hard to do any other way. This applies both the equations part, and the text reflow part (I think them as separate things, but they usually go together). It should be possible to write text in HTML or markdown, and write the equations in latex or asciimath, and turn it into a beautiful/articl…

I believe I have used pandoc to convert markdown to PDF. Maybe this is something you could try?

That’s probably what they were referring too when they described it as big, complicated, and fragile.

https://pandoc.org/chunkedhtml-demo/2.4-creating-a-pdf.html

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#75
post #68

For me, the main problem with most tools that render to HTML was that they don't support all math typesetting libraries that latex supports. I used to work with category theory, where it's common to use the tikz-cd library to typeset commutative diagrams. tikz-cd is based on tikz, which is usually not supported for HTML output. But apart from math typesetting, my latex documents were usually very simple: They just us…

Tangentially, for me the stacks project is the gold standard of mathematical typography on the web. Look at this beauty: https://stacks.math.columbia.edu/tag/074J Also check the diagrams: https://stacks.math.columbia.edu/tag/001U If anyone can explain to me, a complete noob regarding html, how they achieve this result with html, css and whichever latex engine they use, I would be grateful. I want to make a personal w…

uMatrix tells me there are 8 external sites to grant permissions for access to resources. Definitely not a "beauty".

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#76
post #75

Earlier quoted context omitted.

Tangentially, for me the stacks project is the gold standard of mathematical typography on the web. Look at this beauty: https://stacks.math.columbia.edu/tag/074J Also check the diagrams: https://stacks.math.columbia.edu/tag/001U If anyone can explain to me, a complete noob regarding html, how they achieve this result with html, css and whichever latex engine they use, I would be grateful. I want to make a personal w…

uMatrix tells me there are 8 external sites to grant permissions for access to resources. Definitely not a "beauty".

I don't understand what this has to do with typography.

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#77
post #60

I feel ambivalent to LaTeX. I don't like the language, the ecosystem is too big, complicated and breaks, but the end result is hard to do any other way. This applies both the equations part, and the text reflow part (I think them as separate things, but they usually go together). It should be possible to write text in HTML or markdown, and write the equations in latex or asciimath, and turn it into a beautiful/articl…

Time to sunset Latex

https://github.com/typst/typst

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#78
post #41

Earlier quoted context omitted.

Typst. Typst is better IMO

As a certified grumpy old developer I spent years writing off the "X but in Rust" projects, but I have to confess that a lot of good things with meaningful improvements have come from the rewrite-everything-in-Rust movement. I've not used Typst and not authored much LaTeX (but worked on a project with a group of scientists who used nothing but LaTeX) and can see obvious advantages to Typst. Same with many, many other…

So funny to me that people assume, oh it's written in Rust, so it must be a rewrite of something else just so they can use Rust.

They never imagine that people choose Rust for something they want to implement anyway and not just to replicate something existing, that they do not want to use since it's not implemented in Rust????

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#79
post #41
post #27

Earlier quoted context omitted.

I guess latex is still unbeatable for writing complex math expressions. These days, when I don't need that, I'm happy with AsciiDoc.

Typst. Typst is better IMO

No HTML export yet. Which this post is about.

Re: I don't always use LaTeX, but when I do, I compile to HTML (2013)

#80
post #60

I feel ambivalent to LaTeX. I don't like the language, the ecosystem is too big, complicated and breaks, but the end result is hard to do any other way. This applies both the equations part, and the text reflow part (I think them as separate things, but they usually go together). It should be possible to write text in HTML or markdown, and write the equations in latex or asciimath, and turn it into a beautiful/articl…

Time to sunset Latex https://github.com/typst/typst

No HTML export yet. Which this post is about.
Post reply on HN