Am 17.10.2013 um 21:00 schrieb Zenlima
You want a number for this heading but you disable it with “number=no”.
I want that the heading of paragraphHead[level 8] is without number, but I need the number[level 1-7] to use it in referencing (I need it for the pararef module).
1. chapter -> [1.0.0.0.0.0.0.0] \unknownfunction -> 1 1.1 section -> [1.1.0.0.0.0.0.0] \unknownfunction -> 1.1 paragraphHead -> [1.1.0.0.0.0.0.1] \unknownfunction -> 1.1 1.2. section -> [1.2.0.0.0.0.0.0] \unknownfunction -> 1.2
In three cases the needed function \unknownfunction similars \fullheadnumber but because in the cases of level-8 > 0 (like third line above) I need a function line \fullheadnumber[max-level-7]. My TeX knowledge is not enough to solve that, so I am happy for any help :)
\starttext \chapter{Chapter} “\placerawheadnumber[chapter]” \quad “\placerawheadnumber[section]” “\namedheadnumber{chapter}” \quad “\namedheadnumber{section}” \section{Section} “\placerawheadnumber[chapter]” \quad “\placerawheadnumber[section]” “\namedheadnumber{chapter}” \quad “\namedheadnumber{section}” \stoptext Wolfgang