On 9/1/07, luigi scarso <luigi.scarso@gmail.com> wrote:
> On 8/31/07, luigi scarso <luigi.scarso@gmail.com> 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]{%
\@@filterpagepart[#1--#2--#3]}
\protect
\defCWEBmacro\contentsline#1#2#3#4#5%
  {\ifnum#2=0
     \smallbreak
   \fi
   \line{\consetup{#2}#1
   \rm
   \leaders\hbox to .5em{.\hfil}\hfil\
   {\localcolortrue\goto{#3}[web:#3]}%  below: \gotorealpage ? should be changed
   \hbox to3em{\localcolortrue\hss\gotorealpage{}{}{#5}{\fixtranslatednumber[#4]\presetgoto}}}}


\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  test0001a
Now compile well.
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@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