Aditya Mahajan wrote:
Interesting. How do you come up with code like this :)
\def\csnameexpanded#1#2% {\@EA\@EA\@EA\@EA\@EA\@EA\@EA#1\@EA\@EA\@EA\@EA\@EA\@EA\@EA#2\@EA\@EA\@EA\@EA\@EA\@EA\@EA}
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 -----------------------------------------------------------------