[NTG-context] Using context with cweave

luigi scarso luigi.scarso at gmail.com
Sat Sep 1 00:30:22 CEST 2007


On 8/31/07, luigi scarso <luigi.scarso at gmail.com> 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 in test0001a.tex
%% tex0001a
\usemodule [cweb]
\def\ignoreCWEBinput{\relax}
\setupinteraction[state=start]
\starttext

\title {Contents} \processCWEBcontents wc \page
\title {Sections} \processCWEBsections wc \page
\title {Sources}  \processCWEBsource   wc \page
\title {Index}    \processCWEBindex    wc \page

\stoptext

3) texexec --pdf --batch test0001a

\def\ignoreCWEBinput{\relax}
avoid endless loop for now;
btw, it's no correct again (maybe wc.toc ?)
And again, no news for screen version.

-- 
luigi
----------------------------------------------------------------
If your question is of interest to others as well, please add an entry
to the Wiki!

maillist : ntg-context at ntg.nl / 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


More information about the ntg-context mailing list