<div dir="ltr">Hi<div><br></div><div>Last week Nelson Beebe and Reinhard Kotucha told me of Jamie Vicary's very interesting post on technology for enabling "ultra-fast recompilation during editing for efficient authoring of latex documents". As a result I contacted Jamie off-list and had a very useful video conversation with him. Thank you Nelson, Reinhard and Jamie.</div><div><br></div><div>I've now subscribed to the pdftex list, so that I can contribute to the discussion. First a statement of interest. In the 1990s I realized that one could create editable dvi files and thus provide a basis for dual view (source and output) editing, as is provided by BaKoMa. And in the 2000s I implemented a wrapper that allowed TeX to be used as a stateless high-performance typesetting library (and built the mathtran web service for formulas on top of it).</div><div><br></div><div>Here are two TUGboat articles on this:</div><div>Editing .dvi Files, or Visual TeX: <a href="https://tug.org/TUGboat/tb17-3/tb52finv.pdf">https://tug.org/TUGboat/tb17-3/tb52finv.pdf</a></div><div>Instant Preview and the TeX daemon: <a href="https://tug.org/TUGboat/tb22-4/tb72fine.pdf">https://tug.org/TUGboat/tb22-4/tb72fine.pdf</a></div><div><br></div><div>By the way, if I recall correctly, in 1993 <a href="https://en.wikipedia.org/wiki/WordPerfect">https://en.wikipedia.org/wiki/WordPerfect</a> allowed users to switch between text-based display (and editing) and the WYSIWYG display (and editing). Jamie kindly showed me that BaKoMa has this feature.</div><div><br></div><div>A further statement of interest. I'm keen to contribute to</div><div>* building a community of interest around dual view and instant preview typesetting</div><div>* advancing what in the 1990s I called editable dvi files</div><div>* advancing TeX as a stateless daemon (or callable function)</div><div><br></div><div>To further add to my statement of interest, it is my deeply held view that the LaTeX internal architecture contains obstacles to the reliable creation of editable dvi files, and to the running of TeX as a stateless daemon. In support of this I refer to Frank Mittlebach's statement that the LaTeX project has embarked on a "multi-year journey to gradually modernize LaTeX, to resolve important problems in the production of tagged PDF.</div><div><br></div><div>LaTeX Tagged PDF (2020): <a href="https://www.latex-project.org/publications/2020-FMi-TUB-tb129mitt-tagpdf.pdf">https://www.latex-project.org/publications/2020-FMi-TUB-tb129mitt-tagpdf.pdf</a></div><div>Taming the beast - advances in paragraph tagging: ttps://<a href="http://www.latex-project.org/publications/indexbyyear/2021/">www.latex-project.org/publications/indexbyyear/2021/</a><br></div><div><br></div><div>My own experience and software such as BaKoMa, Open Office and Microsoft Word convince me that Jamie's goals can be achieved with TeX as the typesetting engine and LaTeX as the markup language can be achieved, provided constraints are imposed on the LaTeX input. This is in line with <a href="https://en.wikipedia.org/wiki/Garbage_in,_garbage_out">https://en.wikipedia.org/wiki/Garbage_in,_garbage_out</a>.</div><div><br></div><div>I have work in progress, at its very early stages, that suggests that LaTeX can be "spoofed" so that at least in some circumstances the output PDF from my "restricted LaTeX" can be identical to those produced by standard LaTeX. (The spoofing is this. Use restricted LaTeX to produce paragraph boxes identical to those produced by standard LaTeX. Now spoof standard LaTeX to apply its output routine to these boxes.)</div><div><br></div><div>I'm presenting here quite a grand and ambitious view, which would be beyond me even if I were many years younger. And I haven't even mentioned MathJax and the web browser as a platform. I think it is important to work modestly within a social and technical context that encourages sharing, cooperation and shared distant goals.</div><div><br></div><div>I repeat that I'm keen to contribute to</div>* building a community of interest around dual view and instant preview typesetting<br>* advancing what in the 1990s I called editable dvi files<br>* advancing TeX as a stateless daemon (or callable function)<div><br></div><div>This message is already a bit long, so I will conclude simply by strongly agreeing with Jamie's statement in his original post: I believe very strongly in the benefits of ultra-fast recompilation during editing for efficient authoring of latex documents.</div><div><br></div><div>Happy TeXing (and rapid recompilation)</div><div><br></div><div>Jonathan</div></div>