TeX Hour Thur 26 Aug: Portable TeX Documents: 6:30 to 7:30pm London time

Jonathan Fine <[email protected]> Wed, 25 Aug 2021 17:45:13 +0100
Newsgroups gmane.comp.tex.latex.latex3
Message-ID <CALD=Yf_A7tbRXwJB3pWM4rG8Sbe7iGNmjM42ja5KbGDp4jKvFQ@mail.gmail.com>
--00000000000012e5b205ca64faaf
Content-Type: text/plain; charset="UTF-8"

Hi

Summary: I think Portable TeX Documents are a great idea. (Disclaimer: I'm
the inventor.) Come to tomorrow's TeX Hour to discuss.

Date and time: Thursday 26 August, 6.30 to 7.30pm UK time.
UK time now: https://time.is/UK.
Zoom URL:
https://us02web.zoom.us/j/78551255396?pwd=cHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09

OVERVIEW
Adobe released PostScript (PS) in 1982, and Portable Document Format (PDF)
in 1993. Many production and user problems in PS were fixed in PDF, which
remained a proprietary standard until 2008. PS and PDF were both based on
very sound technical and business decisions. PDF so to speak created a safe
and self-contained world for the distribution of typeset documents. PS and
PDF are both page description languages.

In 1982 Don Knuth created a safe and self-contained world for typesetting
that was rapidly adopted by mathematicians and physicists. It includes the
DVI page description language.  PDF arrived 11 years after TeX,  and Sergey
Lesenko's DVIPDF followed three years later.

TeX produces identical outputs, given identical inputs. PDF does something
similar. It also has a structured storage system for storing fonts,
graphics, multimedia objects and other resources. This allows PDF to
guarantee identical inputs to its page description language.

I firmly believe that Portable TeX Documents (PTD) will greatly benefit TeX
users and developers, just as PDF benefitted its users, developers and
Adobe. As a loyal and responsible member of the TeX community, I feel
obliged to share this opinion with the community, both promoting it and
fairly considering objections and alternatives.

INVITE
You're invited to tomorrow's TeX Hour: Portable TeX Documents (PTD).
Date and time: Thursday 26 August, 6.30 to 7.30pm UK time.
UK time now: https://time.is/UK.
Zoom URL:
https://us02web.zoom.us/j/78551255396?pwd=cHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09
Meeting ID: 785 5125 5396
Passcode: knuth

TECHNICAL TEASER
Here's a technical teaser. Each PTD has document and typesetting inputs,
and optionally typesetting outputs. Every tree of files checked into git
has a secure hash, which is unfeasible to forge. These secure hashes are
keys that characterize the PTD, including its inputs and outputs.

Besides version control, git is very efficient at turning a secure hash
into its tree of files, provided it has access to a repository that
contains all files in the tree. All font metric and style files that have
ever been uploaded to CTAN will occupy only a few gigabytes when stored in
git, and most TeX documents will require perhaps only 50MB of such files.

So downloading on the fly resources required from the typesetting of a TeX
source document is entirely practical. The source could be CTAN, or
somewhere else. This is because git is a peer-to-peer distributed file
system. Further, like a well set up website, git doesn't fetch resources
it's already got.

One hard part of implementing PTD, besides getting resources and overcoming
inertia, is specifying the exact form of the resource tree of a PTD. I hope
that once that part is in practice solved others will use it. This will
allow other parts of the standard to evolve. It took Abode 11 years to go
from PostScript to PDF.

LAST WEEK'S VIDEOS

Last week's TeX Hour was on XML to (La)TeX to PDF.  Digital Humanities met
Mathematics and Physics. The videos are available at
https://www.youtube.com/playlist?list=PLw1FZfIX1w7isswyOuPT7WxKWaxeWvQC2

Happy TeXing

Jonathan

--00000000000012e5b205ca64faaf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr"><div class=3D"=
gmail_quote"><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr"><=
div class=3D"gmail_quote"><div dir=3D"ltr"><div class=3D"gmail_quote"><div =
dir=3D"ltr">Hi<div><br></div><div>Summary: I think Portable TeX Documents a=
re a great idea. (Disclaimer: I&#39;m the inventor.) Come to tomorrow&#39;s=
 TeX Hour to discuss.</div><div><br></div><div>Date and time: Thursday 26 A=
ugust, 6.30 to 7.30pm UK time.<br>UK time now: <a href=3D"https://time.is/U=
K" target=3D"_blank">https://time.is/UK</a>.<br>Zoom URL: <a href=3D"https:=
//us02web.zoom.us/j/78551255396?pwd=3DcHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09" tar=
get=3D"_blank">https://us02web.zoom.us/j/78551255396?pwd=3DcHdJN0pTTXRlRCtS=
d1lCTHpuWmNIUT09</a><br><div><br></div><div>OVERVIEW</div><div>Adobe releas=
ed PostScript (PS) in 1982, and Portable Document Format (PDF) in 1993. Man=
y production and user problems in PS were fixed in PDF, which remained a pr=
oprietary standard until 2008. PS and PDF were both based on very sound tec=
hnical and business decisions. PDF so to speak created a safe and self-cont=
ained world for the distribution of typeset documents. PS and PDF are both =
page description languages.</div><div><br></div><div>In 1982 Don Knuth crea=
ted a safe and self-contained world for typesetting that was rapidly adopte=
d by mathematicians and physicists. It includes the DVI page description la=
nguage.=C2=A0 PDF arrived 11 years after=C2=A0TeX,=C2=A0 and Sergey Lesenko=
&#39;s DVIPDF followed three years later.</div><div><br></div><div>TeX prod=
uces identical outputs, given identical inputs. PDF does something similar.=
 It also has a structured storage system for storing fonts, graphics, multi=
media objects and other resources. This allows PDF to guarantee identical i=
nputs to its page description language.</div><div><br></div><div>I firmly b=
elieve that Portable TeX Documents (PTD) will greatly benefit TeX users and=
 developers, just as PDF benefitted its users, developers and Adobe. As a l=
oyal and responsible member of the TeX community, I feel obliged to share t=
his opinion with the community, both promoting it and fairly considering ob=
jections and alternatives.</div><div><br></div><div>INVITE</div><div>You&#3=
9;re invited to tomorrow&#39;s TeX Hour: Portable TeX Documents (PTD).<br>D=
ate and time: Thursday 26 August, 6.30 to 7.30pm UK time.<br>UK time now: <=
a href=3D"https://time.is/UK" target=3D"_blank">https://time.is/UK</a>.<br>=
Zoom URL: <a href=3D"https://us02web.zoom.us/j/78551255396?pwd=3DcHdJN0pTTX=
RlRCtSd1lCTHpuWmNIUT09" target=3D"_blank">https://us02web.zoom.us/j/7855125=
5396?pwd=3DcHdJN0pTTXRlRCtSd1lCTHpuWmNIUT09</a><br>Meeting ID: 785 5125 539=
6<br>Passcode: knuth<br></div><div><br></div><div>TECHNICAL TEASER</div><di=
v>Here&#39;s a technical teaser. Each PTD has document and typesetting inpu=
ts, and optionally typesetting outputs. Every tree of files checked into gi=
t has a secure hash, which is unfeasible to forge. These secure hashes are =
keys that characterize the PTD, including its inputs and outputs.</div><div=
><br></div><div>Besides version control, git is very efficient at turning a=
 secure hash into its tree of files, provided it has access to a repository=
 that contains all files in the tree. All font metric and style files that =
have ever been uploaded to CTAN will occupy only a few gigabytes when store=
d in git, and most TeX documents will require perhaps only 50MB of such fil=
es.</div><div><br></div><div>So downloading on the fly resources required f=
rom the typesetting of a TeX source document is entirely practical. The sou=
rce could be CTAN, or somewhere else. This is because git is a peer-to-peer=
 distributed file system. Further, like a well set up website, git doesn&#3=
9;t fetch resources it&#39;s already got.</div><div><br></div><div>One hard=
 part of implementing PTD, besides getting resources and overcoming inertia=
, is specifying the exact form of the resource tree of a PTD. I hope that o=
nce that part is in practice solved others will use it. This will allow oth=
er parts of the standard to evolve. It took Abode 11 years to go from PostS=
cript to PDF.</div><div><br></div><div>LAST WEEK&#39;S VIDEOS</div><div><br=
></div><div>Last=C2=A0week&#39;s=C2=A0TeX Hour was on XML to (La)TeX to PDF=
.=C2=A0 Digital Humanities met Mathematics and Physics. The videos are avai=
lable at=C2=A0</div><div><a href=3D"https://www.youtube.com/playlist?list=
=3DPLw1FZfIX1w7isswyOuPT7WxKWaxeWvQC2" target=3D"_blank">https://www.youtub=
e.com/playlist?list=3DPLw1FZfIX1w7isswyOuPT7WxKWaxeWvQC2</a><br></div><div>=
<br></div><div>Happy TeXing</div><div><br></div><div>Jonathan</div><div><br=
></div></div></div>
</div></div>
</div></div>
</div></div>
</div></div>
</div></div>

--00000000000012e5b205ca64faaf--