From: "luigi scarso" <luigi.scarso@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Using context with cweave
Date: Sat, 1 Sep 2007 01:01:06 +0200 [thread overview]
Message-ID: <fe8d59da0708311601h559398ees1bc7654df1e6ae25@mail.gmail.com> (raw)
In-Reply-To: <fe8d59da0708311530h53b18cadq8f6189b92a5a170a@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1372 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2168 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-08-31 23:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <608bfe540708271838h5e567c6cm1aa92a20a4d24536@mail.gmail.com>
[not found] ` <fe8d59da0708271941s7b8241c3p8b3e5b5aaaf17509@mail.gmail.com>
[not found] ` <608bfe540708280432m178923a0w80c1c7f0063eea94@mail.gmail.com>
[not found] ` <fe8d59da0708280503y3e41fe80x6cc135331c95d43a@mail.gmail.com>
[not found] ` <608bfe540708280520w6152e7d6x9171e60748a08269@mail.gmail.com>
2007-08-30 19:17 ` Aditya Mahajan
2007-08-31 12:16 ` John Luciani
2007-08-31 14:31 ` Aditya Mahajan
2007-08-31 17:17 ` John Luciani
2007-08-31 17:52 ` Aditya Mahajan
2007-08-31 19:07 ` Hans Hagen
2007-08-31 19:48 ` John Luciani
2007-08-31 20:10 ` Hans Hagen
2007-08-31 20:47 ` John Luciani
2007-08-31 19:50 ` John Luciani
2007-08-31 21:26 ` luigi scarso
2007-08-31 22:30 ` luigi scarso
2007-08-31 23:01 ` luigi scarso [this message]
2007-09-01 1:00 ` luigi scarso
2007-09-02 0:48 ` John Luciani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe8d59da0708311601h559398ees1bc7654df1e6ae25@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).