ok,
I found the solution. In the documentation (cont-eni.pdf) at page 172
following is written:
For example:
\currentheadnumber : 8.3
\headnumber[chapter] : 8
\headnumber[section] : 8.3
but that is partly wrong. There should be standing (change example from 8.3 to
8.3.2):
For example:
Aditya wrote:
Can you create a minimum example to play with?
I attached the module t-pararef.tex and the example pararef-test.tex. The ref1
is still wrong.
When I replace \currentheadnumber in \paragraphMark with the before defined
\presentheadnumber context is saying that a «Missing
hm.. it still executes always the else-part of the doifelse-function
(Untested)
\def\presentheadnumber%
{\doifelse{\headnumber[section]}{0}%
^^
{\headnumber[chapter]}%
{\headnumber[section]}%
On Tue, 25 Sep 2007, Peter Schorsch wrote:
hm.. it still executes always the else-part of the doifelse-function
Can you create a minimum example to play with?
Aditya
___
If your question is of interest to
Hi Peter
Date: Mon, 10 Sep 2007 01:21:26 +0200
From: Peter Schorsch [EMAIL PROTECTED]
Subject: [NTG-context] currentheadnumber / doif.. problem
To: ntg-context@ntg.nl
Hi,
I tried to get the full present heading-number. If I am using currentnumber
I am getting back only the last part
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%
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]}%
Hi,
I tried to get the full present heading-number. If I am using currentnumber
I am getting back only the last part of the heading-number. So I tried do
implement a function like this:
\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter]}%