Aditya Mahajan wrote:

> 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]

well, i need to make sure that the original title ends up as is

> 
> Bookmark does not seem to work correctly. Also can the extra 
> grouping (using begingroup) in \startsectionworld be avoided?

hm, can you figure out why? anyhow, that will change because the call 
will move elsewhere (key is more there as a reminder)

grouping ... will be optional, but for now i need it; first i need to 
rewrite the core sectioning commands (make them complete var driven)

> \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

this is just an exploration -)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to