9 Mar
2017
9 Mar
'17
9:20 p.m.
On 3/9/2017 4:39 AM, Rik Kabel wrote:
ConTeXters,
What is the best way to get the current section number in a basic format (pt.ch.s.ss... as displayed in the log in structure sectioning entries) for display in a custom log entry (via \writestatus)? I have tried \fullheadnumber and such, but cannot find something appropriate.
\writestatus{!!!!!!}{\getfullstructurenumber{\thenamedheadlevel{subsection}}} -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------