Live data from Hacker News

ArXiv now offers papers in HTML format

blog.arxiv.org

231–240 of 325 posts

Re: ArXiv now offers papers in HTML format

#231

article { text-justify: Knuth-Plass; }

Mind explaining?

The comment is invalid CSS to apply the Knuth-Plass algorithm in rendering an HTML article. Knuth being a perfectionist’s perfectionist, TeX uses this algorithm to determine optimal line breaks to provide for better text justification.

Here’s a discussion of hacks to achieve the algorithm’s results on web pages and an upcoming CSS feature as of 2020. https://mpetroff.net/2020/05/pre-calculated-line-breaks-for-...

Re: ArXiv now offers papers in HTML format

#232

Earlier quoted context omitted.

> There's no straightfoward, standard way to read an html document on another platform. Such as? What doesn’t have a browser but can render pdfs?

I mean, how do I save it locally on one platform and read it on any platform? Or share it with someone else to read (without them downloading software)? I.e., we don't have a standard, local, single-file html format.

If both devices have internet, you share the URL. If not, see other replies.

Re: ArXiv now offers papers in HTML format

#233
post #74

Earlier quoted context omitted.

Huh. It would seem like, of all the things which should make it easy to generate the correct accessibility information, the pipeline of compiling a paper from source code in LaTeX should nail it... maybe we should all pitch in to some pool to pay someone to put in the required effort to connect all the dots?

Kind of tangential, but it's also kind of surprising how difficult it is in LaTeX to make a plot of an equation. Say I have Equation \ref{eq}. Why can't I just say "plot \ref{eq} for x from -6 to 11" and get my graph? And yes, I know about pgfplots, PSTricks, TikZ etc. But in all those cases, I need to define the same equation twice, in different syntax to boot. It's kind of unsatisfying.

TeX is a very arcane language, and it doesn't support floating point numbers. Few languages would be less suited for making a plotting library.

Re: ArXiv now offers papers in HTML format

#235
post #203

Earlier quoted context omitted.

Blind person here, can confirm this. Reading PDFs with a screen reader is bad, reading PDFs that come from LaTeX is worse, reading LaTeX math is pretty much impossible. All the semantic info you need is just thrown away. You can make decently accessible PDFs but it's lots of work, you need Acrobat on the producer' side and might also need it on the consumer's side. Free tools don't even come close. There's also the f…

I teach math at a university. A couple years ago I had two blind students in my section of first-year calculus, and I really struggled with the tooling. Using latexml, I could produce documents that one of the students could use with a screen reader, but the other student never managed to make it work on their machine. Both students prefer braille but I didn't find anything open source that could typeset mathematical…

Interesting! I never thought about this, thank you for sharing.

What kind of turn-around time would be practical? Could you point me to any typeset mathematical braille that would be an example of a solution to your problem? Is Nemeth the only important standard, or are others important for you too?

I'm wondering if it's practical to set this up as back-office work here in Vietnam. There are some outlying provinces here where there are very few job opportunities. Job opportunities for the blind also round down to zero here (e.g. I could hire for proofreading). Maybe there's room to do something cool here.

Re: ArXiv now offers papers in HTML format

#238

I am glad to see a sans font being used, rather than trying to replicate the serif font from the original papers. It's a bit narrow and fuzzy on low resolutions, but a massive improvement just by switching to sans.

We detached this comment from https://news.ycombinator.com/item?id=38724925.

Re: ArXiv now offers papers in HTML format

#239

Earlier quoted context omitted.

Blind person here, can confirm this. Reading PDFs with a screen reader is bad, reading PDFs that come from LaTeX is worse, reading LaTeX math is pretty much impossible. All the semantic info you need is just thrown away. You can make decently accessible PDFs but it's lots of work, you need Acrobat on the producer' side and might also need it on the consumer's side. Free tools don't even come close. There's also the f…

For the math equations, I'm curious: does MathML do any better for you than LaTeX?

Not the person you’re asking the question to, but it’s worth noting (if you don’t already know) that MathML is really not designed at all as an input language for practitioners who just want to write a few equations in some document. It’s designed as an output/presentation language so that devices that want to render some maths can do so faithfully[1]. As such, if you’re a human being who wants to typeset some equation, you’ll want to go to latex every single time rather than mathml and then someone else has to figure out the conversion.

[1] Great explanation here https://tex.stackexchange.com/questions/57717/relationship-b...

Re: ArXiv now offers papers in HTML format

#240

Earlier quoted context omitted.

Blind person here, can confirm this. Reading PDFs with a screen reader is bad, reading PDFs that come from LaTeX is worse, reading LaTeX math is pretty much impossible. All the semantic info you need is just thrown away. You can make decently accessible PDFs but it's lots of work, you need Acrobat on the producer' side and might also need it on the consumer's side. Free tools don't even come close. There's also the f…

I made these arguments two decades ago when I was still in university that PDF is a horrible format because it's purely præsentational, especially for people with disabilities whose software relies on semantic information. LaTeX last time I used it didn't even have a different symbol for uppercase Alpha and A because the glyphs are indistinguishable. They argued that PDF was superior because the publisher could contr…

To write uppercase Alpha you need a modern version of latex (ie xelatex or lualatex) and to include the unicode-math package

https://tex.stackexchange.com/questions/485593/how-to-write-...

Post reply on HN