Generallatex implementation of Knuth's TeXbook

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
20230329
Posts: 2
Joined: Thu Mar 30, 2023 12:52 am

latex implementation of Knuth's TeXbook

Post by 20230329 »

Is there any latex implementation of Knuth's TeXbook format?

https://ctan.org/pkg/texbook?lang=en

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

latex implementation of Knuth's TeXbook

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

The book is copyrighted and the source is available for learning and understanding TeX. Even compiling it with TeX is not allowed as you can see in the source file at the beginning. So even with LaTeX it would not be allowed. "Translating" it to LaTeX would so just be a theoretical task, and possible it may not be allowed to use that copyrighted data for it. I cannot say something legally, it's just my understanding.

Stefan
LaTeX.org admin
20230329
Posts: 2
Joined: Thu Mar 30, 2023 12:52 am

latex implementation of Knuth's TeXbook

Post by 20230329 »

I did say "is there any latex implementation of Knuth's TeXbook format?" I try to use the format (not the content) for documenting the literate programming.

https://www.reddit.com/r/ProgrammingLan ... _it_wrong/
says "I love literate programming for tutorials and books." This is the kind of things that I look for.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

latex implementation of Knuth's TeXbook

Post by Stefan Kottwitz »

Well, the format is actually plain, if you mean the formatting macros you may have a look at https://ctan.net/systems/knuth/dist/lib/manmac.tex which contains the macros for the book, which could be translated. I did not see anyone making LaTeX macros for it. The whole directory https://ctan.net/systems/knuth/ or https://ctan.net/systems/knuth/dist/ may be interesting.

Stefan
LaTeX.org admin
Post Reply