README This file is part of web2w, Version 0.4 Copyright 2017 Martin Ruckert web2w is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. web2w is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with web2w. If not, see <http://www.gnu.org/licenses/>. Martin Ruckert, Hochschule Muenchen, Lothstrasse 64, 80336 Muenchen You find the license in the file COPYING.TXT in the same directory where you find this README file. The file web2w.pdf is protected by copyright. You may, however, read the file in its electronic form and may print a copy for your personal use. You may not use the file for any commercial purpose. The content of the file is available as a book (ISBN 1-548-58234-4) from CreateSpace: https://www.createspace.com/7315198 If you need it printed, consider ordering the book. HOW TO USE web2w For a description on how to use web2w, see the file web2w.pdf (or the printed book) in Chapter 11: Generating TeX, Running TeX, and Passing the Trip Test. ---------------------------------------------- Martin Ruckert Department of Mathematics and Computer Science Munich University of Applied Sciences Lothstrasse 64 80335 Munich GERMANY
Download the contents of this package in one zip archive (1.5M).
web2w – Converting TeX from WEB to cweb
This package contains a project to convert the TeX source code written by Donald E. Knuth as a WEB into a cweb.
A WEB is a literate program, i.e. a program which is written
as a form of literature and consequently published as a book.
Of course there is a way of converting such a piece of literature
into an ordinary program: it contains Pascal code.
Over the years, the support for Pascal as a major programming language has decreased and Pascal was replaced by C as the system programming language of choice. Consequently, WEB was replaced by cweb, leading to the obvious question: can we convert the TeX source code to cweb. And the answer is: yes and no.
No, because TeX is rather a large program, so translating it manually is very expensive, and translating literature by means of an automatic process is not feasible either.
Yes, because the program contained in this project, a literate program itself, is specifically tailored to the TeX source code and achieves a good approximation to such a translation.
|Licenses||GNU General Public License, version 3 or newer|