
Am 12.06.2025 um 16:40 schrieb Pablo Rodriguez via ntg-context:
The other one is mainly a question about `compressmethod` behaviour in linennotes.
I thought that `compressmethod=separator` adds the command defined in `compressseparator` between the compressed notes, and `compressmethod=stopper` adds the command from `compressstoper` only after the compressed notes.
Could you confirm this? I’m afraid that both options add the command between and after the compressed notes (https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/VAHLDB6KVDJHU...).
You need something like this: \newconditional\NoNumber \NoNumber \conditionalfalse \newconditional\FirstEntry \FirstEntry\conditionaltrue \define[1]\LineNoteCommand {\doiftextelse{#1}{\NoNumber\conditionalfalse}{\NoNumber\conditionaltrue}% \ifconditional\NoNumber ,\space \else \ifconditional\FirstEntry \iftrialtypesetting\else \global\FirstEntry\conditionalfalse \fi \else \space \fi #1% \fi} \setuplinenote [paragraph=yes, compress=yes, compressseparator=, compressdistance=0pt] \setupnotation [linenote] [alternative=serried, headcommand=\LineNoteCommand] \starttext \startlinenumbering \dorecurse{25}{a\linenote{b}} \stoplinenumbering \stoptext Wolfgang