Rik Kabel schrieb am 28.09.2024 um 03:44:
Hello experts,
Is there a way to generate an entry without a page number in an register that has page numbers enabled? This would enabled /See also/ entries to be generated with something like
\setregisterentry[TopicIndex][keys:2=zzz,entries:1=punctuation,entries:2={{\em See also} marking}]%
I do see that there is an alternative key defined for the command, but no explanation of what the alternatives are and if any would help.
You have to set "ownnumber=yes" but I don't think the feature is supported at the moment (or I failed to set the correct values) but you can use the following method to get rid of the pagenumber. %%%% begin example \defineregister [TopicIndex] \defineregister [SeeTopicIndex] [TopicIndex] [pagecommand=\gobbleoneargument] \starttext \samplefile{lorem} \setregisterentry[TopicIndex][entries:1=punctuation]% \samplefile{lorem} \setregisterentry[SeeTopicIndex][entries:1=punctuation,entries:2={{\em See also} marking}]% \samplefile{lorem} \placeregister[TopicIndex,SeeTopicIndex][n=1] \stoptext %%%% end example Wolfgang