CTAN
Comprehensive TeX Archive Network

New on CTAN: we­b2w

Date: Au­gust 5, 2017 2:06:13 PM CEST
Martin Ruck­ert sub­mit­ted the we­b2w pack­age. Ver­sion: 0.4 Li­cense: gpl3+ Sum­mary de­scrip­tion: Con­vert­ing TeX from WEB to cweb An­nounce­ment text:
This pack­age con­tains a project to con­vert the TeX source code writ­ten by Don­ald E. Knuth as a WEB into a cweb. A WEB is a lit­er­ate pro­gram, that is a pro­gram which is writ­ten as a form of lit­er­a­ture and con­se­quently pub­lished as a book. Of course there is a way of con­vert­ing such a piece of lit­er­a­ture into an or­di­nary pro­gram: it con­tains Pas­cal code. Over the years, the sup­port for Pas­cal as a ma­jor pro­gram­ming lan­guage de­creased and Pas­cal was re­placed by C as the sys­tem pro­gram­ming lan­guage of choice. Con­se­quently, WEB was re­placed by cweb, lead­ing to the ob­vi­ous ques­tion: can we con­vert the TeX source code to cweb. And the an­swer is: yes and no. No, be­cause TeX is a rather large pro­gram, so it is very ex­pen­sive to trans­late it man­u­ally, and trans­lat­ing lit­er­a­ture by means of an au­to­matic pro­cess is not fea­si­ble ei­ther. Yes, be­cause the pro­gram con­tained in this project, a lit­er­ate pro­gram it­self, is specif­i­cally tai­lored to the TeX source code and achieves a good ap­prox­i­ma­tion to such a trans­la­tion.
The pack­age’s Cat­a­logue en­try can be viewed at https://ctan.org/pkg/we­b2w The pack­age’s files them­selves can be in­spected at http://mir­ror.ctan.org/web/we­b2w/
Thanks for the up­load. For the CTAN Team Pe­tra Rübe-Pugliese
We are sup­ported by the TeX users groups. Please join a users group; see https://www.tug.org/user­groups.html .

we­b2w – Con­vert­ing from WEB to cweb

This pack­age con­tains a project to con­vert the source code writ­ten by Don­ald E. Knuth as a WEB into a cweb.

A WEB is a lit­er­ate pro­gram, i.e. a pro­gram which is writ­ten as a form of lit­er­a­ture and con­se­quently pub­lished as a book. Of course there is a way of con­vert­ing such a piece of lit­er­a­ture into an or­di­nary pro­gram: it con­tains Pas­cal code.
Over the years, the sup­port for Pas­cal as a ma­jor pro­gram­ming lan­guage has de­creased and Pas­cal was re­placed by C as the sys­tem pro­gram­ming lan­guage of choice. Con­se­quently, WEB was re­placed by cweb, lead­ing to the ob­vi­ous ques­tion: can we con­vert the source code to cweb. And the an­swer is: yes and no.

No, be­cause is rather a large pro­gram, so trans­lat­ing it man­u­ally is very ex­pen­sive, and trans­lat­ing lit­er­a­ture by means of an au­to­matic pro­cess is not fea­si­ble ei­ther.

Yes, be­cause the pro­gram con­tained in this project, a lit­er­ate pro­gram it­self, is specif­i­cally tai­lored to the source code and achieves a good ap­prox­i­ma­tion to such a trans­la­tion.

Pack­agewe­b2w
Ver­sion0.4
Main­tainer Martin Ruck­ert

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author