by queuebert · 3y ago · 0 comments
Specifically, TeX still works well today because of deliberate choices to not break things. He is well aware of modern techniques for many of the things that people complain about. He likes that he can still build every one of his documents today, with no concerns over things having "moved on to better ways."
Markdown was created in 2004. From the creator:
> ... the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.
Email goes back to 1965, though I suspect Markdown's influence stems from the more widely adopted email usage of the 1990s. I'm not sure if I'd call Markdown "modern". Quite popular though!
> Part of LaTeX's success was the absolutely beautiful documents it can make with nothing but a personal computer.
I'd say that was TeX's success, with LaTeX bolted on later to greatly improve TeX's extensibility. Keep in mind, there are a number of TeX-centric implementations beyond LaTeX. For example, my fork of NTS, called KeenType, is a pure Java version of TeX that can typeset beautifully and has at its core Knuth's original TeX files. I specifically avoided integrating LaTeX.
https://github.com/DaveJarvis/KeenType/tree/main/tex/src/mai...
My Markdown text editor, KeenWrite, uses KeenType to preview math in documents.
https://github.com/DaveJarvis/KeenWrite/blob/main/docs/scree...
When exporting to PDF, KeenWrite uses ConTeXt to typeset the final document. ConTeXt being another TeX-based system. This is the reason why KeenWrite only uses TeX: to give users the ability to choose what TeX flavour to use for typesetting the PDF.
In almost 4 decades of typesetting, I've had a chapter come out exactly right, requiring no adjustment exactly _once_ (fastest 40 minutes of my life) --- the usual approach is after:
- importing the text and all the images, paging everything with the defaults
one has to:
- check the last page --- is it reasonably full? is the page which it is ending on acceptable --- would it be better to gain or lose a page?
- from the beginning, check each image/table --- where do they fall relative to the first reference? What needs to move to what page? Make gross adjustments to make that happen where possible (resizing images/tables/tweaking placement, if the book design allows, change image/table type/appearance to adjust things
- see where one falls at the end of the chapter --- last page full enough? Would it be desirable to gain/lose a page?
- go back to the beginning, begin fine tuning each page/spread --- are there any paragraphs which don't look nice? (setting too tight/loose, rivers, stacks, &c., adjust as needed), do the bottom lines line up? adjust paragraph specs/image size to make them line up (keeping in mind if one wants to gain/lose a page) --- do this for each page/spread
- check the last page --- repeat any of the above adjustments as necessary --- sometimes, while one might want to gain a page, a tighter setting losing a page looks sufficiently better that it's worth un-doing all the tweaking an re-setting thus