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 -) 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 -----------------------------------------------------------------
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% {\@EA\@EA\@EA\@EA\@EA\@EA\@EA#1\@EA\@EA\@EA\@EA\@EA\@EA\@EA#2\@EA\@EA\@EA\@EA\@EA\@EA\@EA} 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
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 -----------------------------------------------------------------
participants (2)
-
Aditya Mahajan
-
Hans Hagen