On Mon, 10 Sep 2007, Peter Schorsch wrote: > Hi, > > I tried to get the full present heading-number. If I am using currentnumber > the result is only the last part of the heading-number. So I tried do > implement a function like this:
(Untested) > \def\presentheadnumber% > {\doifelse{\headnumber[section]}{0}% ^^^^^^ > {\headnumber[chapter]}% > {\headnumber[section]}% > } > Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________