{〈TeX〉}=}(1)
{〈TeX〉}{Lua言語}{LuaTeX}=}(3)
{〈N88-BASIC〉}{〈TeX〉}{〈LaTeX〉}{語体(ゴタイ)}{文字}=}(5)
{西暦1987年に発生した実体}{〈TeX〉}=}(2)
{八登(やと) 崇之(たかゆき)}{〈SATySFi〉}{多言語論譜}{〈TeX〉}=}(4)

{八登 崇之「TeXでもSATySFiでもコンパイル可能なファイルを作りたい話」。2022-01-16 K#D657/9D8F}

https://qiita.com/zr_tex8r/items/7ff1247ec862842185aa

(2022-12-26閲覧)

@require: pervasives
let s =``STARTTEX \newdimen\pwd \newdimen\pht \newdimen\fs
 \pwd=160bp \pht=90bp \fs=36bp
 \ifnum\ifx\pdfoutput\unDef0\else\pdfoutput\fi>0
  \pdfpagewidth=\pwd \pdfpageheight=\pht \let\os\relax
 \else \def\os{\special{papersize=\the\pwd,\the\pht}}\fi
 \shipout\vbox to\pht{\os \font\ff=cmr10 at\fs \vskip-1inplus1fil
  \moveleft1in\hbox to\pwd{\hfil\ff \TeX!!\hfil}\vskip1inplus1fil}
 \output{\setbox0\box255\deadcycles=0}\bye ENDTEX``
let-inline ctx \dm m = inline-nil
let (pwd, pht, fs) = (160pt, 90pt, 36pt)
let ctx = set-font-size fs (get-initial-context pwd (command \dm))
let ib = read-inline ctx {\SATySFi;} in
page-break (UserDefinedPaper (pwd, pht))
(fun _ -> (| text-origin = (0pt, 28pt); text-height = pht |))
(fun _ -> (| header-origin  = (0pt, 0pt); header-content = block-nil;
 footer-origin  = (0pt, 0pt); footer-content = block-nil |))
(line-break true true ctx (inline-fil ++ ib ++ inline-fil))
読み込み中...
=}
{〈TeX〉}{文芸的論組}{Pascal言語}{C言語}{troff}{roff}=}(6)

{!!!Harold Thimbleby. “Experiences of ‘Literate Programming’ Using Cweb (A Variant of Knuth’s WEB)” (1986). K#D657/AC77}

https://academic.oup.com/comjnl/article-pdf/29/3/201/1556530/290201.pdf

接触元

2022-12-23

CWeb

CwebというのはHarold Thimblebyによって開発されたもので、オリジナルのWEBにおけるPascalをC言語に、TeXをtroffに置き換えたものです。このシステムについては原作者による論文があり、それによると「UNIX向けのWEB」として開発したという経緯のようです。

Harold Thimbleby. “Experiences of ‘Literate Programming’ Using Cweb (A Variant of Knuth’s WEB)” (1986).

[...]

CWEB

紛らわしいことにCWEBという名前で別のシステムもあり、これはKnuth自身も参加して開発されたものです。

{〈TeX〉}

{}