Live data from Hacker News

HTML as an Accessible Format for Papers (2023)

info.arxiv.org

21–30 of 141 posts

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

#21
I don't think HTML is the right approach. HTML is better than PDF, but it is still a format for displaying/rendering.

the actual paper content format should be separated from its rendering.

i.e. it should contain abstract, sections, equations, figures, citations etc. but it shouldn't have font sizes, layout etc.

the viewer platforms then should be able to style the content differently.

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

#22

I don't think HTML is the right approach. HTML is better than PDF, but it is still a format for displaying/rendering. the actual paper content format should be separated from its rendering. i.e. it should contain abstract, sections, equations, figures, citations etc. but it shouldn't have font sizes, layout etc. the viewer platforms then should be able to style the content differently.

Wouldn’t that be CSS?

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

#23
post #22

I don't think HTML is the right approach. HTML is better than PDF, but it is still a format for displaying/rendering. the actual paper content format should be separated from its rendering. i.e. it should contain abstract, sections, equations, figures, citations etc. but it shouldn't have font sizes, layout etc. the viewer platforms then should be able to style the content differently.

Wouldn’t that be CSS?

no

 abstract text ... 

author one

author two

should be just:

[abstract]

abstract text

[authors]

author one | email | affiliation

author two | email | affiliation

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

#24

I don't think HTML is the right approach. HTML is better than PDF, but it is still a format for displaying/rendering. the actual paper content format should be separated from its rendering. i.e. it should contain abstract, sections, equations, figures, citations etc. but it shouldn't have font sizes, layout etc. the viewer platforms then should be able to style the content differently.

Perfect is the enemy of good. HTML is good enough. Let’s get this done.

And as another commenter has pointed out, HTML does exactly what you ask for. If it’s done correctly, it doesn’t contain font sizes or layout. Users can style HTML differently with custom CSS.

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

#25
post #22

Earlier quoted context omitted.

Wouldn’t that be CSS?

no abstract text ... author one author two should be just: [abstract] abstract text [authors] author one | email | affiliation author two | email | affiliation

Sounds like XML and XSL would be a great fit here. Shame it’s being deprecated.

But you could still use HTML. Elements with a dash in are reserved for custom elements (that is, a new standardised element will never take that name) so you could do:

    
      
    
And it would be valid HTML. Then you’d style it with CSS, with

    paper-author {
      display: list-item;
    }
And so on.

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

#26
post #22

Earlier quoted context omitted.

Wouldn’t that be CSS?

no abstract text ... author one author two should be just: [abstract] abstract text [authors] author one | email | affiliation author two | email | affiliation

There is , but yes, and is missing as such. But there are meta tags for such things. Then there is RDF and Thing. Not quite the same, I know, but it's not completely useless.

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

#27
post #24

I don't think HTML is the right approach. HTML is better than PDF, but it is still a format for displaying/rendering. the actual paper content format should be separated from its rendering. i.e. it should contain abstract, sections, equations, figures, citations etc. but it shouldn't have font sizes, layout etc. the viewer platforms then should be able to style the content differently.

Perfect is the enemy of good. HTML is good enough. Let’s get this done. And as another commenter has pointed out, HTML does exactly what you ask for. If it’s done correctly, it doesn’t contain font sizes or layout. Users can style HTML differently with custom CSS.

mixing rendering definitions with content (PDF) is something from the printer era, that is unsuitable for the digital era.

HTML was a digital format, but it wanted to be a generic format for all document types, not just papers, so it contains a lot of extras that a paper format doesn't need.

for research papers, since they share the same structure, we can further separate content from rendering.

for example, if you want to later connect a paper with an AI, do you want to send ... ?

or do some nasty heuristic to extract the abstract? like document. getElementsByClassName("abstract")[0] ?

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

#28

I don't think HTML is the right approach. HTML is better than PDF, but it is still a format for displaying/rendering. the actual paper content format should be separated from its rendering. i.e. it should contain abstract, sections, equations, figures, citations etc. but it shouldn't have font sizes, layout etc. the viewer platforms then should be able to style the content differently.

> HTML is better than PDF

I disagree. PDF is the most desirable format for printed media and its analogues. Any time I plan to seriously entertain a paper from Arxiv, I print it out first. I prefer to have the author's original intent in hand. Arbitrary page breaks and layout shifts that are a result of my specific hardware/software configuration are not desirable to me in this context of use.

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

#29
Why do we like HTML more than pdfs?

HTML rendering requires you to be connected to the internet, or setting up the images and mathJax locally. A PDF just works.

HTML obviously supports dynamic embedding, such as programs, much better but people just usually post a github.io page with the paper.

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

#30
post #25

Earlier quoted context omitted.

no abstract text ... author one author two should be just: [abstract] abstract text [authors] author one | email | affiliation author two | email | affiliation

Sounds like XML and XSL would be a great fit here. Shame it’s being deprecated. But you could still use HTML. Elements with a dash in are reserved for custom elements (that is, a new standardised element will never take that name) so you could do: And it would be valid HTML. Then you’d style it with CSS, with paper-author { display: list-item; } And so on.

Nothing is stopping you from using server side XSL. I personally dont think its a great fit, but people need to stop acting like xsl has been wiped from the face of the earth.
Post reply on HN