zlacker

[return to "HTML as an Accessible Format for Papers"]
1. billco+gd[view] [source] 2025-12-06 16:42:18
>>el3ctr+(OP)
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.

◧◩
2. afavou+od[view] [source] 2025-12-06 16:42:49
>>billco+gd
Wouldn’t that be CSS?
◧◩◪
3. billco+9e[view] [source] 2025-12-06 16:48:21
>>afavou+od
no

<div class="abstract-container">

<div class="abstract">

<pre><code> abstract text ... </code></pre>

</div>

<div class="author-list">

<ol>

<li>author one</li>

<li>author two</li>

<ol>

</div>

should be just:

[abstract]

abstract text

[authors]

author one | email | affiliation

author two | email | affiliation

◧◩◪◨
4. afavou+ef[view] [source] 2025-12-06 16:59:00
>>billco+9e
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:

    <paper-author-list>
      <paper-author />
    </paper-author-list>
And it would be valid HTML. Then you’d style it with CSS, with

    paper-author {
      display: list-item;
    }
And so on.
◧◩◪◨⬒
5. xworld+Pw[view] [source] 2025-12-06 19:18:31
>>afavou+ef
Indeed, LaTeXML (the software used by arXiv) converts LaTeX to a semantic XML document which is turned to HTML using primarily XSLT!
[go to top]