![](https://secure.gravatar.com/avatar/fd43e439fba554d050621d705fc2d8cb.jpg?s=120&d=mm&r=g)
10 Sep
2007
10 Sep
'07
5:09 a.m.
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: \def\presentheadnumber% {\doifelse{\headnumber[section]}{}% {\headnumber[chapter]}% {\headnumber[section]}% } but always the else-part is executed. I also tried to use doifemptyelse, doifnumber etc.. but as soon i am using headnumber[...] only the else-part will be executed. Can anyone help me with this problem? Or am I going a complete wrong way? Thanks