Re: [NTG-context] Using context with cweave

2007-09-01 Thread John Luciani
On 8/31/07, luigi scarso [EMAIL PROTECTED] wrote: Ok, now we have a dirty screen version (better than nothing, isn't it ?) Thanks again. I tried both the print and the screen instructions and both compile without error. I will have to compare the print version output with the plain tex output

Re: [NTG-context] Using context with cweave

2007-08-31 Thread John Luciani
On 8/30/07, Aditya Mahajan [EMAIL PROTECTED] wrote: Did you try: http://wiki.contextgarden.net/CWEB (the page says cweb is broken, but you got partial success, so worth a try) Using Luigi's suggestion I did the following --- * In the tex file created by cweave replace the line \input

Re: [NTG-context] Using context with cweave

2007-08-31 Thread Aditya Mahajan
On Fri, 31 Aug 2007, John Luciani wrote: On 8/30/07, Aditya Mahajan [EMAIL PROTECTED] wrote: Did you try: http://wiki.contextgarden.net/CWEB (the page says cweb is broken, but you got partial success, so worth a try) Using Luigi's suggestion I did the following --- * In the tex file

Re: [NTG-context] Using context with cweave

2007-08-31 Thread John Luciani
On 8/31/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Fri, 31 Aug 2007, John Luciani wrote: On 8/30/07, Aditya Mahajan [EMAIL PROTECTED] wrote: Did you try: http://wiki.contextgarden.net/CWEB (the page says cweb is broken, but you got partial success, so worth a try) Using

Re: [NTG-context] Using context with cweave

2007-08-31 Thread Aditya Mahajan
On Fri, 31 Aug 2007, John Luciani wrote: That worked!!! Thanks. Can you update the wiki page on how to get a working cweb file using ConTeXt? Aditya ___ If your question is of interest to others as well, please add

Re: [NTG-context] Using context with cweave

2007-08-31 Thread Hans Hagen
Aditya Mahajan wrote: On Fri, 31 Aug 2007, John Luciani wrote: That worked!!! Thanks. Can you update the wiki page on how to get a working cweb file using ConTeXt? i didn't join this discussion but the complication of web code is that it defines all those one char commands and such it

Re: [NTG-context] Using context with cweave

2007-08-31 Thread John Luciani
On 8/31/07, Hans Hagen [EMAIL PROTECTED] wrote: Aditya Mahajan wrote: On Fri, 31 Aug 2007, John Luciani wrote: That worked!!! Thanks. Can you update the wiki page on how to get a working cweb file using ConTeXt? i didn't join this discussion but the complication of web code is that

Re: [NTG-context] Using context with cweave

2007-08-31 Thread Hans Hagen
John Luciani wrote: Since your here Is there any chance of getting the cweb file that was used to generate cweb-scr.pdf? I like the format and was hoping to do something similar with my programs. remind me in a few weeks .. to busy with other things now (new xml mechanisms) Hans

Re: [NTG-context] Using context with cweave

2007-08-31 Thread John Luciani
On 8/31/07, Hans Hagen [EMAIL PROTECTED] wrote: John Luciani wrote: Since your here Is there any chance of getting the cweb file that was used to generate cweb-scr.pdf? I like the format and was hoping to do something similar with my programs. remind me in a few weeks .. to busy

Re: [NTG-context] Using context with cweave

2007-08-31 Thread luigi scarso
Anothers step: 1) save you cweaved tex file as wc.tex 2) put this in test0001a.tex %% tex0001a \usemodule [cweb] \def\ignoreCWEBinput{\relax} \activateCWEB \setupinteraction[state=start] \starttext \title {Contents} \processCWEBcontents wc \page \title {Sections} \processCWEBsections wc \page

Re: [NTG-context] Using context with cweave

2007-08-31 Thread luigi scarso
On 8/31/07, luigi scarso [EMAIL PROTECTED] wrote: Anothers step: 1) save you cweaved tex file as wc.tex No, sorry. 1) Save you cweb file in wc.cweb. process as usual with $ cweave wc.cweb then comment \input cwebmac in wc.tex You should end with wc.cweb wc.idx wc.scn wc.tex wc.toc 2) put this

Re: [NTG-context] Using context with cweave

2007-08-31 Thread luigi scarso
On 9/1/07, luigi scarso [EMAIL PROTECTED] wrote: On 8/31/07, luigi scarso [EMAIL PROTECTED] wrote: Anothers step: 1).. 2) put this in test0001a.tex %% test0001a.tex \usemodule[cweb] \setupinteraction[state=start] \def\ignoreCWEBinput{\relax} \unprotect \def\fixtranslatednumber[#1--#2::#3]{%

Re: [NTG-context] Using context with cweave

2007-08-31 Thread luigi scarso
Anothers step: 1)... 2a) put this in test001b.tex \usemodule[cweb] \setupbodyfont [9pt] \setuppapersize [S6][S6] \setuplayout [backspace=72.5pt, leftmargin=50pt, leftmargindistance=12.5pt, rightmargin=0pt, rightedge=80pt, rightedgedistance=10pt, leftedge=0pt,

Re: [NTG-context] Using context with cweave

2007-08-30 Thread Aditya Mahajan
On Tue, 28 Aug 2007, John Luciani wrote: On 8/28/07, luigi scarso [EMAIL PROTECTED] wrote: for screen ??? This is a new topicct for me; to compile, I have had a quick look inside m-cweb but nothing more. Actually I have no idea if one can have a screen version with some macro like

Re: [NTG-context] Using context with cweave

2007-08-28 Thread John Luciani
On 8/27/07, luigi scarso [EMAIL PROTECTED] wrote: On 8/28/07, John Luciani [EMAIL PROTECTED] wrote: 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.

Re: [NTG-context] Using context with cweave

2007-08-28 Thread John Luciani
On 8/28/07, luigi scarso [EMAIL PROTECTED] wrote: for screen ??? This is a new topicct for me; to compile, I have had a quick look inside m-cweb but nothing more. Actually I have no idea if one can have a screen version with some macro like \activateCWEB, I'm sorry. I appreciate

Re: [NTG-context] Using context with cweave

2007-08-28 Thread luigi scarso
for screen ??? This is a new topicct for me; to compile, I have had a quick look inside m-cweb but nothing more. Actually I have no idea if one can have a screen version with some macro like \activateCWEB, I'm sorry. -- luigi

Re: [NTG-context] Using context with cweave

2007-08-28 Thread luigi scarso
The screen version example that I like is at http://www.pragma-ade.com/itdemos/internal/cweb/cweb-scr.pdf Yes, I like it too. I'm really interesting about WEB, so I would like to produce something analogous for WEB too. Do youn know leo ? http://webpages.charter.net/edreamleo/front.html --

Re: [NTG-context] Using context with cweave

2007-08-28 Thread John Luciani
On 8/28/07, luigi scarso [EMAIL PROTECTED] wrote: The screen version example that I like is at http://www.pragma-ade.com/itdemos/internal/cweb/cweb-scr.pdf Yes, I like it too. I'm really interesting about WEB, so I would like to produce something analogous for WEB too. Do youn know leo ?

[NTG-context] Using context with cweave

2007-08-27 Thread John Luciani
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

Re: [NTG-context] Using context with cweave

2007-08-27 Thread luigi scarso
On 8/28/07, John Luciani [EMAIL PROTECTED] wrote: 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