From: Peter Schorsch <tralalas@freenet.de>
To: ntg-context@ntg.nl
Subject: currentheadnumber / doif.. problem
Date: Mon, 10 Sep 2007 13:09:09 +0200 [thread overview]
Message-ID: <200709101309.09374.tralalas@freenet.de> (raw)
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
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2007-09-10 11:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-10 11:09 Peter Schorsch [this message]
2007-09-12 13:25 ` Aditya Mahajan
2007-09-25 19:42 ` Peter Schorsch
2007-09-26 0:09 ` Aditya Mahajan
2007-10-15 22:01 ` Peter Schorsch
2007-10-18 19:46 ` Peter Schorsch
[not found] <mailman.1.1189504801.15983.ntg-context@ntg.nl>
2007-09-12 8:09 ` Duncan Hothersall
-- strict thread matches above, loose matches on Subject: below --
2007-09-09 23:21 Peter Schorsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200709101309.09374.tralalas@freenet.de \
--to=tralalas@freenet.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).