<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi<br><br>Summary: TeX converts source to DVI, an abstract page description language. By definition, a rich DVI file contains word-by-word backlinks to the TeX source. We discuss how to create rich DVI, and how to render it to an accessible PDF. We compare this to the LaTeX Project approach.<br><br>Date and time: Thursday 9 September, 6.30 to 7.30pm UK time.<br>UK time now: <a href="https://time.is/UK" target="_blank">https://time.is/UK</a>.<br>Zoom URL: <a href="https://us02web.zoom.us/j/78551255396?pwd=cHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09" target="_blank">https://us02web.zoom.us/j/78551255396?pwd=cHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09</a><br><br>OVERVIEW<div>Producing accessible PDF from LaTeX source would be a tremendous advance (as would reliable production of accessible HTML). A large part of the problem of creating accessible PDFs is to merge two document trees, namely the TeX source (as HTML) and the PDF. At last month's TeX Conference Frank Mittlebach presented his solution to this problem.</div><div><br></div><div>At tomorrow's TeX Hour I'll present my solution, via the concept of rich DVI files. This goes back 25 years, to my TUGBoat article "Editing .dvi Files, or Visual TEX". Although in some ways dated, the basic concepts are still sound and even more relevant than before.<div><div><br></div><div>My approach is to pre-process the source tree so that every word (and similar source objects) is tagged in the resulting DVI file. This will then give a rich DVI, from which an external program can create an accessible PDF. Frank's approach is similar, except that he uses complex and ingenious LaTeX macros for everything, and tags only the paragraphs.<br></div><div><br></div><div>Frank's approach leads to a multi-year journey to modernize LaTeX, and avoids the need for a post-processor. My approach can use current LaTeX, by use of an input filter to add tagging, and an output filter to render the rich DVI to accessible PDF.</div><div><br></div><div>This is an important choice, which will affect TeX for over 30 years. If you're keen, you can read about these two approaches at</div><div><a href="https://tug.org/TUGboat/tb17-3/tb52finv.pdf" target="_blank">https://tug.org/TUGboat/tb17-3/tb52finv.pdf</a></div><div><a href="https://tug.org/tug2021/assets/pdf/Frank-Mittelbach-slides.pdf" target="_blank">https://tug.org/tug2021/assets/pdf/Frank-Mittelbach-slides.pdf</a><br></div><div><br>INVITE<br>You're invited to tomorrow's TeX Hour: Rich DVI files and accessible PDF.<br>Date and time: Thursday 9 September, 6.30 to 7.30pm UK time.<br>UK time now: <a href="https://time.is/UK" target="_blank">https://time.is/UK</a>.<br>Zoom URL: <a href="https://us02web.zoom.us/j/78551255396?pwd=cHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09" target="_blank">https://us02web.zoom.us/j/78551255396?pwd=cHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09</a><br>Meeting ID: 785 5125 5396<br>Passcode: knuth<br><br>LAST WEEK'S VIDEOS<br>Last week's TeX Hour was on Docs and help for LaTeX users. The videos are available at <a href="https://www.youtube.com/playlist?list=PLw1FZfIX1w7h74asldt29nO1XUiNrWSnz" target="_blank">https://www.youtube.com/playlist?list=PLw1FZfIX1w7h74asldt29nO1XUiNrWSnz</a></div><div><br></div><div>Arising from that is a project to help users find existing advice on LaTeX best practice,</div><div><a href="https://github.com/texhour/latex-best-practice" target="_blank">https://github.com/texhour/latex-best-practice</a><br><br>Happy TeXing<br></div></div><div><br></div><div>Jonathan</div></div></div>
</div></div>
</div></div>