Questions tagged [cweb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
189 views

Why is NULL represented as Lambda in CWEB?

When I use NULL in a CWEB document, it is typeset as Λ (\Lambda) in the cweave output. Indeed, I see \let\NULL=\Lambda in cwebmac.tex. Why is this the default? I was very puzzled when I first looked ...
Jay Lee's user avatar
  • 353
4 votes
0 answers
150 views

Does anything of this 1988 “TeX in CWEB” still exist?

In TUGboat 9:2 (1988), there is an interesting article titled “TeX adapted to CWEB”, written by David Kennedy of Micro Publishing Systems, Inc. [Literate programming historians should note that the ...
texdr.aft's user avatar
  • 950
4 votes
0 answers
154 views

Is there a specialized literate programming web-file editor that supports navigating in a Knuth's web file e.g. "tex.web"?

What do I mean by that? displaying starred and unstarred sections of cursor position displaying title of starred section displaying See also sections if exists displaying This code is used in ...
CarpeDiemKopi's user avatar
9 votes
1 answer
253 views

Where to find an interactive PDF or HTML version of the tex.web documentation?

I have problems with the memory management of an eTeX created with Jim Fowler's TeX's pascal to javascript compiler web2js as soon as I want to dump the eTeX format etex.src with more than only "...
CarpeDiemKopi's user avatar
6 votes
3 answers
278 views

CWEB, Plain TeX: how to switch from cmr8 to another font that supports foreign language characters?

I'm using egreg's code to use UTF-8 in Plain TeX so I can use Donald Knuth and Silvio Levy's CWEB. However, not every TeX font supports foreign language characters such as \"{y} or ç or ã. So this ...
Joep Awinita's user avatar
0 votes
0 answers
79 views

How can I install the cweb-latex package?

I do not find the package in MikTeX's package repository? (Nobody cares about it?) I tried a manual installation, but in the end I still missed a cweb.sty file which is just not included in the ...
Joep Awinita's user avatar
1 vote
1 answer
394 views

How to use the cweave and ctangle programs that come with MikTeX?

I'm interested in using CWEB with LaTeX on Windows. Today I discovered my MikTeX installation comes with two interesting programs, cweave and ctangle. Are they Knuth and Levy's CWEB? When I try to ...
Joep Awinita's user avatar
5 votes
2 answers
221 views

Question about output routine in cwebmac.tex

DVI file obtained from the following TeX file is good: \font\eightrm=cmr8 \let\mainfont=\tenrm \newtoks\gtitle % title of current major group \newif\iftitle \newif\ifpagesaved \newif\ifheader \def\...
Igor Liferenko's user avatar
5 votes
2 answers
330 views

Place two \epsfboxes vertically centered next to each other

The following problem has been brought to my attention by private communication: In the CWEB example program skew-ternary-calc.w (2015) by Don Knuth there are multiple occurrences of this construct: $...
Andreas Scherer's user avatar
4 votes
1 answer
515 views

How can I set page dimensions for a CWEB document?

I have a CWEB file and I want to change the page dimensions. I know how to do this in a plain TeX document, and it always worked fine for me. If I do the same (changing hsize, the offsets, etc.) in ...
Fernando's user avatar
  • 229
1 vote
1 answer
151 views

How creating XeLatex cweb document

Im using fedora. I have trouble with correct polish letter ąźżć etc. How write example in cweb? I prefer latex not plain tex
Marek Kaski's user avatar
2 votes
1 answer
449 views

How to make pdf outlines work correctly in LuaTeX?

cwebmac.tex version 3.67 --- July 2006 The following Lua code converts string from UTF-8 to UTF-16BE with tex.write, which prints all with catcode 12, except space, which is what is needed. We add ...
Igor Liferenko's user avatar
6 votes
2 answers
609 views

Multiline code listings in CWEB

Perhaps this is insane, but I would like to include code listings in a CWEB program, because the program is processing source code in another language. But how do I create multiline verbatim code ...
musarithmia's user avatar
  • 12.5k
3 votes
1 answer
996 views

eplain macros in CWEB

I would like to use eplain macros in a CWEB program, but eplain and cwebmac seem to conflict in their PDF support. Specifically, they both define \ifpdf. The cweave program turns the code below (mwe....
musarithmia's user avatar
  • 12.5k
5 votes
1 answer
1k views

Where is CWEB tutorial?

I'm looking into webruby or cweb to write the documentation of my project. Is there a plugin to eclipse or other gui system?
bardzo's user avatar
  • 315
6 votes
1 answer
578 views

How to mention the bitwise or operator in CWEB?

While writing a CWEB program I wanted to write a comment like this: @ If the option \.{-a} has been specified, the output files need to be opened in append-only mode. Our program should also create ...
FUZxxl's user avatar
  • 2,414