Questions tagged [cweb]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
0answers
79 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 ...
9
votes
1answer
204 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 "...
5
votes
3answers
151 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 ...
1
vote
1answer
160 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 ...
0
votes
0answers
38 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 ...
5
votes
2answers
144 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\...
4
votes
2answers
354 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 ...
5
votes
2answers
149 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: $...
2
votes
1answer
328 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 ...
1
vote
1answer
114 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
5
votes
2answers
545 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 ...
3
votes
1answer
944 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....
4
votes
1answer
945 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?
5
votes
1answer
426 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 ...