Thank you, Wolfgang.

With a little fine tuning I think I have what I need to generate an index that is compliant to the Chicago 17 and 18 requirements, at least for this book.

I did not realize that \placeregister[register1,register2...] merges the registers. That is not the case with \placenotes[anotes,bnotes...], which sets the notes serially.

If \placenotes[anotes,bnotes...] had an option to merged the registers, I might have a solution to the issue I raised at the end of August (Inserting text between end notes). Of course, this might also require fixing the bug I described when note numbers are suppressed (Problem with end note processing, also at the end of August).

--
Rik


On 2024-09-28 01:59, Wolfgang Schuster wrote:
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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to