惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
aimingoo的专栏
aimingoo的专栏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
J
Java Code Geeks
博客园_首页
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
Intezer
P
Palo Alto Networks Blog
V
Vulnerabilities – Threatpost
雷峰网
雷峰网
O
OpenAI News
SecWiki News
SecWiki News
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
N
News | PayPal Newsroom
Project Zero
Project Zero
Forbes - Security
Forbes - Security
IT之家
IT之家
A
Arctic Wolf
WordPress大学
WordPress大学
Jina AI
Jina AI
T
Tor Project blog
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
博客园 - 聂微东
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Privacy International News Feed
Cloudbric
Cloudbric
G
GRAHAM CLULEY
博客园 - 叶小钗
H
Hacker News: Front Page
腾讯CDC
量子位
Help Net Security
Help Net Security
人人都是产品经理
人人都是产品经理
C
Cyber Attacks, Cyber Crime and Cyber Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
爱范儿
爱范儿
L
Lohrmann on Cybersecurity
Hacker News - Newest:
Hacker News - Newest: "LLM"
Recorded Future
Recorded Future
C
CERT Recently Published Vulnerability Notes

Jonathan Fine

Towards 21st Century Digital Typography Lighter TeX Runs Faster A Blind Math User Story A Visually Impaired Coder's User Story Accessible and Tagged PDF User Stories and Accessibility New Online Tools for TeX Beginners Tex Hour Agenda Blind Math News Accessibility Evaluation: Open University and RNIB Accessibility Tools Latex math on social media Multi Author Docs Blind Math News Happy Birthday Don Knuth New Year's and Christmas Fun Tex Office Hours Importance of Typography UK TeX users — from here to there Calling UK LaTeX editors etc LaTeX Tutor Sub and Sup A LaTeX Typing Tutor About the LaTeX Typing Tutor London Scholarly Tech Meetup UK TeX User Group survives Jonathan Fine's statement for Chair of UK TUG Some new 2019 Q3 ac.uk LaTeX pages UK TUG — more news soon Why 2358? Why did I choose Hugo? Linear homology in a nutshell: now on arxiv Contact
Render Latex Multiple Ways
2021-03-17 · via Jonathan Fine

Summary

This post is about LaTeX to PDF and LaTeX to HTML. It's preparation for the TeX Hour tomorrow (Thursday 18 March). In case you didn't know, every Thursday (18:30 to 19:30 UK time) there's a zoom TeX Hour. The zoom URL and other details here.

At tomorrow's TeX Hour I'll attempt to give a history of producing PDF and HTML from a single source file, and related topics. Also, questions can be asked and there'll be discussion.

Most of the session will be recorded, so you can catch up later if you missed it.

What does render mean?

To render means to give or provide. The famous phrase

Render unto Caesar the things that are Caesar's, and unto God the things that are God's.

shows that to render something is to provide it in a way that is appropriate to both the given and the receiver.

Why multiple ways

We transform a LaTeX source file the better provide some person with information. This should be done in an appropriate way. It helps if the author wrote using Plain English (URL at foot). Some persons might prefer a translation into another language. And some persons might blind or have some other disability.

Part of the essence of accessibility is making reasonable adjustments when both required and possible. Another part is to plan ahead. Of the 67 million people in the UK, almost 2 million have some sight loss. Of these, around 360,000 are registered blind or partially sighted. (About 3 million people live in Wales, which has its owm Parliament.)

Literate programming

Along with developing TeX, Don Knuth created and implemented Literate Programming. This is a special case of rending in multiple ways. One reader is a human being. The other reader is a technical piece of computer software, name a programming language compiler.

LaTeX to HTML

The first release of HTML was in 1993. In 1996 Nikos Drakos wrote the program LaTeX2HTML, which translated LaTeX source files to HTML, as well as it could.

At that time, HTML was the new kid on the block. TeX was started in 1978, and was close to its present form by 1982. LaTeX was released in 1984. So when LaTeX2HTML was release, TeX was 14 years old and LaTeX 12 years.

Today, all are roughly the same age. TeX is 39, LaTeX 37 and LaTeX2HTML 28 years old. Over this time HTML has moved on. The major version HTML 4 is now 23, and HTML 5 is a mere child at 7 years old.

HTML and PDF

Today HTML is a the dominant media, along with streamed video and audio. However TeX-generated PDF is dominant in niches such as STEM research, particularly mathematics, physics and computer science.

Usually, HTML is the preferred media for resolving accesibility problems, and there's much effort to make web sites accessible to all. (However there's not enough effort to prevent redesign and change worsening accessibility.)

In it's time, LaTeX2HTML was the dominant translator. So far as I can tell, it has no clear successor. Instead, several groups have attempted to create better translators.

Python, LaTeX and RST

Originally the Python docs were authored in LaTeX, and a modified version of LaTeX2HTML was used to produce online pages. Around 2002 they switched to a designed-for-purpose markup language called RST. From this single source both LaTeX for typesetting and HTML for the web were produced.

In July 2016 the Linux kernel project decided to transition from DocBook based documentation to reStructuredText and the Sphinx toolchain.

TODO

Suggestions

URLs