About 18 results
Open links in new tab
  1. Where is CWEB tutorial? - TeX - LaTeX Stack Exchange

    Dec 12, 2014 · Dr. Knuth's original WEB system was for Pascal, but he and Silvio Levy converted it to C, producing CWEB, which you can read about in the cwebman manual described above. Norman Ramsey developed the SPIDER system to allow the WEB concept to be ported theoretically to any combination of a programming language and formatting/display language.

  2. Why is NULL represented as Lambda in CWEB? - LaTeX Stack …

    Apr 12, 2021 · 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 at the symbol--I realized that it meant NULL only because of the context, not by the symbol itself.

  3. How to mention the bitwise or operator in CWEB? - TeX

    Nov 18, 2014 · 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 the output file, thus the flags with which we open the output file are either |O_RDONLY|O_CREAT|O_APPEND| or |O_RDONLY|O_CREAT| as explained above.

  4. CWEB, Plain TeX: how to switch from cmr8 to another font that …

    Feb 19, 2019 · 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 ã.

  5. Newest 'cweb' Questions - TeX - LaTeX Stack Exchange

    Mar 18, 2021 · 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 ...

  6. cweb - How to use the cweave and ctangle programs that come …

    Feb 19, 2019 · I'm interested in using CWEB with LaTeX on Windows. Today I discovered my MikTeX installation comes with two interesting programs, cweave and ctangle.

  7. How can I set page dimensions for a CWEB document?

    Jun 29, 2017 · This is documented in the CWEB manual (which you can open by invoking texdoc cweb which opens a DVI file, or read as PDF online), in Appendix C: How to use CWEB macros (page 25), point 4. The trick is that after setting any of \pagewidth (default 6.5in), \pageheight (default 8.7in) or \fullpageheight (default 9in), you need to say \setpage:

  8. How creating XeLatex cweb document - LaTeX Stack Exchange

    Jan 29, 2016 · CWEB is built on Plain TeX. It loads its own macro package (cwebmac.tex) in addition. If you want Unicode support you could try compiling with xetex (not xelatex), but I haven't tested this.

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

    Mar 18, 2021 · 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 CWEB being referred to is indeed Silvio Levy's 1987 CWEB (TUGboat 8:1) , not that of Guntermann and Schrod (TUGboat 7:3) .

  10. pdftex - eplain macros in CWEB - TeX - LaTeX Stack Exchange

    Apr 11, 2015 · 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.w) into a .tex file with \input cwebmac at the top.

Refresh