Live data from Hacker News

HTML as an Accessible Format for Papers (2023)

info.arxiv.org

101–110 of 141 posts

Re: HTML as an Accessible Format for Papers (2023)

#101
post #35

It's extremely easy to convert HTML/CSS to a PDF with the print to PDF feature of the browser. All papers should be in HTML/CSS or Tex then just simply converted to PDF. Why are we even talking about this?

What are you talking about? No one’s writing their paper in HTML. The problem is having the submissions be in TeX and converting that to HTML, when the only output has been PDF for so long. The problem isn’t converting HTML to PDF, it’s making available a giant portion of TeX/pdf only papers in HTML. If you’re arguing that maybe TeX then shouldn’t be the source format for papers then I agree, but other than Typst (wh…

This is what I'm talking about. HTML/CSS is more powerful than PDF or TEX.

https://csszengarden.com/

Re: HTML as an Accessible Format for Papers (2023)

#102

It's extremely easy to convert HTML/CSS to a PDF with the print to PDF feature of the browser. All papers should be in HTML/CSS or Tex then just simply converted to PDF. Why are we even talking about this?

LOL what. You're either trolling, or you've never written a paper in your life.

It sounds like you might not understand the power of modern HTML/CSS.

Re: HTML as an Accessible Format for Papers (2023)

#103
post #40

It's extremely easy to convert HTML/CSS to a PDF with the print to PDF feature of the browser. All papers should be in HTML/CSS or Tex then just simply converted to PDF. Why are we even talking about this?

So, uh, where do the HTML versions of the papers come from?

Ground truth.

Re: HTML as an Accessible Format for Papers (2023)

#104

It's extremely easy to convert HTML/CSS to a PDF with the print to PDF feature of the browser. All papers should be in HTML/CSS or Tex then just simply converted to PDF. Why are we even talking about this?

Except you can't have page breaks, three links in a row, anchor links.

@media print { .page, .page-break { break-after: page; } }

Re: HTML as an Accessible Format for Papers (2023)

#105

Earlier quoted context omitted.

HTML alone is in fact not a format for displaying/rendering. Done properly, it is a structural representation of the content. (This is often called ”semantic HTML”.) They are converting to HTML to make the content more accessible. Accessibility in this context means a11y, in effect ”more accessible” equates to ”more compatible with screen readers”. While PDF documents can be made accessible, it is way easier to do it…

Much of it is a structural representation of how to display the content.

In practice, sometimes. But in principle, hard disagree.

HTML was explicitly designed to semantically represent scientific documents. [1]

”HTML documents represent a media-independent description of interactive content. HTML documents might be rendered to a screen, or through a speech synthesizer, or on a braille display. To influence exactly how such rendering takes place, authors can use a styling language such as CSS.” [2]

1: https://html.spec.whatwg.org/multipage/introduction.html#bac...

2: https://html.spec.whatwg.org/multipage/introduction.html#:~:...

Re: HTML as an Accessible Format for Papers (2023)

#106

Earlier quoted context omitted.

Except you can't have page breaks, three links in a row, anchor links.

@media print { .page, .page-break { break-after: page; } }

It doesn't function in real use, it's just theoretical.

Re: HTML as an Accessible Format for Papers (2023)

#107

If the Unicode consortium would spend less time and effort on emoji and more on making the most common/important mathematical symbols and notations available/renderable in plain text, maybe we could move past the (LA)TeX/PDF marriage. OpenType and TrueType now (edit: for well over a decade, actually) support the necessary conditional rendering required to perform complicated rendering operations to get sequences of U…

I don't understand. No matter what fancy things you do with superscripts and subscripts, you're not going to be able to do even basic things you need for equations like use a fraction bar, or parentheses that grow in height to match the content inside them. At a fundamental level, Unicode is for characters, not layout. Unicode may abuse the ZWJ for emoji, but it still ultimately results in a single emoji character, n…

> No matter what fancy things you do with superscripts and subscripts, you're not going to be able to do even basic things you need for equations like use a fraction bar, or parentheses that grow in height to match the content inside them.

Why not? Things like Arabic ligatures already do that, no?

Re: HTML as an Accessible Format for Papers (2023)

#109
post #107

Earlier quoted context omitted.

I don't understand. No matter what fancy things you do with superscripts and subscripts, you're not going to be able to do even basic things you need for equations like use a fraction bar, or parentheses that grow in height to match the content inside them. At a fundamental level, Unicode is for characters, not layout. Unicode may abuse the ZWJ for emoji, but it still ultimately results in a single emoji character, n…

> No matter what fancy things you do with superscripts and subscripts, you're not going to be able to do even basic things you need for equations like use a fraction bar, or parentheses that grow in height to match the content inside them. Why not? Things like Arabic ligatures already do that, no?

This is interesting to me, but I am very naive about this. Can you explain, or point to where I could learn more?

Re: HTML as an Accessible Format for Papers (2023)

#110

If the Unicode consortium would spend less time and effort on emoji and more on making the most common/important mathematical symbols and notations available/renderable in plain text, maybe we could move past the (LA)TeX/PDF marriage. OpenType and TrueType now (edit: for well over a decade, actually) support the necessary conditional rendering required to perform complicated rendering operations to get sequences of U…

Math formulas are far far far more complex than unicode emojis. I don't even know how to start comparing them.
Post reply on HN