I created the file hello.w containing the following lines ---

@** Hello.

@c
@<header files@>@;

int main(void) {
  printf("Hello World.\n");
  return(0);
}

@ Header files.
@<header files@>+=
#include <stdio.h>

I run the commands
    cweave hello.w
    texexec --pdf --modules m-cweb hello.tex

The text that is output in hello.pdf are cweb macros ---

\input cwebmac
\N{0}{1}Hello.
\Y\B\X2:header files\X\7
.
.
.


If I run pdftex hello.tex a correct pdf file is output.

Are there other modules that I need to load to use ConTeXt with a cweave
file? Is there a documentation file that I missed? I am using he ConTeXt that
came with texlive-2007.

If there is a cweave file that produces a nice layout like
cweb-scr.pdf available
for download please let me know.

Thanks.

(* jcl *)

-- 
http://www.luciani.org
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to