On Mon, 20 Aug 2007, Hans Hagen wrote:
> Hi,
>
> There is now an experimental:
>
> % options :
> % dodo : listtext
>
> \setupsectionworld
> [chapter]
> [before after setups page text number label bookmark]
>
> \startsectionworld[chapter][text={Test}]
>
> \stopsectionworld
>
> Later I will adapt sectioning to working with variables (low level
> issue) but this is what I needed now -)
Interesting. How do you come up with code like this :)
\def\csnameexpanded#1#2%
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL
PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
Bookmark does not seem to work correctly. Also can the extra
grouping (using begingroup) in \startsectionworld be avoided?
\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection][chapter,section]
\def\test{Outside value}
\starttext
\startsectionworld[section][text={Test},bookmark={changed}]
\def\test{Inside value}
This is the first chapter
\stopsectionworld
The value of test is \test.
\stoptext
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________