On Thu, Apr 24, 2008 at 2:55 PM, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > > I don't know how the section number (with/without previous number) is build > internally, but I hope there could be a hack, with ... > > setupsection[...][previousnumber=yes]% so that referencing gets the full > path > > ... but a section-design like "previousnumber=no", made with ... > > \setuphead[...][command=\PreviousNumberNo] > > > Could this be done?
I hope we get a better interface in the future. \def\CurrentChapterNumber#1#2% {\countervalue{@@sesection-2}:#2} \def\CurrentSectionNumber#1#2% {\countervalue{@@sesection-3}:#2} \setuphead[chapter][command=\CurrentChapterNumber] \setuphead[section][command=\CurrentSectionNumber] \starttext \chapter{text} \section[label]{text} \section{text} \section{text} \chapter{text} \in{Section}[label] \section{text} \section{text} \section{text} \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________